描述
The Category Cloud Widget is a widget that displays your categories as a tag cloud in your sidebar.
Examples
You can see this in action on my site: http://leekelleher.com/linklog/
Special Thanks
Thank you to Matt Kingston, as this widget was based on his Weighted Categories plugin.
Thanks to Peter Hasperhoven for introducing the ‘minimum number of posts’ option.
安装
- Firstly, if you are running WordPress 2.1 or lower, please make sure you have the Widget plugin available at http://automattic.com/code/widgets/
- Copy
category-cloud.php
to your plugins folder,/wp-content/plugins/widgets/
- Click the ‘Activate’ link for Category Cloud Widget on your Plugins page (in the WordPress admin interface)
- Go to Presentation->Sidebar Widgets and drag and drop the widget to wherever you want to show it.
- Use the configuration menu to customise the widget.
常见问题
- How do I find the widget configuration menu?
-
In the WP Admin, navigate to Presentation->Sidebar Widgets. Click on the small configure icon in Category Cloud widget; Edit options to suit your requirements; Save changes; Done.
- Does this work with the Sidebar Modules (SBM) plugin?
-
Yes, it should work fine with the latest version of SBM.
Just remember that you will need to activate the widget via the Plugins panel. - Can I modify the permalinks of the category URLs?
-
No you can’t. That is beyond the scope of this plugin.
- How do I change the colour of the links?
-
Since every WordPress Theme is styled differently, sometimes the CSS styles aren’t applied to the Category Cloud widget.
If you are experiencing any problems with the style (i.e. the colour of the links), add the following CSS rules to thestyle.css
file in your theme:.catcloud a {color:blue;} .catcloud a:hover {color:red;}
Make sure that you change the colour values above to match your theme’s style/colour-scheme.
- My theme puts each category link on a new line, how can I stop this?
-
Sometimes theme developers do include CSS style rules that force each hyperlink in your sidebar to be on a new line.
The easiest way to prevent that from happening is to add the following CSS rule to yourstyle.css
file in your theme:.catcloud a {display:inline!important;}
- I can’t find the configuration menu for the widget!
-
For more information about how to administer and configure your widgets, please refer to the WordPress documentation:
https://codex.wordpress.org/Widgets_SubPanel
http://automattic.com/code/widgets/use/
评价
此插件暂无评价。