[Resolved] Post columns

Home Forums Support [Resolved] Post columns

Home Forums Support Post columns

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #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!
    Dan

    #2380405
    Ying
    Staff
    Customer Support

    Hi Dan,

    You should be able to add a query loop block to a block element - loop template using the latest GP and GP premium, toggle the Inherit query from template option.

    For more info: https://docs.generatepress.com/article/block-element-loop-template/

    #2380419
    Dan

    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

    #2380438
    Ying
    Staff
    Customer Support

    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…)?

    yes, basically you can build the archive page using the query loop block entirely.

    #2380441
    Dan

    Excellent. Looking forward to the release.

    Dan

    #2380464
    Ying
    Staff
    Customer Support

    It could be anytime soon 🙂

    #2380468
    Dan

    I’ll take that as a hint…

    #2380515
    Ying
    Staff
    Customer Support

    The rc versions are both out, you can download them at generatepress.com/account

    You can have a try now 🙂

    #2381092
    Dan

    Inherit query from template option, 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 on Inherit query from template, and WP will do the querying?
    Setting the number of posts to show would be done by settings => Reading

    would I still need to set the location?

    #2381427
    David
    Staff
    Customer Support

    Hi 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.

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.