Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    1. No, its not a table.
    2. Create a single-job_listing.php file in the theme https://wpjobmanager.com/document/dealing-troublesome-themes/#section-2
    3. WordPress handles unique urls. They are generated from position title and location. If you need to customise this: https://wpjobmanager.com/document/tutorial-changing-the-job-slugpermalink/
    4. Enabled in the settings.

    Thread Starter chrisbourn

    (@chrisbourn)

    Fast reply, cheers, I will take a look
    ??

    Thread Starter chrisbourn

    (@chrisbourn)

    Hi Mike,

    Ive created the single-job_listing.php file in the theme folder,
    I toonk the content form th single.php which was

    <?php
    // Redirect link format if custom link defined
    if ( get_post_meta( get_the_ID(), ‘wpex_post_link’, true ) ) : ?>
    <?php wp_redirect( wpex_permalink(), 301 ); ?>
    <?php endif; ?>

    <?php get_header(); ?>

    <?php while ( have_posts() ) : the_post(); ?>

    <?php if ( ‘post’ == get_post_type() ) : ?>

    <?php
    // Standard post template file
    get_template_part( ‘single’, ‘standard’ ); ?>

    <?php else : ?>

    <?php
    // 3rd party post type template
    get_template_part( ‘single’, ‘other’ ); ?>

    <?php endif; ?>

    <?php endwhile; ?>

    <?php get_footer(); ?>

    From the link you sent, do I need to do anything with example valid loop

    <?php while ( have_posts() ) : the_post(); ?>

    <h1 class=”entry-title”><?php the_title(); ?></h1>

    <div class=”entry-content”>
    <?php the_content(); ?>
    </div><!– .entry-content –>

    <?php endwhile; // end of the loop. ?>

    Sorry but I dont know anything about php.

    Thanks

    Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    Now you’ve made that template file you can adjust the markup etc. If you wanted the job to look like ‘pages’ you should have copied the content from page.php instead if it exists.

    The theme author or a dev would be the best person to assist with customising this if you need something custom. Template files vary per theme.

    Thread Starter chrisbourn

    (@chrisbourn)

    Hi Mike,

    Only just had chance to come back to this, being a novice, I’ve confused my self ?

    1) I couldn’t remember where the file was originally taken from and put.

    Ive found content-single-job_listing.php in the wp-job-manager/templates folder

    I cant find the original page.php
    (Not sure if there was a similar link some where where you explained where these files where ?)

    thanks

    Thread Starter chrisbourn

    (@chrisbourn)

    ok, think Ive found it now, sorry

    Thread Starter chrisbourn

    (@chrisbourn)

    Hi Mike,

    Going back to point 3,

    creating unique url for job vacancies.

    How would I add the job id (and where is the id number generated?)
    If I wanted also Job title + location + plus job id in the url, how would I do this.

    Many thanks

    Chris

    Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    Not possible with that snippet because the ID is not generated until after Job creation. You can add it to the permalink however with https://wpjobmanager.com/document/tutorial-changing-the-job-slugpermalink/#section-4

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Setting up Jobs, categories and Results page’ is closed to new replies.