Hide Featured Image from specific post or category

Posted in: Newsmag
Post count: 280

Hello

How to Hide Featured Image from specific post or Entire specific category.

also, any chance to get older newsmag releases??

Post count: 6535

Hi

You have to add a contrition in function which generate feature image on modules: http://screencast.com/t/42HoZr6j First you have to get post’s category then use it in your conditions. A basic example will be like this:

if ($cat_id == 5){
return;
}

This is just a basic example but to achieve your goal are required some additional customizations which involve good codding skills. We can’t offer customization services at the moment so if you still need guidance on this or you’re not aware of the steps you need to take in this regard please consider hiring a developer or a freelancer to do this for you.

Thanks!

Post count: 280

ok thanks man
i have try video format,. its hiding feature image,

can we do it to Standard post format?

Post count: 6535

Hi

You can give it a try but I can’t say for sure how it will work as I didn’t test this functionality with standard posts. Basically you have to check if a post belongs to a specific category and depending by rezult to display or not the feature image for it.

Thanks!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newsmag’ is closed to new topics and replies.