WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Job Manager] Changing the default jobs directory?

[Resolved] [Plugin: Job Manager] Changing the default jobs directory?

  • Hello really love this plugin and I’m really wanting to use it but I’m having trouble with changing the Jobman default directory. The default url in the Job Manager is as follows for me:

    http://website.com/~client/wordpress/ [AddYourPageName]

    When I first installed it defaulted to:

    http://website.com/~client/wordpress/ [jobs]

    I’ve created my own page where I want to display the jobman plugin and it’s a subdirectory to “About Us” page.

    http://website.com/~client/wordpress/about-us/career-opportunities

    I had this working by entering [about-us/career-opportunities] in the text box of the URL Path. I recently upgraded the plugin and that method stopped working for me. Now it keeps removing the slash between the two directories when I click the update settings button. I also tried opening and editing jobman-conf.php. I was editing the code between lines 105 & 113. The default code looked like:

    `$root = get_page($options[‘main_page’]);
    if($structure == ”) {
    $url_before = get_option(‘home’) . ‘/?p=’ . $root->ID;
    $url_after = ”;
    }
    else {
    $url_before = get_option(‘home’) . ‘/’;
    $url_after = ‘/’;
    }`

    I changed it to:

    `$root = get_page($options[‘main_page’]);
    if($structure == ”) {
    $url_before = get_option(‘home’) . ‘/?p=’ . $root->ID;
    $url_after = ”;
    }
    else {
    $url_before = get_option(‘home’) . ‘/about-us/’;
    $url_after = ‘/’;
    }`

    This updates the URL Path in the Job Manager settings so it reads:

    http://website.com/~client/wordpress/about-us/ [career-opportunities]

    but it still won’t work when I go to that page nothing is there? Feeling kinda lost with it 🙁 I would appreciate any help I can get with this issue. Thanks Again!

    http://wordpress.org/extend/plugins/job-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
  • This should work again if you install the latest version.

    You’ll now see a ‘Jobs’ page in your list of Pages. this is the root page for Job Manager, you can manipulate it as you would any other page.

    So, to do what you want, you should:
    – Change the title from ‘Jobs’ to ‘Career Opportunities’.
    – Change the slug from ‘jobs’ to ‘career-opportunities’.
    – Change the Parent from ‘Main Page’ to ‘About Us’.

    Please let me know how this goes, or if you run into any further issues.

    Thanks a lot pento that solved my issue! I’ve got it up and running now WOO HOO!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: Job Manager] Changing the default jobs directory?’ is closed to new replies.
Skip to toolbar