If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
I would like to show the tags of an item (which are now at the bottom) beneath the flag where the info about the author and the category
Inside the includes folder in the theme files you’ll have to open each of the format-(post type name).php files and look for:
if(has_tag() && is_single())
echo '<span class="blog-tags">';
echo the_tags('<strong>'.__('Tags: ','avia_framework').'</strong><span>');
Move that if statement to inside the:
where you want the tags to appear. For example just after the author would be just after these lines:
echo '<span class="blog-author minor-meta">'.__('by ','avia_framework');
You’ll have to do that for each of the post types and save the files back on the server. There may need to be some additional formatting depending on how the tags get rendered in that space since the layout wasn’t set up to support the extra data there.
I managed to make the tags appear in the appropriate place when viewing a single item. However they don’t appear on my blog page.
And this line makes the word tag turn bold:
echo the_tags(‘‘.__(‘Tags: ‘,’avia_framework’).’<span>’);
How do i remove that statement?
You can just remove the strong tag like this:
echo the_tags(.__('Tags: ','avia_framework').'<span>');
Thanks, so that leaves the question on how to make them appear on my blog page.
At this moment they only appear on a single item.
The topic ‘Want to display "tags" elsewhere’ is closed to new replies.