• Resolved takti

    (@takti)


    Hi there,

    i can’t change the layout on my archive page of cpt using Pods Framework.

    The following function within childtheme doesn’t help

    function my_post_layout_class( $class ) {

    // Alter your layout
    if ( is_singular( ‘wissenswertes’ ) ) {
    $class = ‘full-width’;
    }

    // Return correct class
    return $class;

    }
    add_filter( ‘ocean_post_layout_class’, ‘my_post_layout_class’, 20 );

    Please help me to get the layout fullwidth.

    Thanks

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fullwidth on Archive Page using PODS CPT’ is closed to new replies.