View functions.php
<?php
add_shortcode( 'resumes_featured_only', 'smyles_featured_only_resumes' );
function smyles_featured_only_resumes( $atts ){
// Priority must be higher than 999999 (used by packages addon)
// Add filter to return true to allow outputting browse resumes
add_filter( 'resume_manager_user_can_browse_resumes', '__return_true', 9999999 );
// Call shortcode to output featured resumes
View functions.php
<?php
add_filter( 'job_manager_packages_resume_user_can_view', 'smyles_bypass_pkg_view_featured_resumes', 99 );
function smyles_bypass_pkg_view_featured_resumes( $user_can ){
$is_featured = get_post_meta( get_the_ID(), '_featured', true );
if( ! empty( $is_featured ) ){
return true;
}
View functions.php
<?php
// ^ there should only be one of these at the top of your child theme's functions.php file
// Filter below means the META KEY for the field is "job_staff_gender"
// Syntax for filter is field_editor_output_as_value_METAKEY (replacing METAKEY with the actual meta key)
add_filter( 'field_editor_output_as_value_job_staff_gender', 'smyles_job_staff_output_gender_image', 10, 4 );
function smyles_job_staff_output_gender_image( $field_value, $meta_key, $listing_id, $args ) {
switch ( $field_value ) {
View functions.php
<?php
// ^ There should ONLY be one of these at the top of child theme's functions.php file
add_filter( 'job_manager_emails_email_should_send', 'smyles_wpjm_emails_only_send_for_anon_users', 10, 4 );
// You MUST configure the "template name" under the advanced settings area, and set it to "job_email_example_send_anon_only",
// or whatever custom email template name you decide to use. Each template must have a unique name
function smyles_wpjm_emails_only_send_for_anon_users( $should_send, $template, $listing_id, $that ) {
if ( $template && $template->template_name && $template->template_name === 'job_email_example_send_anon_only' ) {
View style.css
/* https://ionicons.com/v2/cheatsheet.html */
#jmfe-custom-company_instagram:before {
content: "\f350";
}
View fontconvert.c
/*
TrueType to Adafruit_GFX font converter. Derived from Peter Jakobs'
Adafruit_ftGFX fork & makefont tool, and Paul Kourany's Adafruit_mfGFX.
NOT AN ARDUINO SKETCH. This is a command-line tool for preprocessing
fonts to be used with the Adafruit_GFX Arduino library.
For UNIX-like systems. Outputs to stdout; redirect to header file, e.g.:
./fontconvert ~/Library/Fonts/FreeSans.ttf 18 > FreeSans18pt7b.h
View functions.php
<?php
add_action( 'job_feed_item', 'smyles_add_field_to_job_feed_item_rss' );
function smyles_add_field_to_job_feed_item_rss( $listing_id ){
// We set arg for `output_as` to value to prevent returning HTML markup
$company_logo2 = get_job_field( 'company_logo2', $listing_id, array( 'output_as' => 'value' ) );
if ( $company_logo2 ) {
View functions.php
<?php
add_filter( 'job_application_form_fields', 'smyles_custom_add_range_app_field' );
function smyles_custom_add_range_app_field( $fields ) {
$fields['some_range_field'] = array(
'label' => __( 'Range Example' ),
'description' => '',
'type' => 'range',
View functions.php
<?php
add_action( 'user_register', 'give_wpjmp_vis_job_user_package_on_registration' );
/**
* Give user custom Job Visibility Package on registration
*
*
* @since @@version
*
* @param $user_id
View functions.php
<?php
add_action( 'user_register', 'give_wpjmp_vis_job_user_package_on_registration' );
add_action( 'user_register', 'give_wpjmp_vis_resume_user_package_on_registration' );
/**
* Give user custom Job Visibility Package on registration
*
*
* @since @@version
*