Viewing 15 posts - 1 through 15 (of 33 total)
  • #229491
    Slim
    Member
    Post count: 422

    Hi friends,
    i have one situation here!
    On this page: http://design.entre.com.pt/loja-online/shop the category that i don’t want it’s hide by this code:

    add_filter( ‘woocommerce_product_categories_widget_args’, ‘wpsites_exclude_product_cat_widget’ );

    function wpsites_exclude_product_cat_widget( $args ) {

    $args[‘exclude’] = array(‘153′,’157′,’158′,’159′,’160′,’161’); // MUST CHNAGE THE ID OF CATEGORIES HERE

    return $args;
    }

    but clicking on one category the categorys that i hide(using the code) appears.. Link example: http://design.entre.com.pt/categoria-produto/iluminacao

    I want this categorys hide on every page.

    Thankz;)

    #229529
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Just provide the name of category which is displaying at this page http://design.entre.com.pt/categoria-produto/iluminacao.
    Thanks
    Mohammad

    #229604
    Slim
    Member
    Post count: 422

    Catarina_Vasco
    Margarida_Francisco
    Carolina_JoaoPedro
    Daniela_Afonso
    Beatriz_Nuno
    Isabel_Diogo

    this categories!

    Thankz;)

    #229891
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please remove last code and try to use this code:-

    add_filter( 'woocommerce_product_categories_widget_args', 'wpsites_exclude_product_cat_widget' ,99 );
    
    function wpsites_exclude_product_cat_widget( $args ) {
    
    $args['exclude'] = array('153','157','158','159','160','161'); // MUST CHNAGE THE ID OF CATEGORIES HERE
    
    return $args;
    }

    Thanks
    Mohammad

    #229933
    Slim
    Member
    Post count: 422

    Done man, but it’s the same..problem not solved:s

    #230159
    Slim
    Member
    Post count: 422

    Hi friends, i need help on this! It’s urgent:s

    #230164
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Remove the last code and use this code:-

    add_filter( 'woocommerce_product_categories_widget_dropdown_args', 'rv_exclude_wc_widget_categories');
    add_filter( 'woocommerce_product_categories_widget_args', 'wpsites_exclude_product_cat_widget' ,99 );
    function wpsites_exclude_product_cat_widget( $args ) {
    $args['exclude'] = array('153','157','158','159','160','161'); // MUST CHNAGE THE ID OF CATEGORIES HERE
    return $args;
    }

    Thanks
    Mohammad

    #230193
    Slim
    Member
    Post count: 422

    Doesn’t work man!
    And with CSS it’s not possible?

    Thankz!

    #230234
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    li.cat-item-57,li.cat-item-58,li.cat-item-59,li.cat-item-60,li.cat-item-61{
    display:none !important;
    }

    Thanks
    Mohammad

    #230241
    Slim
    Member
    Post count: 422

    Thankz man! It works;)

    #230244
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome. Glad to help you 🙂 .
    Thanks
    Mohammad

    #230909
    Slim
    Member
    Post count: 422
    This reply has been marked as private.
    #230914
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I am not sure about it. Its email server issue. We cant hide it.
    Thanks
    Mohammad

    #230923
    Slim
    Member
    Post count: 422

    Do you know where can i change that? Any option WP admin?

    Because the email it’s mine.. and name that appears it’s from client!

    The name is right.. but “[email protected]” it’s wrong.. because it’s my email

    Thankz!

    #230924
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    How are you getting this email? Who sent this email?
    Thanks
    Mohammad

Viewing 15 posts - 1 through 15 (of 33 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register