Get category title from recent post?
I’m using udesign theme.
In the main home content widget area I would like to pull the category name of the post in its respective position in the bottom widget area.
So let me explain, I have 4 links in main widget area. Then below I have 4 “latest post” areas that use a shortcode to display the post thumbnail, title, and text.
I want position 1 in main widget area to be the category of the post 1 in the bottom widget area.
I feel like it is pretty straight forward I just can’t seem to figure it out!
If I need to post any code let me know.
- The topic ‘Get category title from recent post?’ is closed to new replies.