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( 'remax_store_page_template_parts_content' ); is added * if is_page is false - do_action( 'remax_store_template_parts_content' ); is added. * @since 1.0.0 * @return void */ public function loop_markup( $is_page = false ) { ?>
'; } } /** * Add closing wrapper div for 'remax-store-row' after Remax_Store template part. * * @since 1.0.0 * @return void */ public function remax_store_templat_part_wrap_close() { if ( is_archive() || is_search() || is_home() ) { echo ''; } } } /** * Initialize class object with 'get_instance()' method */ Remax_Store_Loop::get_instance(); endif;