Home › Forums › Support › Blog Addon column layout › Reply To: Blog Addon column layout
May 10, 2016 at 8:23 am
#193261
Tom
Lead Developer
Lead Developer
It should be, try this:
add_filter( 'generate_blog_columns','generate_custom_post_archive_columns' );
function generate_custom_post_archive_columns()
{
if ( is_post_type_archive( 'my-post-type' ) ) {
return true;
}
return $columns;
}
Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/
Something like that should work.