Hide thumbnail from certain category in home/index page
-
Hi, I need urgent help please and really appreciate for your kind reply.
My Question:
How can I hide or to not showing post thumbnail from certain category in my home or index.php?My Current situations:
1. The thumbnail and the permalink code is located in the index.php file, so I can not delete the entire code. And I can not move the code to the post page (single.php) file or to the post-type page (single-135.php) file either, since both file already displaying the full image of the post itself. View: Index/home page; while this is Single post page2. Currently I’m guessing–if it is possible–a solution to have a conditional code that can hide the thumbnail in the home/index page if the post is coming from a certain category. In my case is category 135 posting from the single-135.php.
3. I have been trying to find a solution here and there, and I almost got it actually, but eventually the case is a bit different and just before the answer came out, the thread was closed. Lucky me!
Thank you and apologize for my bad English. Please be patience since I’m not very good with php coding.
- The topic ‘Hide thumbnail from certain category in home/index page’ is closed to new replies.