- This topic has 10 replies, 3 voices, and was last updated 5 years, 9 months ago by
Leo.
-
AuthorPosts
-
January 16, 2020 at 2:02 pm #1134458
Matthew
https://thewirecutter.com/home-garden/bathroom/
So when I add a post to CATEGORY the category page looks like the above.
I need to create a page similar to the above do you have a page template for a review page identical to this one?
January 16, 2020 at 3:00 pm #1134519Leo
StaffCustomer SupportHi there,
Not 100% sure if I understand.
You can use the 3 columns and featured post option in the customizer:
https://docs.generatepress.com/article/using-columns-in-the-blog/Then make the featured post full width with this CSS:
https://docs.generatepress.com/article/using-columns-in-the-blog/#using-full-width-for-featured-postThen the result should be very similar to your example.
Let me know if this helps 🙂
January 16, 2020 at 4:33 pm #1134565Matthew
Your understanding is close.
So i want this template to be for Category template.
So if you click the link above you will see the page is generated by clicking on the category of the page.
Its not a page or post, but category in theme
January 16, 2020 at 5:42 pm #1134584Leo
StaffCustomer SupportThose options I mentioned above will apply to the blog page and category archives.
Maybe give them a shot first?
January 17, 2020 at 7:10 am #1135202Matthew
how to only apply to category archives page and not posts or pages?
January 17, 2020 at 7:27 am #1135218Leo
StaffCustomer SupportYou will need this filter:
https://docs.generatepress.com/article/option_generate_blog_settings/#examplesWith this conditional tags:
https://codex.wordpress.org/Conditional_Tags#A_Category_PageThese are blog/archive specific options so nothing will apply to static pages.
January 17, 2020 at 7:44 am #1135237Matthew
can you please send me screenshots of where to add to the theme settings to accomplish this task.
January 17, 2020 at 7:59 am #1135268Leo
StaffCustomer SupportSorry. The filters can be added using one of these methods:
https://docs.generatepress.com/article/adding-php/Code snippets is the easiest way if you aren’t using a child theme already.
Let me know 🙂
January 19, 2020 at 10:35 am #1137098Matthew
CAN I PAY YOU TO DO THIS FOR ME
January 19, 2020 at 1:32 pm #1137206Vitor
Hi Matthew,
as Leo mentioned you can install this plugin https://wordpress.org/plugins/code-snippets/ if you don’t have a child theme, and add the code below:
// -- Blog page columns -- add_filter( 'option_generate_blog_settings', 'lh_custom_columns_posts' ); function lh_custom_columns_posts( $options ) { if ( is_archive() ) { $options['column_layout'] = true; } elseif ( is_home() ) { $options['column_layout'] = false; } return $options; }January 19, 2020 at 2:03 pm #1137226Leo
StaffCustomer SupportGive Vitor’s code a shot and let me know if that works for you 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.