In the members-only forum a user asks:
I’m having real problems working out how to achieve separating categories and tags ?
I need to display the post category “:filed under” ‘before’ the post title on all pages , front page , archives , single etc , but i only want the ‘Tags’ to display on the single posts page and it must be ‘after’ the content.
I don’t want tags to show anywhere else but on single posts and the categories to show everywhere.
I also need to be able to change the seperator ‘,’ and “filed under” , “tagged with:” text.
I’ve spent some time trying lots of different code , add and remove actions , conditionals etc , but i can’t seem to get this right.
An if condition can be used inside a function hooked to genesis_post_meta
filter for displaying tags on single Posts and categories on all other pages.
And to move entry meta from entry footer to above title everywhere other than on single Posts, we can write the code in a function hooked to genesis_before_entry
action.
Any page other than a single Post:
single Posts:
Here's the code to be added in child theme's functions.php for the above:
To view the full content, please sign up for the membership.
Already a member? Log in below or here.