-
Assign different archive templates for categories
The the7 theme allows you to control archive layout by selecting a page in Theme options > Archive but there is no option if you want to assign different archive templates for categories. for eg News archive want a list layout and Event archive to want to display in masonry grid. This can be done
-
Change header layout on a specific page in The7 theme
Header layouts in The7 theme is global, there is no option to change it on a page wise. When you use Microsite template, you can hide/show header, select a different menu, logo etc, still no option to change header layout etc. This can be achieved by changing The7 config values using hooks.
-
Add The7 meta boxes to custom post types
The7 theme have additional meta boxes like page header, sidebar options ect for pages, posts and portfolios. See below how to add the same to your custom post types.
-
Add tags to Portfolio – The7
Try below code in your funcions.php to add tags to portfolio post type in The7.2 theme.
-
Woocommerce suggest products in empty Cart page
Wocommerce display empty cart notice with a return to shop button when user vist the cart page without any products. ever wanted to suggest some products in epty car page. I t is quite easy.
-
How to load main.js from child theme -The7
Some users customize javascript file from the parent theme to meet their requirements. but the modification overwrites whenever they update the theme. In such a situation you can keep the modified files in your child theme and load it instead of the one from the parent theme.


