// set cpt to 100% width add_filter( 'ocean_post_layout_class', 'my_post_layout_class', 20 ); function my_post_layout_class( $class ) { // Alter your layout if ( is_singular( 'professions' ) ) { $class = 'full-width'; } // Return correct class return $class; }
ביטול כותרת בקסטום פוסט טייפ
// Disable page title on single posts function disable_title( $return ) { if ( is_singular( 'post') ) { $return = false; } // Return return $return; } add_filter( 'ocean_display_page_header', 'disable_title' );