• Resolved jobboarduser

    (@jobboarduser)


    We have edited the templates for the job listings page without a problem. We would also like to edit the template page for the actual job listing page as well as the page found at the “custom post type slug” defined in General Settings.

    For instance, in the Simple Job Board demo, we’d want to edit the template for this page and for this page, which is set using the plugin General Settings and seems to be separate from the job listings page.

    However, editing “single-jobpost.php” does not change anything when published.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author PressTigers

    (@presstigers)

    Hello @jobboarduser,

    For editing the Job Archive page, please use the following templates:
    simple-job-board/templates/archive-jobpost.php

    For editing the single-jobpost.php, there are few sub-templates that reside in the single-jobpost directory. Please explore further and see which template you want to modify in the following directory.
    simple-job-board/templates/single-jobpost

    Thank you for reaching to us. Let us know if you need further assistance.

    Regards,

    Thread Starter jobboarduser

    (@jobboarduser)

    Hello @presstigers :

    Would you be able to tell me which template file is calling the header for single job post pages (as well as the secondary job listings archive page found at the “custom post slug” url (www.myjoblistingsite.com/customPostUrl))?

    I should have mentioned in the original post that I have explored all the files in the simple-job-board/templates/single-jobpost but ultimately could not determine where the header is being called. As I mentioned I have tried removing get_header() from single-post.php, though it does not work, and the header still shows.

    Can you please tell me which template file(s) are loading the header and footer for single-jobpost pages?

    Plugin Author PressTigers

    (@presstigers)

    Hello @jobboarduser,

    The header is actually part of your theme and we are just adding through the get_header() function in the simple-job-board/templates/single-jobpost.php & simple-job-board/templates/archive-jobpost.php files.

    It also depended on the settings under Job Board>Settings> Appearance Tab & check layout settings.
    1) SJB Layout
    If the above option is selected then the header calling files are simple-job-board/templates/single-jobpost.php & simple-job-board/templates/archive-jobpost.php
    2) Theme Layout
    If this option is selected then it is exactly following the layout of your theme and we are just binding the content of the Job Board with the_content(). You can see the code in the following file:
    simple-job-board/includes/class-simple-job-board-post-type-jobpost.php

    Thank you for writing to us.

    Regards,

    • This reply was modified 4 years, 7 months ago by PressTigers.
    Thread Starter jobboarduser

    (@jobboarduser)

    It appears to be the opposite:

    I have SJB Layout selected in the layout settings. As I mentioned, I have removed get_header() from both simple-job-board/templates/single-jobpost.php & simple-job-board/templates/archive-jobpost.php yet the header still shows on the job post page.

    If I select Theme Layout in the layout settings, the header is no longer showing, however the rest of the page’s layout is not correct and needs tweaking on the page-level (and I am unable to edit the layout for the page since single-jobposts don’t have a shortcode or page that I can edit, but are auto generated by the plugin.)

    I have to remove the header and keep the rest of the layout the same. I will take a look at simple-job-board/includes/class-simple-job-board-post-type-jobpost.php, though this continues to be an unresolved dilemma.

    Hi,

    We apologies for the inconvenience. Your feedback help us to improve our services for you. Please let us know if there is anything else that we can assist you with.

    Regards,

    Thread Starter jobboarduser

    (@jobboarduser)

    Just confirming this was not resolved.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Changing templates of job pages and custom post page’ is closed to new replies.