Featured category

Posted in: Newspaper
Post count: 111

Hey guys,

I don’t have a featured category. I must have deleted it in the past. Now I want use it because I want to try the mobile theme. How do I recreate the featured category? I tried to manually just make a new category and set it to “HIDE CATEGORY ON POST…..” in the theme panel, but then the category still shows up in the Ajax filter on my homepage and in the category list in the footer. I’m assuming this normally isn’t the case with the featured category?

Post count: 22421

Hi,
The featured category can be created just like a default one and simply named ‘Featured’
It will not show up anywhere as the theme will detect the name and remove it from all places.
Thank you!

Post count: 111

Hi Bogdan,

I actually did that, but the categoty still showed up everywhere. I have hidden it now with some code I found on this forum:

action set_category_widget_parameters($args) {
$args[‘exclude’] = ‘154’;
return $args;
}
add_filter(‘widget_categories_args’,’set_category_widget_parameters’);

But it would be better if that is not necessary. Any idea why it would still show up? Where is the code the theme uses to hide the orginal category?

Post count: 22421

Hi,
Make sure you add the slug as well http://screencast.com/t/KWGjWgmXknc
Sorry for not referring to it earlier.
Thank you!

Post count: 111

I did set the slug to featured, but ut still appears. Could it be because the category id nr is different now?

Post count: 23312

Hello VoZz,

Please notice that the ID is not relevant for Featured category because if you have removed it and then you have added it, the ID will be the different one. So, please notice that the theme uses the name and the slug so the category can be hidden. The name needs to be “Featured” and the slug “featured” If you create a category like that, then it will work like the one that the theme creates by default.

Thanks for your understanding!

Post count: 1

Hi,

I am facing the same issue. Checked the name and slug of category as shown in the image. Have also set it to hidden. It still shows up in ajax filters.

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