- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
CherryFramework 3. How to edit Category/Archives page layout
January 11, 2016
This tutorial shows how to edit content on Category & Archives pages in CherryFramework 3.x.
CherryFramework 3. How to edit Category/Archives page layoutCategory page title is called out from wp-content/themes/CherryFramework/title.php file:
-
Connect to server via FTP or open cPanel File manager. Copy the title.php file from the wp-content/themes/CherryFramework folder into child theme, i.e. into wp-content/themes/themeXXXXX directory.
-
Open the copied file in the wp-content/themes/themeXXXXX directory on server, find and edit the following line:
' . single_cat_title( '', false ) . '' ); ?>
Change it to:
' . single_cat_title( '', false ) . '' ); ?>
Save changes in the title.php file and check the Category page layout after that.
-
To edit Archives page layout, copy the wp-content/themes/CherryFramework/loop/loop-archives.php file into the wp-content/themes/themeXXXXX/loop folder on server. Please note in case loop folder is missing in child theme, you will need to create the folder.
-
Open copied loop-archives.php file, find and delete the archive_lists code:
Removal of the code will delete the following lists on Archives page:
Save changes in the loop-archives.php file. Refresh front-end with Ctrl/Cmd+F5 hotkeys.
Feel free to check the detailed video tutorial below:
CherryFramework 3. How to edit Category/Archives page layout