- This topic has 9 replies, 3 voices, and was last updated 3 years, 6 months ago by
David.
-
AuthorPosts
-
October 20, 2022 at 11:11 am #2380368
Dan
What would be the best way to set up columns for various types of post types (incl. the post post type)?
Is it still with the ‘generate_blog’columns’ filter? https://docs.generatepress.com/article/using-columns-in-the-blog/
Or with the new loop template block element will we have an option to set a different number of columns per post type and taxonomy type?Thanks!
DanOctober 20, 2022 at 11:51 am #2380405Ying
StaffCustomer SupportHi Dan,
You should be able to add a query loop block to a
block element - loop templateusing the latest GP and GP premium, toggle theInherit query from templateoption.For more info: https://docs.generatepress.com/article/block-element-loop-template/
October 20, 2022 at 12:07 pm #2380419Dan
Thanks Ying,
And In the query loop block I can adjust the number of grid columns and that will apply to the archive location (tags, category / CPT etc…)?
Am I correct?Dan
October 20, 2022 at 12:37 pm #2380438Ying
StaffCustomer SupportAnd In the query loop block I can adjust the number of grid columns and that will apply to the archive location (tags, category / CPT etc…)?
yes, basically you can build the archive page using the query loop block entirely.
October 20, 2022 at 12:43 pm #2380441Dan
Excellent. Looking forward to the release.
Dan
October 20, 2022 at 1:12 pm #2380464Ying
StaffCustomer SupportIt could be anytime soon 🙂
October 20, 2022 at 1:13 pm #2380468Dan
I’ll take that as a hint…
October 20, 2022 at 3:02 pm #2380515Ying
StaffCustomer SupportThe rc versions are both out, you can download them at generatepress.com/account
You can have a try now 🙂
October 21, 2022 at 6:44 am #2381092Dan
Inherit query from templateoption, what are the benefits of that?
It removes the other options of the element (number of posts, query parameters etc…)
The idea is that we create one template loop, turn onInherit query from template, and WP will do the querying?
Setting the number of posts to show would be done by settings => Readingwould I still need to set the location?
October 21, 2022 at 9:21 am #2381427David
StaffCustomer SupportHi there,
The idea is that we create one template loop, turn on Inherit query from template, and WP will do the querying?
Correct.
Setting the number of posts to show would be done by settings => Reading
Correct.
would I still need to set the location?
And correct. eg. Blog, or All Archives or Category Archives etc.
-
AuthorPosts
- You must be logged in to reply to this topic.