/** * * Layout: Post List * * @author Michael W. Delaney * @since 1.0 * * List of posts */ function post_list() { $FCBFields = new Fields(__FUNCTION__); $FCBRepeaters = new Repeaters(__FUNCTION__); $FCBFlexibleContent = new FlexibleContent(__FUNCTION__); return array('order' => '500', 'layout' => array('key' => $this->key . __FUNCTION__, 'name' => 'post_list', 'label' => 'Post List', 'display' => 'block', 'sub_fields' => array($FCBFields->title(), $FCBFields->navigation_title(), $FCBFields->tab_content(), $FCBFields->content(), $FCBFields->tab_post_list(), $FCBFields->posts_per_page(), $FCBFields->show_author(), $FCBFields->show_date(), $FCBFields->show_featured_image(), $FCBFields->category(), $FCBFields->tab_background(), $FCBFields->background_image(), $FCBFields->background_color(), $FCBFields->background_color_placeholder(), $FCBFields->theme_color(), $FCBFields->choose_color(), $FCBFields->tab_cta(), $FCBFlexibleContent->cta(), $FCBFields->tab_dev(), $FCBFields->dev_block_message(), $FCBRepeaters->block_data_attributes(), $FCBFields->block_classes(), $FCBFields->tab_endpoint()))); }