• Resolved numeractive

    (@numeractive)


    Hello there,

    Can you please tell me how to edit the template of the page (single presentation of a job) in order to display a “return to the job list” link ?

    THank you so much in advance
    Florian

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ThemeHigh

    (@themehigh)

    Please add the below code snippet in your functions.php file to achieve this requirement.

    add_filter('the_content', 'add_return_to_jobs_link', 99);
    function add_return_to_jobs_link($content){
        if(is_singular('thjm_jobs')){
            $custom_content = '<button onClick="javascript:history.go(-1)">Back to job listing</button>';
            $content = $content.$custom_content;
        }
        return $content;
    }

    We hope this will help.

    Thank you!

    • This reply was modified 2 years, 9 months ago by ThemeHigh.
    Thread Starter numeractive

    (@numeractive)

    THank you it worked as a charm ??

    Plugin Author ThemeHigh

    (@themehigh)

    Great ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to modify the single job template’ is closed to new replies.