How can I display Primary Category in each post
-
Hello,
Thank you for this plugin.
My client desires to display the Primary Category for each post in the RPWE display.
The image is at left, and to the right is the title and excerpt. They want the Primary Category to display above the title at the right of the image.
I cannot figure out a way to do this.
The shortcode mimics the widget settings by allowing categories to be selected. Since both of these know the category it seems it would not be too difficult to get the category name and display it above the title.
See Flex Mag theme demo:
And a screenshot of the specific element desired:
I’ve thought of using the HTML or text before the recent posts to add the Primary Category and then pushing it and the title around via CSS. But I’m uncertain how to get the primary category and then display it using that HTML box.
Did I miss something in the settings? How can I do this?
Thank you.
Chris
- The topic ‘How can I display Primary Category in each post’ is closed to new replies.