Hide Tags on Listings

This topic contains 7 replies, has 4 voices, and was last updated by  Stiofan O’Connor 3 years, 5 months ago.

  • Author
    Posts
  • #398890

    Joy
    Buyer
    Post count: 1076

    Hi guys, I think my posts are being missed because my topic is marked as resolved.

    https://wpgeodirectory.com/support/topic/hide-categories/

    How do I hide the tags from the listings?

    Thank you.

    #398917

    Guust
    Moderator
    Post count: 29970

    If you do not want tags to be submitted, set tag characters allowed to zero in your price packages.
    If you want to hide them from the detail pages:

    
    
    .geodir-tags {
        display: none;
    }

    Thanks

    #398939

    Joy
    Buyer
    Post count: 1076

    Thanks Guust, but I have already tried that and it does not work. 🙁 I am using Supreme theme if that helps.

    #398984

    Stiofan O’Connor
    Site Admin
    Post count: 22954

    have u got an example of a page that is showing something, i am not sure what you are even trying to hide…

    Stiofan

    #398989

    Guust
    Moderator
    Post count: 29970

    Hi Joy, try this code snippet:

    
    
    add_action( 'after_setup_theme', '_my_delay_functions' );
    function _my_delay_functions(){
    remove_action('geodir_before_detail_page_more_info','sd_tags_content');
    }

    Thanks

    #398993

    Giri
    Full Member
    Post count: 3155

    Joy,

    If Guust code doesn’t work, try like this.

    
    
    add_action( 'init', '_my_delay_functions' );
    function _my_delay_functions(){
        remove_action('geodir_before_detail_page_more_info','sd_tags_content');
    }

    Thanks

    #399054

    Joy
    Buyer
    Post count: 1076

    Yes! Thank you. Guusts snippet did the trick.

    #399056

    Stiofan O’Connor
    Site Admin
    Post count: 22954

    Great!

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

The topic ‘Hide Tags on Listings’ is closed to new replies, this may be for inactivity, please open a new topic if you have a similar question.