Categories All In One

Aprašymas

Categories All In One is a powerful plugin that allows you to display customizable category list anywhere on your WordPress site.
You can select taxonomies, configure appearance, set the category depth, and adjust sorting options.

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, depth and classes

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:
list: bullet, numbered, „”
separator: any char, „”
hide_empty: true, false
show_count: true, false
counter_brackets: round, curly, square, angle, „”
show_description: true, false
description_length: 0, 1…n
description_link: true, false
orderby: name, count
order: asc, desc, rand
custom_class: any class name, „”
post: true, false, „”
parent_category: proper category ID, „”
max_depth: 0, 1…n
block_custom_class: any class name, „”
taxonomy: proper taxonomy, separated by commas
exclude: proper category ID separated by commas, „”

Example of use:
[categories_all_in_one list=”numbered” separator=”,” hide_empty=”false” show_count=”true” counter_brackets=”square” show_description=true” description_length=”255″ description_link=”true” orderby=”name” order=”asc” custom_class=”category-item” post=”false” parent_category=”1″ max_depth=”1″ block_custom_class=”categories-block” taxonomy=”category,product-category,portfolio-category” exclude=”2,3″]

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.

Ekrano nuotraukos

  • Category list example
  • Gutenberg block
  • Legacy widget
  • Button
  • Shortcode generator

Blokai

Šis įskiepis suteikia 1 bloką.

  • Categories All In One

Diegimas

  1. Upload plugin either via the yours WordPress installation, or by uploading to the /wp-content/plugins/ by FTP client
  2. Install the plugin through the ‘Plugins’ menu in WordPress.
  3. Activate „Categories All In One” in the „Plugins” using the „Activate” link.

DUK

If you’ve got any questions, don’t hesitate to ask.

Atsiliepimai

Įskiepis neturi atsiliepimų.

Programuotojai ir komandos nariai

“Categories All In One” yra atviro kodo programa. Prie jos sukūrimo prisidėję žmonės surašyti toliau.

Autoriai

Pakeitimų istorija

1.0.0

  • Initial release