loop_markup( true ); } /** * Template part loop * * @param boolean $is_page Loop outputs different content action for content page and default content. * if is_page is set to true - do_action( 'astra_page_template_parts_content' ); is added * if is_page is false - do_action( 'astra_template_parts_content' ); is added. * @since 1.2.7 * @return void */ public function loop_markup( $is_page = false ) { ?>
'; } } /** * Add closing wrapper div for 'ast-row' after Astra template part. * * @since 1.2.7 * @return void */ public function astra_templat_part_wrap_close() { if ( is_archive() || is_search() || is_home() ) { echo ''; } } } /** * Initialize class object with 'get_instance()' method */ Astra_Loop::get_instance(); endif;