• Resolved page52

    (@page52)


    Hi there,

    Is there a way to get the permalink to include the ‘location’ field in it automatically so the URL is something like …/jobs/hr-manager-new-york/

    Thank you in advance.

Viewing 8 replies - 1 through 8 (of 8 total)
  • By default, the permalink slug is /job/[company]-[location]-[type]-[job title]; if it’s not showing up that way, I wonder if a theme (or another plugin) that you are using is changing it. What theme are you using?

    This documentation on changing the permalink slugs also may be helpful: wpjobmanager.com/document/tutorial-changing-the-job-slugpermalink

    Thread Starter page52

    (@page52)

    Hi @hastibe,

    Thank you for your reply. I see the link mentions ”?(Note: these are only added when the job is posted via the submit job form on the frontend).” whereas we are adding our jobs via /wp-admin.

    I suppose I could use the code snippet for “Appending the Job ID to the permalink slug” which is also helpful but I can’t see how to add the location to the permalink when adding jobs via the backend and not the submit job form?

    I’d ideally like the jobs to have title, location and ID in the permalink.

    Thanks in advance!

    Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hey @page52,

    What you want to do is not possible when adding the job listings via wp-admin. Backend and front end are different in the way they are built, and some functionalities are just not available in the backend.

    This is also why we highly recommend our users to work on the frontend as much as possible. We know that sometimes operating in the wp-admin seems the obvious way to go!

    Thread Starter page52

    (@page52)

    Thank you so much for clarifying. I’m using the backend because I’m using ACF custom fields to appear on my job listing layout.

    Plugin Support Deric (a11n)

    (@dericleeyy)

    @page52 ,

    To add additional custom fields to WP Job Manager, I’ll recommend using a WP Job Manager specific plugin like https://plugins.smyl.es/wp-job-manager-field-editor/ or https://www.ads-software.com/plugins/custom-field-for-wp-job-manager/.

    This way you can continue working from the front end. Alternately, you can also add the custom fields to the front end using this example:

    https://wpjobmanager.com/document/tutorial-adding-a-salary-field-for-jobs/

    Thread Starter page52

    (@page52)

    Great! Thank you so much.

    I have the same issue and I already read your article which is not much clear as I don’t know coding. However, my problem is that it is my job category slug https://mappians.com/listing_category/resort and I want to remove the listing_category base permanently. it is my region slug https://mappians.com/listing_region/maldives/ and I want to remove the base permanently like mappians.com/maldives

    If base remove is not possible how can I change it from listing_category to only category but it may conflict with my blogs as it is also have category slug. However how can I change it in another name. in my region category I just want to use “map” base.

    I tried changing from permalink optional section but although I changed named it is still same name.

    Plugin Contributor Stef (a11n)

    (@erania-pinnera)

    Hey @mappians,

    To give you a full context on how WP Job Manager handles these, by default, this will be: site_url/job/job-title, and you can change what is used for the base to something other than “job” or anything else if you’d like. The Job Category and Job type bases are meant mostly for archive pages for jobs of specific categories and types.

    For what you are wanting to show for the permalink slug, you would need to use the custom code steps, and you would need to modify it further to exclude the job category.

    You should look at this documentation which can give you an idea of the snippets you can use and modify to remove the category slug. We can’t provide support for custom code, but that tutorial should get you going in the right path.

    Hope that helps!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Job permalink to include ‘location’’ is closed to new replies.