This plugin provides template tag which acts version of WordPress's built-in template tag, the category the category lists all categories assigned to the specified post c2c parentless categories lists those categories, except for categories that are parents to other assigned categories..
Vegetables -- Leafy -- Broccoli -- Bok Choy -- Celery -- Fruiting -- Bell Pepper -- Cucumber -- Pumpkin -- Podded -- Chickpea -- Lentil -- Soybean.
The first argument to the template tag allows you to define separator, e.g to have simple comma-separated list of categories..
As with categories listed via the category, categories that are listed are presented as links to the category's archive page..
These actions and filters allow you to use alternative approach to invoke each of the identically named in such way that if the plugin were deactivated or deleted, then your calls to the functions won't cause errors on your site..
The filter allows you to customize or override the return value of the c2c parentless categories list function..
Arguments string $thelist the list of categories with complete HTML markup, or if the post didn't have any categories string $separator the separator specified by the user, or if not specified false $post id ID of the post, or false to indicate the current post..
Example ** * Amend comma-separated parentless categories listing with special string * * @param string $thelist The parentless categories list * @param string $separator Optional.
The filter allows you to customize or override the function argument indicating if ancestor categories of all assigned categories should be omitted from the list of categories.
Arguments bool $omit ancestors the $omit categories argument sent to the function, otherwise assumed to be the default..
Read more