Title: katrah's Replies | WordPress.org

---

# katrah

  [  ](https://wordpress.org/support/users/katrah/)

 *   [Profile](https://wordpress.org/support/users/katrah/)
 *   [Topics Started](https://wordpress.org/support/users/katrah/topics/)
 *   [Replies Created](https://wordpress.org/support/users/katrah/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/katrah/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/katrah/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/katrah/engagements/)
 *   [Favorites](https://wordpress.org/support/users/katrah/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Tags & Categories in Posts Not Refreshing for Each Post](https://wordpress.org/support/topic/tags-categories-in-posts-not-refreshing-for-each-post/)
 *  Thread Starter [katrah](https://wordpress.org/support/users/katrah/)
 * (@katrah)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/tags-categories-in-posts-not-refreshing-for-each-post/#post-7455472)
 * I’m so sorry. I thought I had gone through all things I could think of to troubleshoot
   when I had another idea after posting this. It turns out that putting the shortcodes
   for the categories and tags inside the Tablepress plugin I’m using is causing
   the issue. I’ll just have to find another way to work around this conflict.
 * You can close this thread. I’ve been able to pinpoint the issue.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Shortcode to display categories the post is listed under on the current post](https://wordpress.org/support/topic/shortcode-to-display-categories-the-post-is-listed-under-on-the-current-post/)
 *  Thread Starter [katrah](https://wordpress.org/support/users/katrah/)
 * (@katrah)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/shortcode-to-display-categories-the-post-is-listed-under-on-the-current-post/#post-7392155)
 * Thank you so much bcworkz, that worked beautifully! I was just about to go research
   how to change the CSS when I decided to check on this post first. I simply changed“
   echo trim” to “return” and it’s now placing the categories within the post where
   I’ve placed the shortcode.
 * Thank you both so, so much for your help! It’s very appreciated!
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Shortcode to display categories the post is listed under on the current post](https://wordpress.org/support/topic/shortcode-to-display-categories-the-post-is-listed-under-on-the-current-post/)
 *  Thread Starter [katrah](https://wordpress.org/support/users/katrah/)
 * (@katrah)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/shortcode-to-display-categories-the-post-is-listed-under-on-the-current-post/#post-7392065)
 * okay… I played around with it some and noticed that what you’re code is doing
   is placing the categories at the top of the post when I use the shortcode rather
   than placing the categories in the location where I’ve written [getcats]. So 
   you’re right, it does work, it’s just not placing them where I need them.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Shortcode to display categories the post is listed under on the current post](https://wordpress.org/support/topic/shortcode-to-display-categories-the-post-is-listed-under-on-the-current-post/)
 *  Thread Starter [katrah](https://wordpress.org/support/users/katrah/)
 * (@katrah)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/shortcode-to-display-categories-the-post-is-listed-under-on-the-current-post/#post-7392063)
 * I do appreciate the help. I still cannot seem to get it working. I also managed
   to get the white screen of death messing around with it last night… lol After
   that I did some research into how to test these things without the risk and came
   across a great article on making these additions via your own plugins instead.
   I turned my other “custom function code” into a plugin instead of placing it 
   into the functions.php and it worked great. (I’m mostly telling this for anyone
   in the future who comes across this post and encounters a similar problem so 
   they have some solution to go to). Unfortunately the above function is still 
   not working for me.
 * my test page: [http://allthatfreewallpaper.com/2016/05/17/head-in-the-clouds-wallpaper/](http://allthatfreewallpaper.com/2016/05/17/head-in-the-clouds-wallpaper/)
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Shortcode to display categories the post is listed under on the current post](https://wordpress.org/support/topic/shortcode-to-display-categories-the-post-is-listed-under-on-the-current-post/)
 *  Thread Starter [katrah](https://wordpress.org/support/users/katrah/)
 * (@katrah)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/shortcode-to-display-categories-the-post-is-listed-under-on-the-current-post/#post-7392020)
 * Thank you for the help. First, I do have a child theme installed. However, am
   yes, very new to Genesis, so any tips are much appreciated. I’ve decided to plunge
   ahead and start learning at least some basic PHP as well, I think it will be 
   needed now that I’ve actually seen how this works. I’m starting out with CodeAcademy
   and I’ll see where I should go from there I guess.
 * I did put the code you provided into my functions.php, but it didn’t work. Where
   I put the shortcode in my post it was simply blank. (I did double check the post
   I tested this on and I do have it listed under a category).

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