This topic has 3 replies, 2 voices, and was last updated 9 years by sharmstr.

  • Author
  • #94493
     jegz
    Participant

    Hi,

    I attached a photo for you to see.

    Under each product on the shop page, I would like to hide the product category text.

    Also, is it possible to add in the short description to replace that

    Thank you

    Attachments:
    You must be logged in to view attached files.
    #94968
     sharmstr
    Moderator

    Please re-attach the photo or respond privately with access credentials

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

    #94981
     jegz
    Participant
    This reply has been set as private.
    #94986
     sharmstr
    Moderator

    I put this in your quick css to hide the categories.

    COPY CODE
    
    .woocommerce ul.products li.product .posted_in, .woocommerce ul.products li.product .posted_in a {
    display: none !important;
    }
    

    There’s no hook into that location, but you can use this to put the description just below the price. Put it in your child theme’s functions.php file.

    COPY CODE
    
    add_action( 'woocommerce_after_shop_loop_item_title', 'add_product_description' );
    function add_product_description() {
        global $post;
        echo $post->post_content;
    }
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

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

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?