Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

Hide Categories

Apraksts

Hide one o more categories when you use the_category tag or wp_list_categories tag. No exclude post, but only hide a category name in template view.
Example?
You use a category called “featured” in your template but you don’t want it see? Use Hide Categories

Thanks to infocube for the plugin’s idea

Ekrānuzņēmumi

  • administration
  • in action

Uzstādīšana

  • install plugin
  • go to Hide Categories configuration
  • choose a categories to exclude

Atsauksmes

3 septembris, 2016
A client was using this and when I updated WP it stopped working. If you are already using it, you can make it work by changing one line in the plugin code. Go to the plugin editor and select Hide Categories from the drop down. The file selected on the right should be ‘hide-categories/hide-categories.php’ 32 lines down you should see: if(in_array($key, $exclude)) unset($code[$key]); Replace only the first $key with $r->term_id and save.
3 septembris, 2016
Does not hide the selected categories. Some of the selected categories were hidden on some posts and on others, other (seemingly) random categories were hidden. Tested with 4.4 and theme ColorMag.
Lasīt 6 atsauksmes

Autori un izstrādātāji

“Hide Categories” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “Hide Categories&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

1.2

  • functions rewrite
  • add support for wp_list_categories

1.0.1

  • bugfix

1.0.0

  • first release