Title: Category Postmetadata
Last modified: July 9, 2017

---

# Category Postmetadata

 *  Resolved [dragnsteph](https://wordpress.org/support/users/dragnsteph/)
 * (@dragnsteph)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/category-postmetadata/)
 * Good morning,
 * I’m working on a wiki and love your plugin! It does exactly what I need.
 * One question (so far) — there’s an empty-ish div at the bottom of my wiki pages,“
   Category:” — there’s nothing after that, and I do have the pages assigned to 
   categories, so I’m not sure why nothing is showing up. Any ideas?
 * ex: [http://greengriffoninn.com/wiki/elf/](http://greengriffoninn.com/wiki/elf/)
 * Stephanie

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [dmccan](https://wordpress.org/support/users/dmccan/)
 * (@dmccan)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/category-postmetadata/#post-9303454)
 * Hi dragnsteph,
 * I love your site and it is a great theme for what you are doing. The link really
   helped.
 * The categories that show in that spot are the categories associated with posts.
   The wiki has its own categories. The fix is pretty simple. You will want to use
   a child theme so you won’t loose the change when the theme gets an update. If
   you don’t know how to make a child theme then I’m happy to make it for you.
 * Copy the file `content-postmeta-single.php` from the DarkElements theme directory
   to your child theme directory.
 * Change the line:
    `<?php printf( __( 'Category: %s', 'darkelements' ), get_the_category_list(
   __( ', ', 'darkelements' ) ) ); ?>`
 * To:
 *     ```
       <?php if ( is_singular('yada_wiki') ) { ?>
           <?php printf( __( 'Category: %s', 'darkelements' ), get_the_term_list( $post->ID, 'wiki_cats', '', ', ') ); ?>
       <?php }  else { ?>
           <?php printf( __( 'Category: %s', 'darkelements' ), get_the_category_list( __( ', ', 'darkelements' ) ) ); ?>
       <?php } ?>
       ```
   
 * That code checks to see if it is a wiki page then it outputs the wiki category,
   otherwise does what it does now.
 * Let me know if you have any problems or further questions. Have fun.
 * David
 *  Plugin Author [dmccan](https://wordpress.org/support/users/dmccan/)
 * (@dmccan)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/category-postmetadata/#post-9320786)
 * Hi dragnsteph,
 * Have you made any progress with this? Let me know if you need some help.
 * Regards,
 * David
 *  Thread Starter [dragnsteph](https://wordpress.org/support/users/dragnsteph/)
 * (@dragnsteph)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/category-postmetadata/#post-9324044)
 * I finally had a few minutes strung together to do this and it worked perfectly
   🙂 Thanks so much. I’m working through how best to organize all the wiki pages
   but I’m really enjoying the process! Thanks for such a great plugin and for your
   help.
 *  Plugin Author [dmccan](https://wordpress.org/support/users/dmccan/)
 * (@dmccan)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/category-postmetadata/#post-9324250)
 * You are welcome. I am glad it went smoothly.
 *  [Tony G](https://wordpress.org/support/users/starbuck/)
 * (@starbuck)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/category-postmetadata/#post-9367991)
 * [@dragnsteph](https://wordpress.org/support/users/dragnsteph/) – As a technical
   guy I have no taste when it comes to styling. You’ve combined an impressive use
   of the tools with very elegant styling. Congratulations. It’s all very inspirational.
   Thanks.
 *  Thread Starter [dragnsteph](https://wordpress.org/support/users/dragnsteph/)
 * (@dragnsteph)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/category-postmetadata/#post-9377640)
 * [@starbuck](https://wordpress.org/support/users/starbuck/) Thank you! I can’t
   take much credit for the structure of the theme as it’s a freebie from the wordpress
   themes gallery, called DarkElements – but inasmuch as I’ve customized it a little,
   I’ll take your compliment 🙂 I’m a graphic designer by trade but not someone 
   who can code from the ground up – I generally modify something that’s close to
   what I want, and this theme ticks most of my boxes. Content is key, and David’s
   plugin has been a huge help.
 * -S

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Category Postmetadata’ is closed to new replies.

 * ![](https://ps.w.org/yada-wiki/assets/icon-128x128.png?rev=1277072)
 * [Yada Wiki](https://wordpress.org/plugins/yada-wiki/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/yada-wiki/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/yada-wiki/)
 * [Active Topics](https://wordpress.org/support/plugin/yada-wiki/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/yada-wiki/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/yada-wiki/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [dragnsteph](https://wordpress.org/support/users/dragnsteph/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/category-postmetadata/#post-9377640)
 * Status: resolved