If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

CherryFramework 3. How to display tags on pages, not only posts

This tutorial shows how to display tags on pages, not only posts in CherryFramework3 templates.

CherryFramework 3. How to display tags on pages, not only posts

  1. First, install the plugin to assign tags to pages. We recommend using ‘Post Tags and Categories for Pages’. Install it using Plugins -> Add new -> Upload option in the Dashboard. Make sure to activate plugin at once.

  2. Next, open any required page and add tags for it. You may use ‘Choose from the most used tags’ option to make it faster. Update the page:

    CherryFramework-3_How_to_display_tags_on_pages_not_only_posts_1

  3. Next, open server files using either FTP or hosting cPanel. Navigate to ‘wp-content/themes/CherryFramework/loop’ folder, locate loop-page.php file in the list. Copy the file to ‘wp-content/themes/theme#####/loop’ directory in the server, where ##### is the actual number of your theme.

  4. Get back to the Dashboard. Open Appearance> Editor> theme####>loop-page.php file to edit. Let’s place there a new line of code for tags display.

  5. Copy-paste the following line there:

    <?php the_tags( 'Tags: ', ', ', '<br />' ); ?> 

    Put it to the bottom of the file, just above the closing tag:

    <?php endwhile; ?>

    CherryFramework-4_How_to_display_tags_on_pages_not_only_posts_2

    Update the file once done editing.

Get back to the site’s frontend to check results. Tags are successfully displayed in the page now.

Feel free to check the detailed video tutorial below:

CherryFramework 3. How to display tags on pages, not only posts