Template Hierarchy + Customizing Item on List Pages

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

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

Open Support Ticket
  • Author
    Posts
  • #481639

    Brent Barkley
    Expired Member
    Post count: 7

    OK, I’ve searched through all the posts and through all the docs about customizing GeoDirectory and this still isn’t clear based on what I’m seeing.

    We are wanting to customize the item details for our listing page. We are using the gd_listings shortcode. I’ve tried looking for a template in the templates folder and copying to our child theme, but I don’t see template where I can actually control the output for an item within a list. Am I missing it somewhere in there?

    We are wanting to show just a picture, cats, and tags. Showing/hiding via CSS seems hacky and I’d rather do it the right way.

    Where is the template for the item within the listing loop?

    #481642

    Alex Rollin
    Moderator
    Post count: 27815

    It is the Archive Item template.
    Watch the video here:
    https://wpgeodirectory.com/docs-v2/geodirectory/personalize/

    GD > Settings > Pages > GD Archive Item page

    #481818

    Brent Barkley
    Expired Member
    Post count: 7

    OK, just assumed it could be controlled from the templates in the plugin/child theme instead of via the WordPress editor. Thanks for your help.

    #481821

    Alex Rollin
    Moderator
    Post count: 27815

    It can, yes, see:
    https://wpgeodirectory.com/docs-v2/faq/customizing/

    You want listing-content.php

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
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount