Custom footer on archive and search pages in my own theme

This topic contains 4 replies, has 2 voices, and was last updated by  Alex Rollin 5 years, 9 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #494102

    evocativemedia
    Expired Member
    Post count: 28

    I am using a Buddypress oriented theme in which I integrated Geodirectory. In the child-theme I created, I use a custom footer in the ‘footer.php’ file. Geodirectory does not show a footer on archive and search pages by default. However, I would like to integrate my custom footer on these pages. Is there a specific file I can look for and override by including it in my child-theme?

    #494110

    Alex Rollin
    Moderator
    Post count: 27815

    You are using GDV1?
    With GDV2, you would want to first take a look at the archive and search page templates. Try a different page attributes -> page template that loads your footer.
    GDV2 uses what is provided by the theme and has no opinion about headers and footers as it only places content into the post_content area.

    #494129

    evocativemedia
    Expired Member
    Post count: 28

    Ah amazing, your reply made me suddenly realize that the post category archive also does not have a footer.. Hence I found a condition somewhere that states $show_footer = !(is_archive);

    #494130

    evocativemedia
    Expired Member
    Post count: 28

    I am using GDV2.

    #494215

    Alex Rollin
    Moderator
    Post count: 27815

    Try a different page attributes -> page template that loads your footer.
    https://wpgeodirectory.com/docs-v2/themes/

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

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount