Display the page’s tags on the ‘page’ [not post]
-
Hi,
I have found a way to have the ‘category’ the page is recorded against to display at the top of the ‘page’ (this is not a post but a WordPress ‘page’).I would also like to display the ‘tags’ that have been recorded against this page but haven’t been able to find a way to achieve this – all the search results talk about are ‘removing tags from posts’ or getting ‘pages of tags’. These results make my ability to select the correct Google search to get my answer frustrating!
To get the category of the page to show I added the following to my ‘functions.php’ in my child theme directory:
add_filter('twentytwenty_show_categories_in_entry_header', '__return_true');
Is there an equivalent piece of code I can use to display the tags assigned to this page also?
Many thanks for all help provided,
Richard
The page I need help with: [log in to see the link]
- The topic ‘Display the page’s tags on the ‘page’ [not post]’ is closed to new replies.