wp job board

#58155
Viewing 7 replies - 1 through 7 (of 7 total)
  • Alberto
    Rank Math business

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Are you using a plugin for the job posts? You can show the job location if you know its metafield name (if you don’t know, you could ask the developers about it).

    Once you know the metafield name, you can just put in the SEO Title %customterm(the_metafield_name)% and it should display your job location.

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Thanks Alberto

    It is for https://wpjobmanager.com/ — I cant find anywhere their metadata info.. Maybe you guys came across it before? I have emailed their developers..

    Thanks,

    Alberto
    Rank Math business

    Hello,

    We could try but for that we need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    is there any way I can find it out by myself? Thanks

    Alberto
    Rank Math business

    Hello,

    You could try using https://wordpress.org/plugins/jsm-show-post-meta/ and looking for the metadata added by that plugin.

    Looking forward to help you.

    OK found meta tags (https://ibb.co/yhRdySs).. now not sure if I am updating it in the right place.. because even if I put hello world and/or %customterm(geolocation_city)% in SEO Titles and META – it still does not work.

    something i need to turn on somewhere? thanks!

    https://ibb.co/TMMJxjp

    Hello,

    Thank you for contacting Rank Math today.

    That should be the correct usage.

    You can also use the plugin filter code to add new variables. Please try customizing and adding below code in your theme’s functions.php file:

    add_action( 'rank_math/vars/register_extra_replacements', function() {
    
    	RankMath\Helper::register_var_replacement(
    			'job_location',
    			'get_location',
    			array(
    				'name'    => esc_html__( 'Job Locations.', 'rank-math' ),
    				'desc'    => esc_html__( 'Job Location of the current job', 'rank-math' ),
    				'example' => get_job_location(),
    			)
    		);
    });
    
    function get_job_location() {
    	$post_id = isset( $_GET['post'] ) ? $_GET['post'] : get_queried_object_id();
    	if ( ! $post_id && ( ! is_singular( 'job_listing' ) ) ) {
    		return null;
    	}
    
    	$regions = wp_get_post_terms( $post_id, 'job_listing_location', array( 'fields' => 'names', 'number' => 1 ) );
    	if ( empty( $locations ) ) {
    		return null;
    	}
    
    	return $locations[0];
    }

    After adding this filter, you will see a new placeholder %job_location% in the list.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)

The ticket ‘wp job board’ is closed to new replies.