WordPress.org

Forums

WP Job Manager
[resolved] Customizing Slug (3 posts)

  1. fregan
    Member
    Posted 11 months ago #

    Hello,
    I am trying to customize the Slug for jobs. I am following the tutorial here: https://wpjobmanager.com/document/tutorial-changing-the-job-slugpermalink/

    I am not really understanding the domain parameter you have provided in the very first example "Changing the permalink base using filters", you give:

    $args['rewrite']['slug'] = _x( 'careers', 'Job permalink - resave permalinks after changing this', 'job_manager' );

    What is the significance of the 'job_manager' domain value??

    https://wordpress.org/plugins/wp-job-manager/

  2. Mike Jolley
    Member
    Plugin Author

    Posted 11 months ago #

    Thats simply for localisation - it isn't mandatory, nor does it affect the code.

  3. fregan
    Member
    Posted 11 months ago #

    Alright, thanks!

Reply

You must log in to post.

About this Plugin

  • WP Job Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic