| @@ -72,9 +72,9 @@ | ||
| 72 | 72 | <?php |
| 73 | 73 | } |
| 74 | 74 | } |
| 75 | 75 | |
| 76 | - if ( 'frm_display' === $post->post_type && is_callable( 'FrmViewsLayout::get_layouts_for_view' ) ) { | |
| 76 | + if ( is_callable( 'FrmViewsLayout::get_layouts_for_view' ) ) { | |
| 77 | 77 | $layouts = FrmViewsLayout::get_layouts_for_view( $post->ID ); |
| 78 | 78 | foreach ( $layouts as $layout ) { |
| 79 | 79 | ?> |
| 80 | 80 | <layout> |