How to hide product titles from the website

Hello Sir,

I dont want the option of product title on the website.

So how to remove this from admin as well as from website,So that it cannot be seen anywhere.

Please let me know.

Thanks

  • Adam Czajczyk
    • Support Gorilla

    Hello Priti,

    I hope you’re well today!

    I’m not quite sure what you’re trying to achieve here, could you please elaborate? Every product is actually (in terms of WordPress taxonomy) a custom post and a post title is pretty essential for WordPress to work properly. Of course it is possible to post a post without a title but IMHO this would lead to a lot of mess in future – if there’s a lot of posts.

    That being said you may hide product titles from the frontend with CSS but I can’t see any way (except not giving product a title at all which will probably lead to the “product not found” error on the page) to hide titles from the backend.

    Cheers,

    Adam

  • Adam Czajczyk
    • Support Gorilla

    Hey Priti,

    I hope you’re having a great day and I’m sorry for the delay here.

    In order to hide product titles (or any other elements) with CSS you’ll have to add some custom CSS rules to your theme. The best way to do this would be to create a child theme. Here you can find more information on creating child themes:

    https://codex.wordpress.org/Child_Themes

    https://wpmudev.com/blog/how-to-create-wordpress-child-theme/

    For minor changes a “Simple Custom CSS” should do just fine.

    That being said you should add the following code parts to your child theme’s style.css file or put in an appropriate text field in Simple Custom CSS plugin.

    1. To hide product titles:

    h3.mp_product_name.entry-title {
    display:none;
    }

    2. To hide “By someone” – author’s info:

    .mp_grid .mp_product_detail {
    color:#FFF;
    }

    This one is actually a workaround as this message is not wrapped in any particular css block element itself. It should work as expected though.

    Let me know if it helps.

    Cheers,

    Adam