If you have already read my post about how to add multiple portfolio style category archive pages using the Crystal child theme, you’ll love this post. The reason you’ll like it is because its far easier to do using the Balance child theme than using Crystal.
That really does show you the way Copybloggers StudioPress are improving their range of themes as they only get better and easier to customize.
In this post, i’ll provide you with all the code i have edited and tested which has all been modified using existing code included in the balance theme files.
Here’s the result to provide this method works, and works well.
Please click the Gist link and copy the code from the view raw link to paste into 3 separate files.
Code
- The functions.php code goes at the end of your child themes functions.php file
- The page_catarc.php code gets pasted into a new PHP file and added in the root directory of your child theme folder.
- The style.css code goes at the end of your child themes style.css file.
Portfolio Images
The first portfolio category archive is named portfolio and the second one is catarc.
Rinse & Repeat
This method works beautifully and makes it easy to convert all your category pages to a more visually appealing way of displaying different posts in all your categories.
Leave a Reply
You must be logged in to post a comment.