外掛說明
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-category
folder to the/wp-content/plugins/
directory. - 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/
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
1.00 June 29, 2018
* Initial release
1.01 October 08, 2020
* Added custom taxonomy support