Site logo

Archived topic

Archive columns

9 replies · Started by Juan Carlos on February 10, 2021

Viewing posts 1–10 of 10

Hello, I have a doubt.

Its possible to display the archive of a category in columns? In the categories I have pages, not posts.

I have configured GP to display post files in columns, but it doesn't work with categories.

Thanks!

Hi there,

That's strange.

The settings for columns you'll find on Appearance > Customize > Layout > Blog should apply to category archives as well. https://share.getcloudapp.com/4gu19GyJ

Can you link us to the page in question to check? You can use the private information text field to provide your site details. Thank you.

I have the settings configured like in the capture you show me.

Hi there,

how have you set the Archive to display Pages ?

If I deactivate the plugin, the page gives an error, because the pages lose the categories...

Hi there,

Try doing this:

add_filter( 'generate_blog_columns', function( $columns ) {
    if ( ! is_singular() && 'page' == get_post_type() ) {
        return true;
    }

    return $columns;
} );

This works!

A lot of thanks!

You're welcome :)

This archived topic is closed to new replies.