• hi Mark

    If I run a job test from Broadbean – the details are being published which is fine. But if I view the CATEGORY [post archives view] in wordpress only the Job Title and Description are being shown — how can the JOB INFORMATION be shown on the category archive page also please

    it is the info contained within class=”wpbb-job-data__wrapper” that I want to show on teh archive page along with the Title and Job Description

    thanks

    Philip

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mark Wilkinson

    (@wpmarkuk)

    In your themes template files for the jobs post type archive and also the taxonomy archives you would need to use the wpbb_get_job_meta_data() function to output that information.

    https://github.com/highrisedigital/wpbroadbean/blob/934bfdadb5c4b82280c4870a67524eaf64811ebf/inc/functions.php#L515

    Thread Starter philmurray

    (@philmurray)

    Many thanks Mark – i will try that

    and in a similar way if I wanted the DESCRIPTION removed from the Archive Page — so the Archive just showed TITLE and JOB INFORMATION — how would I edit the template file?

    Do i just comment out a specific function?

    regards

    Philip

    Thread Starter philmurray

    (@philmurray)

    hi Mark

    my theme has a functions.php file — can the wpbb_get_job_meta_data() function be called in there instead?

    regards

    Philip

    Thread Starter philmurray

    (@philmurray)

    hi Mark

    I am using genesis framework and a child theme so I can make a call to any function in my functions.php for the theme;

    So this code below [placed in my functions.php] will hopefully work to output the JOB INFO below the DESCRIPTION on archive pages.

    However I need to add the Template Tag – your_template_tag(); What is the template tag I should use?
    —————-
    add_action( ‘genesis_after_entry_content’, ‘wpbb_get_job_meta_data’ );
    function wpbb_get_job_meta_data() {
    if( is_archive() ) {
    your_template_tag();
    }
    }
    —————-

    thanks

    Philip

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Display Job Info on Archive Page’ is closed to new replies.