Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'genesis_pre_get_option_content_archive', 'custom_force_full_content' );
- /**
- * Force full content on a specific category archive.
- */
- function custom_force_full_content() {
- if ( is_category( 'category-1' ) ) {
- return 'full';
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement