Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 119938

Bill Erickson on "Genesis Grid and custom post type"

$
0
0

Out of the box you only have the UI for post archives. But, there's a filter in place where you can specify anywhere else you'd like it used through code.

See the first example in the wiki: https://github.com/billerickson/Genesis-Grid/wiki

Assuming your taxonomy is called 'video-category', you'll replace is_post_type_archive( 'portfolio' ) with is_post_type_archive( 'video' ) || is_tax( 'video-category' )


Viewing all articles
Browse latest Browse all 119938

Trending Articles