Categories

Featured templates

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

Judy Waters January 15, 2016
Rating: 5.0/5. From 2 votes.
Please wait...

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:

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

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

    1
    <!--?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

Customizable Wordpress Themes
This entry was posted in WordPress Tutorials and tagged CherryFramework3, page, post, tag, WordPress. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket