Description
Categories All In One is a powerful and flexible WordPress plugin that lets you display a customizable list of categories anywhere on your site.
Choose your taxonomy, control the layout and style, set depth levels, and sort your content exactly how you need it – including manual drag-and-drop ordering of categories for full control over the display sequence.
For more information, check out PLUGIN HOMEPAGE.
Key Features:
- Supports any category cointains ‘category’ string in name
- Legacy widget
- Gutenberg block
- Shortcode
[categories_all_in_one ...]
for embedding the categories anywhere - Configure list style, counter brackets, sorting with drag & drop, depth and classes
Watch the demo video
Shortcode explanation:
[categories_all_in_one list="bullet" separator="" hide_empty="false" show_count="true" counter_brackets="round" orderby="name" order="asc" custom_class="" post="false" parent_category="" max_depth="0" block_custom_class="" taxonomy="category" exclude=""]
Params:
lang: optional language code, ‘en’
post: optional proper post ID, “”
taxonomy: proper taxonomies, separated by commas
parent_category: proper category ID, “”
orderby: name, count
order: asc, desc, rand
max_depth: 0, 1…n
hide_empty: true, false
exclude: category ID separated by commas, “”
include: category ID separated by commas, “”
list: bullet, numbered, “”
show_count: true, false
counter_brackets: round, curly, square, angle, “”
show_description: true, false
description_length: 0, 1…n
description_link: true, false
separator: “”
custom_class: “”
block_custom_class: “”
Example of use:
[categories_all_in_one exclude=”” lang=”en” post=”false” parent_category=”” orderby=”name” order=”asc” max_depth=”0″ hide_empty=”false” list=”bullet” show_count=”true” counter_brackets=”round” show_description=”true” description_length=”100″ description_link=”true” separator=”” custom_class=”” block_custom_class=”” taxonomy=”category”]
DEMO
You can see the plugin in action on DEMO PAGE
Translations
- English (en_EN) – by Marcin Gierada
- Polish (pl_PL) – by Marcin Gierada
Building the Plugin in Development Mode
The source code for the plugin is available at: GitLab Repository. We encourage developers to contribute, fork, and improve the plugin.
To build the plugin in development mode, follow these steps:
1. Install Dependencies
Run the following command to install npm dependencies:
npm install
2. Build Gutenberg Block
To build only the Gutenberg block, use:
npm run build-gutenberg
This will compile the block’s JavaScript and place it in the js/block/
folder.
3. Build Full Plugin
To build the entire plugin, including the Gutenberg block and other files, use:
npm run build
This will generate the plugin package in the dist/
folder.
Blocks
This plugin provides 1 block.
- Block
Installation
- Upload plugin either via the yours WordPress installation, or by uploading to the /wp-content/plugins/ by FTP client
- Install the plugin through the ‘Plugins’ menu in WordPress.
- Activate “Categories All In One” in the “Plugins” using the “Activate” link.
FAQ
If you’ve got any questions, don’t hesitate to ask.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Categories All In One” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Categories All In One” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.1.0
- added independent language support
- added drag & drop category sorting
- added param to display category description
- added param to set custom block classes
- improved plugin styles
1.0.0
- Initial release