• Resolved petebocken

    (@petebocken)


    Currently you can add text before or after a category page, but then the same text is displayed on all category pages. How would I go about putting custom text on individual category pages?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter petebocken

    (@petebocken)

    I got this working for me. I created my own template files called “category-categoryname.php” then just customized the template. Then when you go to domain.com/jobs/categoryname, that template will load.

    Hey @petebocken – can you please describe this process in a little more detail?

    Where did you put the php file you mention?
    What template did you copy – ie: what is in the template file?
    How were you able to add text to each specific category page?
    Howd you get the new category page to only display jobs from that category?

    Thanks!!

    Thread Starter petebocken

    (@petebocken)

    PHP file is in the root of the theme directory.

    For mine, I have a job category called “Central Office”. I created the category in the job admin settings with slug “centraloffice”.

    The php template file is called “category-centraloffice.php”.

    I copied my page.php template file and then customized it for each job category (adding specific text for each job category).

    The Job Manager plugin looks for templates with “category-categoryname.php”. So if you have category slug setup with “centraloffice” and a php template file called “category-centraloffice.php” it will use that php template file for that job category page.

    So if you go to “domain.com/employment/centraloffice” (i’ve renamed my URL path for the jobs page to employment). It will then display only jobs in that category on your custom php template.

    Hopefully that all makes sense!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Job Manager] Custom text on each category page’ is closed to new replies.