[Resolved] How Can I Edit How a Archive Page Displays?

Home Forums Support [Resolved] How Can I Edit How a Archive Page Displays?

Home Forums Support How Can I Edit How a Archive Page Displays?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1573418
    Janine

    Hi,

    I don’t want this page to display with the last post at top and the older posts in a grid below.

    I would prefer if the posts are just stacked on top of each full width of the container without a featured post.

    How can I make that happen?

    Thank you.

    #1573456
    Ying
    Staff
    Customer Support

    Hi Janine,

    Just to confirm, you want to remove the featured post option, the 2 columns option and the masonry option for category archives only?

    Let me know.

    #1573534
    Janine

    Yes, Ying.

    #1573564
    Ying
    Staff
    Customer Support

    Try to add this php snippet:

    add_filter( 'generate_blog_columns','tu_portfolio_columns' );
    function tu_portfolio_columns( $columns ) {
        if ( is_category()  ) {
            return false;
        }
    
        return $columns;
    }

    Adding PHP: https://docs.generatepress.com/article/adding-php/

    Let me know ๐Ÿ™‚

    #1573567
    Janine

    Thank you, Ying. That is exactly what I wanted. BE SAFE.

    #1573638
    Ying
    Staff
    Customer Support

    Great ๐Ÿ™‚
    You too!

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