• Resolved paulovsky

    (@paulovsky)


    On my website I have a /careers/ page, where I designed a welcome page, adding the [jobpost] shortcode on the page to show my listings.

    However, my CPT slug is jobs, which shows up on the breadcrumbs. If I change it to careers, the templating system overrides my /careers/ page, losing all the custom content on the page I created.

    Is it possible to use the careers slug and show the content that I already created on the custom page?

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

    (@presstigers)

    Hello @paulovsky,

    It is not possible to use “careers” slug for the job listing page and CPT slug. If you change the CPT slug that becomes the archive page slug and you can’t use it for listing page as well as the job archive page. So you need to keep both with different slugs.

    Regards

    Thread Starter paulovsky

    (@paulovsky)

    This issue is not ‘resolved’.

    My workaround was to edit the archive template and add the content I created before.

    • This reply was modified 7 years, 2 months ago by paulovsky.
    Plugin Author PressTigers

    (@presstigers)

    Your issue is addressed that’s why it is marked as resolved. If you want to edit archive template then do your customizations in the following template:
    simple-job-board/templates/archive-jobpost.php

    Thread Starter paulovsky

    (@paulovsky)

    This template (archive-jobpost.php) is wrapping my website’s footer in the main content container. This doesn’t happen in the job single post layout. Please help me reviewing the container settings or give me advice on how to change the archive template:

    page with the wrong footer
    page with the right footer

    • This reply was modified 7 years, 2 months ago by paulovsky.
    Plugin Author PressTigers

    (@presstigers)

    Hello @paulovsky,

    We have reviewed your site URL, footer section looks same on archive and single job page. Can you please point out where exactly you are facing the issue.

    Regards

    Thread Starter paulovsky

    (@paulovsky)

    Thank you for your reply. I patched it by adding an extra </div> on archive-jobpost.php, line 165. I am aware that is not the ideal fix, but it works.

    Plugin Author PressTigers

    (@presstigers)

    You did it right as you have to add the missing structure like this but if you added this patch in plugin core files directly then you did a mistake.

    Please use the templating feature and then modify the plugin template. For templating feature, please visit the SJB plugin page and see the CONFIGURATIONS & TEMPLATING section.

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Using a custom page as listing template’ is closed to new replies.