This is a simple plugin that you may need.
It allows you to display information about the default category via the [lh_display_default_category] shortcode.
By default this shortcode will output the name name of the default category but if you wish to output any of the wordpress category object keys you can output them instead by specifiying the key e.g. [lh_display_default_category key=”category_count”]
This plugin actually supports other taxonomies (that have default term support). So you can also us it like so: [lh_display_default_category taxonomy=”my-custom-taxonomy”]
In time I will add gutenberg support for this plugin
Like this plugin? Please consider leaving a 5-star review.
Love this plugin or want to help the LocalHero Project? Please consider making a donation.
- Upload the entire
lh-display-default-categoryfolder to the
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Put the shortcode in your posts pages and cpts.
What is something does not work?
LH Logged In Post Status, and all https://lhero.org plugins are made to WordPress standards. Therefore they should work with all well coded plugins and themes. However not all plugins and themes are well coded (and this includes many popular ones).
If something does not work properly, firstly deactivate ALL other plugins and switch to one of the themes that come with core, e.g. twentyfifteen, twentysixteen etc.
If the problem persists pleasse leave a post in the support forum: https://wordpress.org/support/plugin/lh-display-default-category/. I look there regularly and resolve most queries.
What if I need a feature that is not in the plugin?
Please contact me for custom work and enhancements here: https://shawfactor.com/contact/
لا توجد مراجعات لهذه الإضافة.
“LH Display Default Category” هو برنامج مفتوح المصدر. وقد ساهم هؤلاء الأشخاص بالأسفل في هذه الإضافة.المساهمون
1.00 June 29, 2018
* Initial release
1.01 October 08, 2020
* Added custom taxonomy support