Remove Categories on Details – Both under title and in sidebar

This topic contains 5 replies, has 3 voices, and was last updated by  jahusdtc 6 years, 9 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #415038

    jahusdtc
    Expired Member
    Post count: 162

    Currently, am hiding the Details categories with CSS.

    I looked at several suggestions on how to remove categories, but none seemed to work for me.

    Can you tell me what the proper solution might be?

    I would like to remove the categories under title and also in sidebar.

    Our thinking: Since it’s the same listing under each of the categories, why waste space on the categories.

    Thank you. Figured no reason to send you all the ones that didn’t work for me…you’d know the RIGHT one!

    #415154

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    please share the URL so we can help you with that.

    #415502

    jahusdtc
    Expired Member
    Post count: 162

    Used the Geo . Design > Details checkbox to remove categories from sidebar.
    Used CSS to remove the categories under the Title (Company Name).

    Is there a way to remove the categories under the Title, so it doesn’t have to PRODUCE the category list?

    The page is here:
    http://feptc.org/places/united-states/florida/coral-springs/repair/bobs-auto-repair/

    Of course, the categories are missing in both sidebar and under title!

    Can you suggest some remove_action or something to take away the categories BEFORE the category list is created?

    Thanks!

    #415515

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    I don’t think that’s possible, but I will flag it for the developers in case they have a second opinion.

    You have hidden the categories, yes, and yet you seem to have set the category to still be included as part of our URL. However, that category page is 404.

    You may need to resave WP Permalinks to restore that page, or maybe that is what you wanted, for the category/location page not to exist?

    #415592

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    There is not way to remove it BEFORE it processes it but you can remove it from being output on the page with this snippet

    add_filter('sd_details_output_cat_links','__return_false');

    Thanks,

    Stiofan

    #415821

    jahusdtc
    Expired Member
    Post count: 162

    Thanks, Gentlemen…exactly what I was looking for!

Viewing 6 posts - 1 through 6 (of 6 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