How to Display All Categories in a Page or Post


To display all categories in a single post or page, add the following code into functions.php:

Usage: Now create a page and the add the following shortcode: [categories]


Leave a Reply

Your email address will not be published. Required fields are marked *