Custom Page Templates

This topic contains 3 replies, has 2 voices, and was last updated by  Paolo 8 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #58116

    wasanajones
    Buyer
    Post count: 180

    Hoping to get a referral to a walk through/explanation…

    My site has a lot going on: geodirectory, online shop, articles, forums etc

    Using Genesis theme, I’d like different sections to have a different template (header, navigation, colors etc,)

    How would I assign a theme page template to Geodirectory?

    Thanks

    #58154

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    you can’t assign templates to GeoDirectory, you can customize GeoDirectory templates: https://wpgeodirectory.com/docs/customizing-geodirectory-templates/

    However this wouldn’t be the right thing to do to change header, navigation, colors etc.

    This would require a lenghty theme customization, using conditional tags to modify the header, the navigation and body classes (to change colors).

    The conditional tag to check if you are visiting a GeoDirectory page or not is :

    geodir_is_geodir_page()

    Hope this helps,

    Thanks

    #58168

    wasanajones
    Buyer
    Post count: 180

    thanks, the conditional tags would be the way to go

    #58170

    Paolo
    Site Admin
    Post count: 31206

    You are welcome 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket