Resolved

Category Page

Polestar Theme started by Pontigo Jun 8, 2020 5 replies
Pontigo Jun 8, 2020 · 1:24 pm #14551

Good morning, I wanted to know if there is a possibility that the category page could be left Masonry. Thank you in advance for any guide that allows me to do so.

Andrew Misplon Puro Jun 8, 2020 · 1:26 pm #14552

Hi Pontigo

Thanks for reaching out. I’ll hopefully add more blog layouts to Polestar soon. At the moment, the only solution that comes to mind is to perhaps try the Portfolio or Blog widget offered by Widgets for SiteOrigin and see if that can help.

Pontigo Jun 8, 2020 · 1:50 pm #14554

Thanks for your prompt response Andrew. Could you tell me where I change the structure of the category page?

Andrew Misplon Puro Jun 8, 2020 · 4:55 pm #14556

Sure, no problem.

Creating a masonry layout for the category pages would be a custom development task requiring the enqueuing of a script and customization of the markup used. If you need a starter child theme for Polestar, you can find one here https://purothemes.com/documentation/polestar-wordpress-theme/child-theme-library/.

The archive page is setup as follows:
https://github.com/purothemes/polestar/blob/develop/archive.php
https://github.com/purothemes/polestar/blob/develop/loops/loop-blog.php

Pontigo Jun 8, 2020 · 5:52 pm #14557

Thanks for the guide Andrew … I already use a child theme … the files you sent me, in which directory should I put them?

Cheers

Andrew Misplon Puro Jun 8, 2020 · 6:27 pm #14558

If you’re editing existing theme files from within a child theme they should go in the same relative location so archive.php goes in your child theme root folder and loop-blog.php goes into a folder called loops in your child theme.

If you created your child theme yourself, take care that you aren’t enqueuing the parent stylesheet twice as Polestar uses a minified stylesheet. All that’s needed in the child theme is to enqueue the child style.css file https://github.com/purothemes/polestar-child/blob/master/functions.php.

6 posts