Popular Categories section on home: how to remove?

This topic contains 4 replies, has 3 voices, and was last updated by  Manfred Van Ursel 4 years, 11 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #514684

    Manfred Van Ursel
    Expired Member
    Post count: 295

    Hi,

    We’d like not to output the Popular Categories section that we find on home on Supreme (we are using Supreme and GD V1).

    We already hide it with CSS but we’d really like to clean our html and make it not to appear.

    How can we do that?

    If you point us to a file we can remove that part of the code.

    Thanks,

    #514723

    Kor
    Moderator
    Post count: 16516

    Hi Manfred Van Ursel,

    Thanks for your post. You’ll need to edit the theme files and remove them manually. But this is not recommended though, your changes will be lost if you update the theme.

    Thanks!

    #514823

    Manfred Van Ursel
    Expired Member
    Post count: 295

    Which theme file should I edit?

    Thanks,

    #514830

    Alex Rollin
    Moderator
    Post count: 27815

    Remove Popular Categories Completely

    This is not recommended – To remove GD Categories completely edit supreme-directory/inc/geodirectory-compatibility.php and at line 164 remove the gd_categories shortcode. Changes to theme files will be overwritten at the update.

    https://wpgeodirectory.com/docs-v2/themes/supreme/#popular

    #514873

    Manfred Van Ursel
    Expired Member
    Post count: 295

    Thank you, I found it on line 1033 on Supreme’s geodirectory-compatibility.php. I commented it out.

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