Someone recently asked about showing the wiki category in the post meta. Showing the category and tags for wiki pages is something you do in your theme, not the plugin, but it just so happens that we both are using the Divi theme, so I spent some time to figure this out.  Note that you should be using a child theme if you want to use these files so that future updates to Divi don’t overwrite your additions.  This information is specific to the Divi theme from Elegant Themes.


To get the categories to show in the post meta I added some functions to the child theme’s functions.php file:

  • There is a function that overrides the parent theme’s et_pb_postinfo_meta() function to remove the “blank bars” that show on Divi when there are no comments or categories in the post meta, and
  • A function that overrides the parent theme’s et_divi_post_meta to add the category meta link if there is a category assigned.
  • There are also a couple of helper functions.


For showing the tags I created a single page template for the Yada Wiki post type.  I created this by copying the “single.php” template from the parent Divi folder and renaming it to “single-yada_wiki.php” so that WordPress will use it instead of the default.  This diagram shows how WordPress decides which template to use.  I then added a call to the WordPress function “get_the_term_list()” to output the wiki tags.  You can further customize this template as desired.


Here are the files that I am using on this site for the sample wiki. They are samples that hopefully provide a starting point.

Download zip of example files.

Some of the links in the post above are “affiliate links.” This means if you click on the link and purchase the item, I will receive an affiliate commission. You will still pay the same amount so there is no extra cost to you. I am disclosing this in accordance with the Federal Trade Commission’s 16 CFR, Part 255: “Guides Concerning the Use of Endorsements and Testimonials in Advertising.”

Similar Posts