Disable listing meta data

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

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

Open Support Ticket
  • Author
    Posts
  • #516836

    charlievaughan
    Lifetime Member
    Post count: 70

    Hi

    So I think this is a GeoDirectory core feature.

    So each GeoDirectory listing item that appears in GD Listing widgets has a block of HTML including the listing title, address, review stars, and number. This block has the class .gd-list-item-right.

    I would like to disable this block of HTML for each listing (or its contents). This is because I think in most cases is unnecessary, and I want to pack more listing images into the page.

    I could do this by hiding it with CSS, but this is inefficient as I would be generating unnecessary content.

    Ideally, I could override a function in my child theme, or comment the code out if it’s in a plugin?

    #516849

    Alex Rollin
    Moderator
    Post count: 27815

    Try editing the GD Archive Item template. Remove everything you don’t want from the template.

    https://wpgeodirectory.com/docs-v2/templates/archive-item/

    #517368

    charlievaughan
    Lifetime Member
    Post count: 70

    Thanks for this. I didn’t realise GeoDirectory had this level of flexibility built-in. I managed to achieve what I was looking to do.

    #517379

    Alex Rollin
    Moderator
    Post count: 27815

    Excellent

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