• Resolved enforcer99

    (@enforcer99)


    On our job board, if a person clicks on a job instance, there is no BACK button to take them back to the job list. While it is easy enough to click the BACK button in the browser, we get multiple complaints from users that expect a back button to be on this page. I checked the Settings and I don’t see an option to add a BACK button. Is there an easy way to achieve this I have overlooked?

Viewing 4 replies - 1 through 4 (of 4 total)
  • @enforcer99

    add this to the content-single-job-job_listing.php

    <div><p><button onclick="history.go(-1);">Back</button></p></div>

    You need to find out where you want to plcae the button, and maybe some CSS to make it fit to your design

    @braehler — this is super helpful! Thanks so much for sharing this.

    Where did you find it best to add in your content-single-job-job_listing.php template?

    Did you put it between the

    <div class="single_job_listing">

    …and the…

    <?php if ( get_option( 'job_manager_hide_expired_content', 1 ) && 'expired' === $post->post_status ) : ?>

    lines?

    Thread Starter enforcer99

    (@enforcer99)

    Perfect – worked like a champ – thanks. However, I’m assuming if this plugin/php page gets updated at some point in the future my change may be overwritten. I’ll keep this handy in case that occurs.

    @hastibe
    Depends where you want to have it. One option is to put it into line 42 (original template)
    Just try where it fits for you ??

    @enforcer99

    Just keepp your template upgrade safe, uploading the template to this direction of your server:
    your_child_theme/job_manager/content-single-job_listing.php

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Back Button?’ is closed to new replies.