Categories All In One

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:

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.

0

评论0

 
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
显示验证码
没有账号?注册  忘记密码?

社交账号快速登录