Gestionnaire de fichiers - Editer - /home/wwgoat/public_html/blog/wp-content/themes/foxiz/templates/blocks/classic-1.php
Arrière
<?php /** Don't load directly */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! function_exists( 'foxiz_get_classic_1' ) ) { /** * @param array $settings * @param null $_query * * @return false|string */ function foxiz_get_classic_1( $settings = array(), $_query = null ) { $settings = wp_parse_args( $settings, array( 'uuid' => '', 'name' => 'classic_1' ) ); $settings = foxiz_detect_dynamic_query( $settings ); if ( empty( $settings['pagination'] ) ) { $settings['no_found_rows'] = true; } $settings['classes'] = 'block-classic block-big block-classic-1'; if ( ! $_query ) { $_query = foxiz_query( $settings ); } ob_start(); foxiz_block_open_tag( $settings, $_query ); if ( ! $_query->have_posts() ) { foxiz_error_posts( $_query ); } else { foxiz_block_inner_open_tag( $settings ); foxiz_loop_classic_1( $settings, $_query ); foxiz_block_inner_close_tag($settings); foxiz_render_pagination( $settings, $_query ); wp_reset_postdata(); } foxiz_block_close_tag(); return ob_get_clean(); } } if ( ! function_exists( 'foxiz_loop_classic_1' ) ) { /** * @param $settings * @param $_query */ function foxiz_loop_classic_1( $settings, $_query ) { $settings = foxiz_get_design_standard_block( $settings, 'classic_1' ); while ( $_query->have_posts() ) : $_query->the_post(); foxiz_classic_1( $settings ); endwhile; } }
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0.01 |
proxy
|
phpinfo
|
Réglages