ings() { $settings = parent::page_builder_settings(); return array_merge( $settings, array( 'name' => __( 'Grid 1', 'publisher' ), "base" => $this->id, "icon" => '', 'desc' => __( '1 to 4 Column', 'publisher' ), "weight" => 10, "wrapper_height" => 'full', "category" => publisher_white_label_get_option( 'publisher' ), 'icon_url' => PUBLISHER_THEME_URI . 'images/shortcodes/bs-grid-listing-1.png', ) ); } // page_builder_settings } // Publisher_Grid_Listing_1_Shortcode /** * Publisher Grid Listing 2 */ class Publisher_Grid_Listing_2_Shortcode extends Publisher_Theme_Listing_Shortcode { function __construct( $id, $options ) { $id = 'bs-grid-listing-2'; $_options = array( 'defaults' => array( 'title' => '', 'hide_title' => 0, 'icon' => '', 'category' => '', 'tag' => '', 'post_ids' => '', 'post_type' => '', 'offset' => '', 'count' => 4, 'order_by' => 'date', 'order' => 'DESC', 'time_filter' => '', 'style' => 'listing-grid-2', 'columns' => 2, 'show_excerpt' => 1, 'tabs' => false, 'tabs_cat_filter' => '', ), 'have_widget' => false, 'have_vc_add_on' => true, 'have_gutenberg_add_on' => true, ); if ( isset( $options['shortcode_class'] ) ) { $_options['shortcode_class'] = $options['shortcode_class']; } add_filter( 'publisher-theme-core/pagination/filter-data/' . __CLASS__, array( $this, 'append_required_atts' ) ); parent::__construct( $id, $_options ); } /** * Adds this listing custom atts to bs_pagin * * @param $atts * * @return array */ public function append_required_atts( $atts ) { $atts[] = 'columns'; $atts[] = 'show_excerpt'; $atts[] = 'override-listing-settings'; $atts[] = 'listing-settings'; return $atts; } /** * Display the inner content of listing * * @param string $atts Attribute of shortcode or ajax action * @param string $tab Tab * @param string $pagin_button Ajax action button */ function display_content( &$atts, $tab = '', $pagin_button = '' ) { // Process block level add and set props publisher_process_listing_block_ad( $atts ); $_check = array( 'more_btn' => '', 'infinity' => '', 'more_btn_infinity' => '', ); if ( isset( $_check[ $pagin_button ] ) ) { publisher_set_prop( 'show-listing-wrapper', false ); $atts['bs-pagin-add-to'] = '.listing'; $atts['bs-pagin-add-type'] = 'append'; } unset( $_check ); // Clear memory // Change title tag to p for adding more priority to content heading tags. if ( bf_get_current_sidebar() || publisher_inject_location_get_status() ) { publisher_set_blocks_title_tag( 'p' ); } // Set columns if ( isset( $atts['columns'] ) ) { $atts = publisher_improve_block_atts_for_size( $atts ); publisher_set_prop( 'listing-class', sprintf( 'columns-%d', $atts['columns'] ) ); } publisher_set_prop( 'show-excerpt', $atts['show_excerpt'] ); publisher_get_view( 'loop', 'listing-grid-2' ); } public function get_fields() { return array_merge( array( array( 'type' => 'tab', 'name' => __( 'General', 'publisher' ), 'id' => 'general' ), array( 'name' => __( 'Columns', 'publisher' ), 'id' => 'columns', // 'type' => 'select', 'options' => array( '1' => __( '1 Column', 'publisher' ), '2' => __( '2 Column', 'publisher' ), '3' => __( '3 Column', 'publisher' ), '4' => __( '4 Column', 'publisher' ), '5' => __( '5 Column', 'publisher' ), ), // 'vc_admin_label' => true, ), array( 'desc' => __( 'You can hide post excerpt with turning off this field.', 'publisher' ), 'name' => __( 'Show Post Excerpt?', 'publisher' ), 'section_class' => 'style-floated-left bordered', 'id' => 'show_excerpt', 'type' => 'switch', // 'vc_admin_label' => false, ), ), parent::get_fields(), parent::block_ad_fields() ); } /** * Registers Page Builder Add-on */ function page_builder_settings() { $settings = parent::page_builder_settings(); return array_merge( $settings, array( 'name' => __( 'Grid 2', 'publisher' ), "base" => $this->id, "icon" => '', 'desc' => __( '1 to 4 Column', 'publisher' ), "weight" => 10, "wrapper_height" => 'full', "category" => publisher_white_label_get_option( 'publisher' ), 'icon_url' => PUBLISHER_THEME_URI . 'images/shortcodes/bs-grid-listing-2.png', ) ); } // page_builder_settings } // Publisher_Grid_Listing_2_Shortcode Shortcode extends Publisher_Theme_Listing_Shortcode { function __construct( $id, $options ) { $id = 'bs-user-listing-2'; $_options = array( 'defaults' => array( 'columns' => 1, 'style' => 'user-listing-2', ), 'have_widget' => true, 'have_vc_add_on' => true, 'have_gutenberg_add_on' => true, 'query_type' => 'user', ); if ( isset( $options['shortcode_class'] ) ) { $_options['shortcode_class'] = $options['shortcode_class']; } parent::__construct( $id, $_options ); } /** * Display the inner content of listing * * @param string $atts Attribute of shortcode or ajax action * @param string $tab Tab * @param string $pagin_button Ajax action button */ function display_content( &$atts, $tab = '', $pagin_button = '' ) { publisher_set_prop( $this->id, $atts ); publisher_set_prop( 'user-query', $this->get_query() ); publisher_set_prop( 'listing-class', sprintf( 'columns-%d', $atts['columns'] ) ); publisher_get_view( 'loop', 'listing-user-2' ); } /** * @return array */ public function get_fields() { return array_merge( array( array( 'type' => 'tab', 'name' => __( 'General', 'publisher' ), 'id' => 'general', ), array( 'name' => __( 'Columns', 'publisher' ), 'id' => 'columns', // 'type' => 'select', 'options' => array( '1' => __( '1 Column', 'publisher' ), '2' => __( '2 Column', 'publisher' ), '3' => __( '3 Column', 'publisher' ), ), ), ), parent::get_fields() ); } /** * Registers Page Builder Add-on */ function page_builder_settings() { $settings = parent::page_builder_settings(); return array_merge( $settings, array( 'name' => __( 'User 2', 'publisher' ), "base" => $this->id, "weight" => 10, "wrapper_height" => 'full', "category" => publisher_white_label_get_option( 'publisher' ), 'icon_url' => PUBLISHER_THEME_URI . 'images/shortcodes/bs-user-listing-2.png', ) ); } // page_builder_settings } // Publisher_User_Listing_2_Shortcode /** * Publisher User Listing 2 Widget */ class Publisher_User_Listing_2_Widget extends Publisher_Theme_Listing_Widget { /** * Register widget. */ function __construct() { $this->defaults['columns'] = 1; parent::__construct( 'bs-user-listing-2', __( 'Listing - User 2', 'publisher' ), array( 'description' => __( 'Widget for Listing Authors', 'publisher' ) ), false, 'user' ); } /** * Adds backend fields */ function load_fields() { // Back end form fields $this->fields = array_merge( array( array( 'name' => '', 'id' => '_help_img', 'type' => 'image_preview', 'std' => PUBLISHER_THEME_URI . 'images/shortcodes/bs-user-listing-2-big-widget.png', ), array( 'name' => __( 'Widget Title', 'publisher' ), 'id' => 'title', 'type' => 'text', ), ), $this->fields_map_listing_filters(), $this->fields_map_listing_tabs(), $this->fields_map_listing_pagination(), $this->fields_map_listing_design() ); } /** * Loads widget -> shortcode default attrs */ public function load_defaults() { if ( $this->defaults_loaded ) { return; } $this->defaults_loaded = true; $this->defaults = BF_Shortcodes_Manager::factory( $this->base_widget_id, [], true )->defaults; $this->defaults['paginate'] = 'next_prev'; $this->defaults['pagination-show-label'] = 1; $this->defaults['columns'] = 1; $this->defaults['listing-settings'] = publisher_get_option( $this->get_listing_option_id() ); } } /** * Publisher User Listing 3 */ class Publisher_User_Listing_3_Shortcode extends Publisher_Theme_Listing_Shortcode { function __construct( $id, $options ) { $id = 'bs-user-listing-3'; $_options = array( 'defaults' => array( 'columns' => '', 'style' => 'user-listing-3', ), 'have_widget' => true, 'have_vc_add_on' => true, 'have_gutenberg_add_on' => true, 'query_type' => 'user', ); if ( isset( $options['shortcode_class'] ) ) { $_options['shortcode_class'] = $options['shortcode_class']; } parent::__construct( $id, $_options ); } /** * Display the inner content of listing * * @param string $atts Attribute of shortcode or ajax action * @param string $tab Tab * @param string $pagin_button Ajax action button */ function display_content( &$atts, $tab = '', $pagin_button = '' ) { publisher_set_prop( $this->id, $atts ); publisher_set_prop( 'user-query', $this->get_query() ); publisher_set_prop( 'listing-class', sprintf( 'columns-%d', $atts['columns'] ) ); publisher_set_prop( 'listing-columns', $atts['columns'] ); publisher_get_view( 'loop', 'listing-user-3' ); } /** * @return array */ public function get_fields() { return array_merge( array( array( 'type' => 'tab', 'name' => __( 'General', 'publisher' ), 'id' => 'general', ), array( 'name' => __( 'Columns', 'publisher' ), 'id' => 'columns', // 'type' => 'select', 'options' => array( '1' => __( '1 Column', 'publisher' ), '2' => __( '2 Column', 'publisher' ), '3' => __( '3 Column', 'publisher' ), ), ), ), parent::get_fields() ); } /** * Registers Page Builder Add-on */ function page_builder_settings() { $settings = parent::page_builder_settings(); return array_merge( $settings, array( 'name' => __( 'User 3', 'publisher' ), "base" => $this->id, "weight" => 10, "wrapper_height" => 'full', "category" => publisher_white_label_get_option( 'publisher' ), 'icon_url' => PUBLISHER_THEME_URI . 'images/shortcodes/bs-user-listing-3.png', ) ); } // page_builder_settings } // Publisher_User_Listing_3_Shortcode /** * Publisher User Listing 3 Widget */ class Publisher_User_Listing_3_Widget extends Publisher_Theme_Listing_Widget { /** * Register widget. */ function __construct() { $this->defaults['columns'] = 1; parent::__construct( 'bs-user-listing-3', __( 'Listing - User 3', 'publisher' ), array( 'description' => __( 'Widget for Listing Authors', 'publisher' ) ), false, 'user' ); } /** * Adds backend fields */ function load_fields() { // Back end form fields $this->fields = array_merge( array( array( 'name' => '', 'id' => '_help_img', 'type' => 'image_preview', 'std' => PUBLISHER_THEME_URI . 'images/shortcodes/bs-user-listing-3-big-widget.png', ), array( 'name' => __( 'Widget Title', 'publisher' ), 'id' => 'title', 'type' => 'text', ), ), $this->fields_map_listing_filters(), $this->fields_map_listing_tabs(), $this->fields_map_listing_pagination(), $this->fields_map_listing_design() ); } /** * Loads widget -> shortcode default attrs */ public function load_defaults() { if ( $this->defaults_loaded ) { return; } $this->defaults_loaded = true; $this->defaults = BF_Shortcodes_Manager::factory( $this->base_widget_id, [], true )->defaults; $this->defaults['paginate'] = 'next_prev'; $this->defaults['pagination-show-label'] = 1; $this->defaults['columns'] = 1; $this->defaults['listing-settings'] = publisher_get_option( $this->get_listing_option_id() ); } } /** * Publisher User Listing 4 */ class Publisher_User_Listing_4_Shortcode extends Publisher_Theme_Listing_Shortcode { function __construct( $id, $options ) { $id = 'bs-user-listing-4'; $_options = array( 'defaults' => array( 'columns' => 3, 'style' => 'user-listing-4', ), 'have_widget' => true, 'have_vc_add_on' => true, 'have_gutenberg_add_on' => true, 'query_type' => 'user', ); if ( isset( $options['shortcode_class'] ) ) { $_options['shortcode_class'] = $options['shortcode_class']; } parent::__construct( $id, $_options ); } /** * Display the inner content of listing * * @param string $atts Attribute of shortcode or ajax action * @param string $tab Tab * @param string $pagin_button Ajax action button */ function display_content( &$atts, $tab = '', $pagin_button = '' ) { publisher_set_prop( $this->id, $atts ); publisher_set_prop( 'user-query', $this->get_query() ); publisher_set_prop( 'listing-class', sprintf( 'columns-%d', $atts['columns'] ) ); publisher_get_view( 'loop', 'listing-user-4' ); } /** * @return array */ public function get_fields() { return array_merge( array( array( 'type' => 'tab', 'name' => __( 'General', 'publisher' ), 'id' => 'general', ), array( 'name' => __( 'Columns', 'publisher' ), 'id' => 'columns', // 'type' => 'select', 'options' => array( '1' => __( '1 Column', 'publisher' ), '2' => __( '2 Column', 'publisher' ), '3' => __( '3 Column', 'publisher' ), '4' => __( '4 Column', 'publisher' ), '5' => __( '5 Column', 'publisher' ), ), ), ), parent::get_fields() ); } /** * Registers Page Builder Add-on */ function page_builder_settings() { $settings = parent::page_builder_settings(); return array_merge( $settings, array( 'name' => __( 'User 4', 'publisher' ), "base" => $this->id, "weight" => 10, "wrapper_height" => 'full', "category" => publisher_white_label_get_option( 'publisher' ), 'icon_url' => PUBLISHER_THEME_URI . 'images/shortcodes/bs-user-listing-4.png', ) ); } // page_builder_settings } // Publisher_User_Listing_4_Shortcode /** * Publisher User Listing 4 Widget */ class Publisher_User_Listing_4_Widget extends Publisher_Theme_Listing_Widget { /** * Register widget. */ function __construct() { $this->defaults['columns'] = 1; parent::__construct( 'bs-user-listing-4', __( 'Listing - User 4', 'publisher' ), array( 'description' => __( 'Widget for Listing Authors', 'publisher' ) ), false, 'user' ); } /** * Adds backend fields */ function load_fields() { // Back end form fields $this->fields = array_merge( array( array( 'name' => '', 'id' => '_help_img', 'type' => 'image_preview', 'std' => PUBLISHER_THEME_URI . 'images/shortcodes/bs-user-listing-4-big-widget.png', ), array( 'name' => __( 'Widget Title', 'publisher' ), 'id' => 'title', 'type' => 'text', ), ), $this->fields_map_listing_filters(), $this->fields_map_listing_tabs(), $this->fields_map_listing_pagination(), $this->fields_map_listing_design() ); } /** * Loads widget -> shortcode default attrs */ public function load_defaults() { if ( $this->defaults_loaded ) { return; } $this->defaults_loaded = true; $this->defaults = BF_Shortcodes_Manager::factory( $this->base_widget_id, [], true )->defaults; $this->defaults['paginate'] = 'next_prev'; $this->defaults['pagination-show-label'] = 1; $this->defaults['columns'] = 1; $this->defaults['listing-settings'] = publisher_get_option( $this->get_listing_option_id() ); } } /** * Publisher User Listing 5 */ class Publisher_User_Listing_5_Shortcode extends Publisher_Theme_Listing_Shortcode { function __construct( $id, $options ) { $id = 'bs-user-listing-5'; $_options = array( 'defaults' => array( 'columns' => 3, 'style' => 'user-listing-5', ), 'have_widget' => true, 'have_vc_add_on' => true, 'have_gutenberg_add_on' => true, 'query_type' => 'user', ); if ( isset( $options['shortcode_class'] ) ) { $_options['shortcode_class'] = $options['shortcode_class']; } parent::__construct( $id, $_options ); } /** * Display the inner content of listing * * @param string $atts Attribute of shortcode or ajax action * @param string $tab Tab * @param string $pagin_button Ajax action button */ function display_content( &$atts, $tab = '', $pagin_button = '' ) { publisher_set_prop( $this->id, $atts ); publisher_set_prop( 'user-query', $this->get_query() ); publisher_set_prop( 'listing-class', sprintf( 'columns-%d', $atts['columns'] ) ); publisher_get_view( 'loop', 'listing-user-5' ); } /** * @return array */ public function get_fields() { return array_merge( array( array( 'type' => 'tab', 'name' => __( 'General', 'publisher' ), 'id' => 'general', ), array( 'name' => __( 'Columns', 'publisher' ), 'id' => 'columns', // 'type' => 'select', 'options' => array( '1' => __( '1 Column', 'publisher' ), '2' => __( '2 Column', 'publisher' ), '3' => __( '3 Column', 'publisher' ), '4' => __( '4 Column', 'publisher' ), '5' => __( '5 Column', 'publisher' ), ), ), ), parent::get_fields() ); } /** * Registers Page Builder Add-on */ function page_builder_settings() { $settings = parent::page_builder_settings(); return array_merge( $settings, array( 'name' => __( 'User 5', 'publisher' ), "base" => $this->id, "weight" => 10, "wrapper_height" => 'full', "category" => publisher_white_label_get_option( 'publisher' ), 'icon_url' => PUBLISHER_THEME_URI . 'images/shortcodes/bs-user-listing-5.png', ) ); } // page_builder_settings } // Publisher_User_Listing_5_Shortcode /** * Publisher User Listing 5 Widget */ class Publisher_User_Listing_5_Widget extends Publisher_Theme_Listing_Widget { /** * Register widget. */ function __construct() { $this->defaults['columns'] = 1; parent::__construct( 'bs-user-listing-5', __( 'Listing - User 5', 'publisher' ), array( 'description' => __( 'Widget for Listing Authors', 'publisher' ) ), false, 'user' ); } /** * Adds backend fields */ function load_fields() { // Back end form fields $this->fields = array_merge( array( array( 'name' => '', 'id' => '_help_img', 'type' => 'image_preview', 'std' => PUBLISHER_THEME_URI . 'images/shortcodes/bs-user-listing-5-big-widget.png', ), array( 'name' => __( 'Widget Title', 'publisher' ), 'id' => 'title', 'type' => 'text', ), ), $this->fields_map_listing_filters(), $this->fields_map_listing_tabs(), $this->fields_map_listing_pagination(), $this->fields_map_listing_design() ); } /** * Loads widget -> shortcode default attrs */ public function load_defaults() { if ( $this->defaults_loaded ) { return; } $this->defaults_loaded = true; $this->defaults = BF_Shortcodes_Manager::factory( $this->base_widget_id, [], true )->defaults; $this->defaults['paginate'] = 'next_prev'; $this->defaults['pagination-show-label'] = 1; $this->defaults['columns'] = 1; $this->defaults['listing-settings'] = publisher_get_option( $this->get_listing_option_id() ); } } []; $post = null; if ( $indexable->object_type === 'post' ) { $post = \get_post( $indexable->object_id ); $blocks = $this->blocks->get_all_blocks_from_content( $post->post_content ); } $context = $this->context_prototype->of( [ 'indexable' => $indexable, 'blocks' => $blocks, 'post' => $post, 'page_type' => $page_type, ] ); $context->presentation = $this->presentation_memoizer->get( $indexable, $context, $page_type ); $this->cache[ $indexable->id ] = $context; } return $this->cache[ $indexable->id ]; } /** * Clears the memoization of either a specific indexable or all indexables. * * @param Indexable|int|string|null $indexable Optional. The indexable or indexable id to clear the memoization of. * * @return void */ public function clear( $indexable = null ) { if ( $indexable instanceof Indexable ) { unset( $this->cache[ $indexable->id ] ); return; } if ( $indexable !== null ) { unset( $this->cache[ $indexable ] ); return; } $this->cache = []; } } []; $post = null; if ( $indexable->object_type === 'post' ) { $post = \get_post( $indexable->object_id ); $blocks = $this->blocks->get_all_blocks_from_content( $post->post_content ); } $context = $this->context_prototype->of( [ 'indexable' => $indexable, 'blocks' => $blocks, 'post' => $post, 'page_type' => $page_type, ] ); $context->presentation = $this->presentation_memoizer->get( $indexable, $context, $page_type ); $this->cache[ $indexable->id ] = $context; } return $this->cache[ $indexable->id ]; } /** * Clears the memoization of either a specific indexable or all indexables. * * @param Indexable|int|string|null $indexable Optional. The indexable or indexable id to clear the memoization of. * * @return void */ public function clear( $indexable = null ) { if ( $indexable instanceof Indexable ) { unset( $this->cache[ $indexable->id ] ); return; } if ( $indexable !== null ) { unset( $this->cache[ $indexable ] ); return; } $this->cache = []; } } []; $post = null; if ( $indexable->object_type === 'post' ) { $post = \get_post( $indexable->object_id ); $blocks = $this->blocks->get_all_blocks_from_content( $post->post_content ); } $context = $this->context_prototype->of( [ 'indexable' => $indexable, 'blocks' => $blocks, 'post' => $post, 'page_type' => $page_type, ] ); $context->presentation = $this->presentation_memoizer->get( $indexable, $context, $page_type ); $this->cache[ $indexable->id ] = $context; } return $this->cache[ $indexable->id ]; } /** * Clears the memoization of either a specific indexable or all indexables. * * @param Indexable|int|string|null $indexable Optional. The indexable or indexable id to clear the memoization of. * * @return void */ public function clear( $indexable = null ) { if ( $indexable instanceof Indexable ) { unset( $this->cache[ $indexable->id ] ); return; } if ( $indexable !== null ) { unset( $this->cache[ $indexable ] ); return; } $this->cache = []; } } []; $post = null; if ( $indexable->object_type === 'post' ) { $post = \get_post( $indexable->object_id ); $blocks = $this->blocks->get_all_blocks_from_content( $post->post_content ); } $context = $this->context_prototype->of( [ 'indexable' => $indexable, 'blocks' => $blocks, 'post' => $post, 'page_type' => $page_type, ] ); $context->presentation = $this->presentation_memoizer->get( $indexable, $context, $page_type ); $this->cache[ $indexable->id ] = $context; } return $this->cache[ $indexable->id ]; } /** * Clears the memoization of either a specific indexable or all indexables. * * @param Indexable|int|string|null $indexable Optional. The indexable or indexable id to clear the memoization of. * * @return void */ public function clear( $indexable = null ) { if ( $indexable instanceof Indexable ) { unset( $this->cache[ $indexable->id ] ); return; } if ( $indexable !== null ) { unset( $this->cache[ $indexable ] ); return; } $this->cache = []; } } []; $post = null; if ( $indexable->object_type === 'post' ) { $post = \get_post( $indexable->object_id ); $blocks = $this->blocks->get_all_blocks_from_content( $post->post_content ); } $context = $this->context_prototype->of( [ 'indexable' => $indexable, 'blocks' => $blocks, 'post' => $post, 'page_type' => $page_type, ] ); $context->presentation = $this->presentation_memoizer->get( $indexable, $context, $page_type ); $this->cache[ $indexable->id ] = $context; } return $this->cache[ $indexable->id ]; } /** * Clears the memoization of either a specific indexable or all indexables. * * @param Indexable|int|string|null $indexable Optional. The indexable or indexable id to clear the memoization of. * * @return void */ public function clear( $indexable = null ) { if ( $indexable instanceof Indexable ) { unset( $this->cache[ $indexable->id ] ); return; } if ( $indexable !== null ) { unset( $this->cache[ $indexable ] ); return; } $this->cache = []; } } []; $post = null; if ( $indexable->object_type === 'post' ) { $post = \get_post( $indexable->object_id ); $blocks = $this->blocks->get_all_blocks_from_content( $post->post_content ); } $context = $this->context_prototype->of( [ 'indexable' => $indexable, 'blocks' => $blocks, 'post' => $post, 'page_type' => $page_type, ] ); $context->presentation = $this->presentation_memoizer->get( $indexable, $context, $page_type ); $this->cache[ $indexable->id ] = $context; } return $this->cache[ $indexable->id ]; } /** * Clears the memoization of either a specific indexable or all indexables. * * @param Indexable|int|string|null $indexable Optional. The indexable or indexable id to clear the memoization of. * * @return void */ public function clear( $indexable = null ) { if ( $indexable instanceof Indexable ) { unset( $this->cache[ $indexable->id ] ); return; } if ( $indexable !== null ) { unset( $this->cache[ $indexable ] ); return; } $this->cache = []; } } []; $post = null; if ( $indexable->object_type === 'post' ) { $post = \get_post( $indexable->object_id ); $blocks = $this->blocks->get_all_blocks_from_content( $post->post_content ); } $context = $this->context_prototype->of( [ 'indexable' => $indexable, 'blocks' => $blocks, 'post' => $post, 'page_type' => $page_type, ] ); $context->presentation = $this->presentation_memoizer->get( $indexable, $context, $page_type ); $this->cache[ $indexable->id ] = $context; } return $this->cache[ $indexable->id ]; } /** * Clears the memoization of either a specific indexable or all indexables. * * @param Indexable|int|string|null $indexable Optional. The indexable or indexable id to clear the memoization of. * * @return void */ public function clear( $indexable = null ) { if ( $indexable instanceof Indexable ) { unset( $this->cache[ $indexable->id ] ); return; } if ( $indexable !== null ) { unset( $this->cache[ $indexable ] ); return; } $this->cache = []; } } Après un mystique: Léonard Kouassi soulage ses parents de Awekro - JusteInfos- Information générale

Après un mystique: Léonard Kouassi soulage ses parents de Awekro

S'inscrire à la newsletter
Listen to this article

Il y a quelques jours, Awekro, village situé à une vingtaine de kilomètres de Kokumbo, chef-lieu de Sous-préfecture, a été endeuillé par un sinistre un peu surréaliste qui a causé la mort d’une personne. Les recoupements des différents témoignages ont fait comprendre qu’en effet, il y a quelques jours, en fin d’après-midi, aux environs de 17h, un vent d’une rare violence a soufflé sur le village et a décoiffé bon nombre de maisons.

Le donateur en costume a fait une photo de famille avec ses parents sinistrés.

Dans sa rage destructrice, ce vent s’est invité au domicile du sieur Binger où il a non seulement balayé tout sur son passage  mais cassé la toiture de sa maison qui s’est finalement écroulée sur lui. Binger est mort sur le champ. Tout s’est passé en moins de 5 minutes. Et le vent mortel s’est arrêté.

Tout le village était paniqué et tous se posaient des questions sur l’origine de ce vent assassin. Du coup, Awekro était endeuillé et ne savait à quel Saint se vouer. Quand Léonard Kouassi, fils et cadre de Kokumbo, homme politique de la région du Bélier a appris la nouvelle, il a été affecté. Aussi a-t-il décidé de se rendre sur les lieux pour soutenir ses parents.

Le samedi 7 octobre dernier, Léonard Kouassi a rencontré la cheffe du village d’Awekro entourée de ses notables pour leur signifier toute sa compassion et leur faire des dons en vivres, notamment, des sacs de riz, des packs d’huile et des dons en numéraire. Geste dont les habitants d’Awekro ont approuvé à sa juste valeur.

Par la voix de M’Bra Koffi, porte-canne de la cheffe du village, les villageois ont exprimé leur reconnaissance à leur fils Léonard Kouassi et ont promis en retour le soutenir dans son parcours en vue du développement et de l’épanouissement de la zone de Kokumbo.

Pour finir, Léonard Kouassi s’est confié à la presse. « Après le sinistre qui s’est passé au niveau d’Awekro, je ne pouvais pas rester indifférent. Comme je l’ai toujours fait, il fallait que je vole au secours de mes parents pour leur apporter ma compassion, les fortifier et leur donner goût à la vie.

Car avec les nouvelles qui me sont parvenues, cela sort de l’ordinaire et frise le mysticisme. Je leur dis yako. Que mes parents d’Awekro sachent que je suis leur fils, leur enfant, et que je serai toujours là pour les soutenir, les soulager  compatir à leur douleur et aussi partager leur joie », a-t-il déclaré.

Bledja Afitenou

AwekroKokumboVent destructeur