Archived topic
Making only the author archives in rows
1 reply · Started by roy on November 24, 2020
Viewing posts 1–2 of 2
Hi, I was told to create a new topic for this.
I would like to make it so the posts are in 3 rows if at all possible
Hi there,
Give these PHP snippets a shot:
add_filter( 'generate_blog_columns', function( $columns ) {
if ( is_author() ) {
return true;
}
return $columns;
} );
add_filter( 'generate_blog_get_column_count', function( $count ) {
if ( is_author() {
return '33';
}
return $count;
} );
Adding PHP: https://docs.generatepress.com/article/adding-php/
Let me know if this helps :)
This archived topic is closed to new replies.