← Back
Editing: fl-post-columns.php
<?php /** * Post module alias for post columns on archive layouts. * * @since 1.0 */ FLBuilder::register_module_alias( 'fl-post-columns', array( 'module' => 'post-grid', 'name' => __( 'Post Columns', 'bb-theme-builder' ), 'description' => __( 'Displays a column grid of posts for the current archive.', 'bb-theme-builder' ), 'group' => __( 'Themer Modules', 'bb-theme-builder' ), 'category' => __( 'Archives', 'bb-theme-builder' ), 'enabled' => FLThemeBuilderLayoutData::current_post_is( array( 'archive', 'header', 'footer', 'part' ) ), 'settings' => array( 'layout' => 'columns', 'match_height' => '1', 'data_source' => 'main_query', ), ) );
Save File
Cancel