WordPress.org

Forums

WP Job Manager
[resolved] single.php (6 posts)

  1. Rob7
    Member
    Posted 11 months ago #

    Hi, I am wanting to modify and display sidebar on the single job listing page.

    I thought I might first override the content-single-job_listing template. However I understand that somehow uses my themes single.php template to display it.

    I therefore think I want to modify single.php to basically hardcode in the sidebar. (i don't think my theme plays too nicely with the plugin - the theme has its own page composer and custom settings)

    single.php is currently responsible for my blog. Is there a way to get the plugin to use say single-jobs.php instead of using single.php?

    Thank you, nice plugin.

    https://wordpress.org/plugins/wp-job-manager/

  2. Mike Jolley
    Member
    Plugin Author

    Posted 11 months ago #

    You can create a single-job_listing.php to target only job posts.

  3. Rob7
    Member
    Posted 11 months ago #

    Hi, thanks for quick response. Its the sidebar I need to change on the single job listing page. How do I do that without changing single.php (as single.php is used for my blog). Thanks.

  4. Mike Jolley
    Member
    Plugin Author

    Posted 11 months ago #

    Like I said, create and modify a single-job_listing.php instead. You can copy the contents of single.php to single-job_listing.php and remove anything you want.

  5. Rob7
    Member
    Posted 11 months ago #

    Great thanks, i will try that.

  6. Rob7
    Member
    Posted 11 months ago #

    Worked great thanks. :)

Reply

You must log in to post.

About this Plugin

  • WP Job Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic