Gestionnaire de fichiers - Editer - /home/wwgoat/public_html/blog/wp-content/themes/foxiz/templates/modules/grid.php
Arrière
<?php /** Don't load directly */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! function_exists( 'foxiz_grid_1' ) ) { /** * @param $settings */ function foxiz_grid_1( $settings = array() ) { $settings['post_classes'] = 'p-grid p-grid-1'; if ( empty( $settings['title_tag'] ) ) { $settings['title_tag'] = 'h3'; } if ( empty( $settings['crop_size'] ) ) { $settings['crop_size'] = 'foxiz_crop_g2'; } $settings['top_spacing'] = true; ?> <div class="<?php foxiz_post_classes( $settings ); ?>"> <?php if ( foxiz_is_featured_image( $settings['crop_size'] ) ) : ?> <div class="feat-holder"> <?php foxiz_entry_featured( $settings ); foxiz_entry_top( $settings ); ?> </div> <?php endif; ?> <div class="p-content"> <?php foxiz_entry_counter( $settings ); foxiz_entry_title( $settings ); foxiz_entry_review( $settings ); foxiz_entry_excerpt( $settings ); foxiz_entry_meta( $settings ); foxiz_entry_readmore( $settings ); foxiz_entry_bookmark_action( $settings ); ?> </div> </div> <?php } } if ( ! function_exists( 'foxiz_grid_2' ) ) { /** * @param $settings */ function foxiz_grid_2( $settings = array() ) { $settings['post_classes'] = 'p-grid p-grid-2'; if ( empty( $settings['title_tag'] ) ) { $settings['title_tag'] = 'h3'; } if ( empty( $settings['crop_size'] ) ) { $settings['crop_size'] = 'foxiz_crop_g2'; } ?> <div class="<?php foxiz_post_classes( $settings ); ?>"> <?php if ( foxiz_is_featured_image( $settings['crop_size'] ) ) : ?> <div class="feat-holder"> <?php foxiz_entry_featured( $settings ); ?> </div> <?php endif; ?> <div class="p-content"> <?php foxiz_entry_counter( $settings ); foxiz_entry_top( $settings ); foxiz_entry_title( $settings ); foxiz_entry_review( $settings ); foxiz_entry_excerpt( $settings ); foxiz_entry_meta( $settings ); foxiz_entry_readmore( $settings ); foxiz_entry_bookmark_action( $settings ); ?> </div> </div> <?php } } if ( ! function_exists( 'foxiz_grid_small_1' ) ) { /** * @param $settings */ function foxiz_grid_small_1( $settings = array() ) { $settings['post_classes'] = 'p-grid p-grid-small-1'; if ( empty( $settings['title_tag'] ) ) { $settings['title_tag'] = 'h4'; } if ( empty( $settings['crop_size'] ) ) { $settings['crop_size'] = 'foxiz_crop_g1'; } if ( ! empty( $settings['featured_position'] ) ) { $settings['post_classes'] .= ' m-featured-' . esc_attr( $settings['featured_position'] ); } $settings['top_spacing'] = true; ?> <div class="<?php foxiz_post_classes( $settings ); ?>"> <?php if ( foxiz_is_featured_image( $settings['crop_size'] ) ) : ?> <div class="feat-holder"> <?php foxiz_entry_featured( $settings ); foxiz_entry_top( $settings ); ?> </div> <?php endif; if ( ! empty( $settings['counter'] ) ) : ?> <div class="counter-holder"> <div class="counter-el"></div> <?php endif; ?> <div class="p-content"> <?php foxiz_entry_title( $settings ); foxiz_entry_review( $settings ); foxiz_entry_excerpt( $settings ); foxiz_entry_meta( $settings ); foxiz_entry_readmore( $settings ); foxiz_entry_bookmark_action( $settings ); ?> </div> <?php if ( ! empty( $settings['counter'] ) ) : ?> </div> <?php endif; ?> </div> <?php } } if ( ! function_exists( 'foxiz_grid_box_1' ) ) { /** * @param $settings */ function foxiz_grid_box_1( $settings = array() ) { if ( empty( $settings['box_style'] ) ) { $settings['box_style'] = 'bg'; } $settings['post_classes'] = 'p-grid p-box p-grid-box-1 box-' . $settings['box_style']; if ( empty( $settings['title_tag'] ) ) { $settings['title_tag'] = 'h3'; } if ( empty( $settings['crop_size'] ) ) { $settings['crop_size'] = 'foxiz_crop_g2'; } $settings['top_spacing'] = true; ?> <div class="<?php foxiz_post_classes( $settings ); ?>"> <div class="grid-box"> <?php if ( foxiz_is_featured_image( $settings['crop_size'] ) ) : ?> <div class="feat-holder"> <?php foxiz_entry_featured( $settings ); foxiz_entry_top( $settings ); ?> </div> <?php endif; ?> <div class="p-content"> <?php foxiz_entry_counter( $settings ); foxiz_entry_title( $settings ); foxiz_entry_review( $settings ); foxiz_entry_excerpt( $settings ); foxiz_entry_meta( $settings ); foxiz_entry_readmore( $settings ); foxiz_entry_bookmark_action( $settings ); ?> </div> </div> </div> <?php } } if ( ! function_exists( 'foxiz_grid_box_2' ) ) { /** * @param $settings */ function foxiz_grid_box_2( $settings = array() ) { $settings['post_classes'] = 'p-grid p-box p-grid-box-2 box-' . $settings['box_style']; if ( empty( $settings['title_tag'] ) ) { $settings['title_tag'] = 'h3'; } if ( empty( $settings['crop_size'] ) ) { $settings['crop_size'] = 'foxiz_crop_g2'; } ?> <div class="<?php foxiz_post_classes( $settings ); ?>"> <div class="grid-box"> <?php if ( foxiz_is_featured_image( $settings['crop_size'] ) ) : ?> <div class="feat-holder"> <?php foxiz_entry_featured( $settings ); ?> </div> <?php endif; ?> <div class="p-content"> <?php foxiz_entry_counter( $settings ); foxiz_entry_top( $settings ); foxiz_entry_title( $settings ); foxiz_entry_review( $settings ); foxiz_entry_excerpt( $settings ); foxiz_entry_meta( $settings ); foxiz_entry_readmore( $settings ); foxiz_entry_bookmark_action( $settings ); ?> </div> </div> </div> <?php } }
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0 |
proxy
|
phpinfo
|
Réglages