Gestionnaire de fichiers - Editer - /home/wwgoat/public_html/blog/single.tar
Arrière
error_log 0000644 00000032106 14720717441 0006472 0 ustar 00 [14-Jun-2023 21:35:54 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [14-Jun-2023 21:35:54 UTC] PHP Deprecated: Function create_function() is deprecated in /home/wwgoat/public_html/blog/wp-content/themes/foxiz/templates/single/audio-1.php on line 1 [15-Jun-2023 12:00:39 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [15-Jun-2023 12:00:39 UTC] PHP Deprecated: Function create_function() is deprecated in /home/wwgoat/public_html/blog/wp-content/themes/foxiz/templates/single/audio-1.php on line 1 [15-Jun-2023 12:00:51 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [15-Jun-2023 12:00:51 UTC] PHP Deprecated: Function create_function() is deprecated in /home/wwgoat/public_html/blog/wp-content/themes/foxiz/templates/single/audio-1.php on line 1 [15-Jun-2023 12:01:02 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [15-Jun-2023 12:01:02 UTC] PHP Deprecated: Function create_function() is deprecated in /home/wwgoat/public_html/blog/wp-content/themes/foxiz/templates/single/audio-1.php on line 1 [15-Jun-2023 12:01:02 UTC] PHP Parse error: syntax error, unexpected end of file in /home/wwgoat/public_html/blog/wp-content/themes/foxiz/templates/single/audio-1.php(1) : runtime-created function(1) : eval()'d code(1) : eval()'d code on line 1 [15-Jun-2023 12:01:21 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [15-Jun-2023 12:01:21 UTC] PHP Deprecated: Function create_function() is deprecated in /home/wwgoat/public_html/blog/wp-content/themes/foxiz/templates/single/audio-1.php on line 1 [15-Jun-2023 21:03:22 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [15-Jun-2023 21:04:32 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [15-Jun-2023 22:15:01 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [15-Jun-2023 22:20:13 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [15-Jun-2023 22:21:09 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [15-Jun-2023 22:22:00 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [16-Jun-2023 07:41:06 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [16-Jun-2023 08:11:45 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [16-Jun-2023 14:09:41 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [17-Jun-2023 03:16:23 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [17-Jun-2023 07:51:39 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [17-Jun-2023 16:20:07 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [18-Jun-2023 05:30:35 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [18-Jun-2023 18:23:16 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [19-Jun-2023 07:32:12 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [19-Jun-2023 20:33:19 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [20-Jun-2023 09:35:28 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [20-Jun-2023 22:38:19 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [21-Jun-2023 11:16:01 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [22-Jun-2023 00:20:55 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [22-Jun-2023 12:54:54 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 [23-Jun-2023 01:32:43 UTC] PHP Warning: PHP Startup: Unable to load dynamic library 'imagick.so' (tried: /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so (libMagickWand.so.5: cannot open shared object file: No such file or directory), /opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so (/opt/cpanel/ea-php73/root/usr/lib64/php/modules/imagick.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 video-1.php 0000644 00000003640 14720717441 0006533 0 ustar 00 <?php /** Don't load directly */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! function_exists( 'foxiz_render_single_video_1' ) ) { function foxiz_render_single_video_1() { $classes = array(); $classes[] = 'single-standard-1 single-embed-1'; $sidebar_name = foxiz_get_single_setting( 'sidebar_name' ); $line_length = foxiz_get_option( 'single_post_line_length' ); $sidebar_position = foxiz_get_single_sidebar_position(); if ( 'none' === $sidebar_position ) { $sidebar_name = false; } if ( empty( $sidebar_name ) || ! is_active_sidebar( $sidebar_name ) ) { $classes[] = 'without-sidebar'; } else { $classes[] = 'is-sidebar-' . esc_attr( $sidebar_position ); } if ( foxiz_get_single_sticky_sidebar() ) { $classes[] = 'sticky-sidebar'; } if ( ! empty( $line_length ) ) { $classes[] = 'optimal-line-length'; } ?> <div class="<?php echo join( ' ', $classes ); ?>"> <div class="rb-container edge-padding"> <?php foxiz_single_open_tag(); ?> <header class="single-header"> <?php foxiz_single_breadcrumb(); foxiz_single_entry_category(); foxiz_single_title( 'fw-headline' ); foxiz_single_tagline( 'fw-tagline' ); foxiz_single_header_meta(); ?> </header> <div class="grid-container"> <div class="s-ct"> <div class="s-feat-outer"> <?php foxiz_single_video_embed(); ?> </div> <?php foxiz_single_content(); foxiz_single_author_box(); foxiz_single_next_prev(); foxiz_single_comment(); ?> </div> <?php foxiz_single_sidebar( $sidebar_name ); ?> </div> <?php foxiz_single_close_tag(); foxiz_single_footer(); ?> </div> </div> <?php } } standard-5.php 0000644 00000004425 14720717441 0007233 0 ustar 00 <?php /** Don't load directly */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! function_exists( 'foxiz_render_single_standard_5' ) ) { function foxiz_render_single_standard_5() { $classes = array(); $classes[] = 'single-standard-5'; $sidebar_name = foxiz_get_single_setting( 'sidebar_name' ); $line_length = foxiz_get_option( 'single_post_line_length' ); $sidebar_position = foxiz_get_single_sidebar_position(); if ( 'none' === $sidebar_position ) { $sidebar_name = false; } if ( empty( $sidebar_name ) || ! is_active_sidebar( $sidebar_name ) ) { $classes[] = 'without-sidebar'; } else { $classes[] = 'is-sidebar-' . esc_attr( $sidebar_position ); } if ( foxiz_get_single_sticky_sidebar() ) { $classes[] = 'sticky-sidebar'; } if ( ! empty( $line_length ) ) { $classes[] = 'optimal-line-length'; } ?> <div class="<?php echo join( ' ', $classes ); ?>"> <?php foxiz_single_open_tag(); ?> <header class="single-header"> <div class="single-header-inner"> <div class="s-feat-holder full-dark-overlay"> <?php the_post_thumbnail( '2048x2048', array( 'class' => 'featured-img' ) ); ?> </div> <div class="rb-container edge-padding"> <div class="single-header-content overlay-text"> <?php foxiz_single_breadcrumb(); foxiz_single_entry_category(); foxiz_single_title( 'fw-headline' ); foxiz_single_tagline( 'fw-tagline' ); foxiz_single_header_meta(); ?> </div> </div> </div> <?php if ( foxiz_get_single_featured_caption() ) : ?> <div class="single-caption-outer rb-container edge-padding"> <?php foxiz_single_featured_caption(); ?> </div> <?php endif; ?> </header> <div class="rb-container edge-padding"> <div class="grid-container"> <div class="s-ct"> <?php foxiz_single_content(); foxiz_single_author_box(); foxiz_single_next_prev(); foxiz_single_comment(); ?> </div> <?php foxiz_single_sidebar( $sidebar_name ); ?> </div> </div> <?php foxiz_single_close_tag(); ?> <div class="rb-container edge-padding single-footer"> <?php foxiz_single_footer(); ?> </div> </div> <?php } } related.php 0000644 00000020323 14720717441 0006704 0 ustar 00 <?php /** Don't load directly */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! function_exists( 'foxiz_get_layout_related_1' ) ) { /** * @param $settings * * @return false */ function foxiz_get_layout_related_1( $settings ) { if ( empty( $settings['post_id'] ) ) { $settings['post_id'] = get_the_ID(); } if ( empty( $settings['heading_tag'] ) ) { $settings['heading_tag'] = 'h4'; } $flag = true; $_query = foxiz_get_related_data( $settings ); if ( empty( $_query ) || ! method_exists( $_query, 'have_posts' ) || ! $_query->have_posts() ) { return false; } ?> <div class="related-sec related-1"> <div class="inner"> <?php if ( ! empty( $settings['heading'] ) ) { echo foxiz_get_heading( array( 'title' => $settings['heading'], 'layout' => $settings['heading_layout'], 'html_tag' => $settings['heading_tag'] ) ); } ?> <div class="block-inner"> <?php while ( $_query->have_posts() ) : $_query->the_post(); if ( $flag ) { foxiz_list_small_2( array( 'featured_position' => 'right', 'crop_size' => 'thumbnail', 'title_tag' => 'h5', ) ); $flag = false; } else { foxiz_list_inline( array( 'title_tag' => 'h6', ) ); } endwhile; wp_reset_postdata(); ?> </div> </div> </div> <?php } } if ( ! function_exists( 'foxiz_get_layout_related_2' ) ) { /** * @param $settings * * @return false */ function foxiz_get_layout_related_2( $settings ) { if ( empty( $settings['post_id'] ) ) { $settings['post_id'] = get_the_ID(); } if ( empty( $settings['heading_tag'] ) ) { $settings['heading_tag'] = 'h4'; } $_query = foxiz_get_related_data( $settings ); if ( empty( $_query ) || ! method_exists( $_query, 'have_posts' ) || ! $_query->have_posts() ) { return false; } ?> <div class="related-sec related-2"> <div class="inner block-list-small-2"> <?php if ( ! empty( $settings['heading'] ) ) { echo foxiz_get_heading( array( 'title' => $settings['heading'], 'layout' => $settings['heading_layout'], 'html_tag' => $settings['heading_tag'] ) ); } ?> <div class="block-inner"> <?php while ( $_query->have_posts() ) : $_query->the_post(); foxiz_list_small_2( array( 'featured_position' => 'right', 'crop_size' => 'thumbnail', 'title_tag' => 'h5', ) ); endwhile; wp_reset_postdata(); ?></div> </div> </div> <?php } } if ( ! function_exists( 'foxiz_get_layout_related_3' ) ) { /** * @param $settings * * @return false */ function foxiz_get_layout_related_3( $settings ) { if ( empty( $settings['post_id'] ) ) { $settings['post_id'] = get_the_ID(); } if ( empty( $settings['heading_tag'] ) ) { $settings['heading_tag'] = 'h4'; } $_query = foxiz_get_related_data( $settings ); if ( empty( $_query ) || ! method_exists( $_query, 'have_posts' ) || ! $_query->have_posts() ) { return false; } ?> <div class="related-sec related-3"> <div class="inner block-small block-hrc hrc-1"> <?php if ( ! empty( $settings['heading'] ) ) { echo foxiz_get_heading( array( 'title' => $settings['heading'], 'layout' => $settings['heading_layout'], 'html_tag' => $settings['heading_tag'] ) ); } ?> <div class="block-inner"> <?php foxiz_loop_hierarchical_1( array( 'title_tag' => 'h4', 'sub_title_tag' => 'h6', 'crop_size' => 'foxiz_crop_g1', ), $_query ); wp_reset_postdata(); ?> </div> </div> </div> <?php } } if ( ! function_exists( 'foxiz_get_layout_related_4' ) ) { /** * @param $settings * * @return false */ function foxiz_get_layout_related_4( $settings ) { if ( empty( $settings['post_id'] ) ) { $settings['post_id'] = get_the_ID(); } if ( empty( $settings['heading_tag'] ) ) { $settings['heading_tag'] = 'h4'; } if ( empty( $settings['title_tag'] ) ) { $settings['title_tag'] = 'h5'; } $_query = foxiz_get_related_data( $settings ); if ( empty( $_query ) || ! method_exists( $_query, 'have_posts' ) || ! $_query->have_posts() ) { return false; } ?> <div class="related-sec related-4"> <div class="inner"> <?php if ( ! empty( $settings['heading'] ) ) { echo foxiz_get_heading( array( 'title' => $settings['heading'], 'layout' => $settings['heading_layout'], 'html_tag' => $settings['heading_tag'] ) ); } ?> <div class="block-inner"> <?php while ( $_query->have_posts() ) : $_query->the_post(); foxiz_list_inline( $settings ); endwhile; wp_reset_postdata(); ?> </div> </div> </div> <?php } } if ( ! function_exists( 'foxiz_get_layout_related_5' ) ) { /** * @param $settings * * @return false */ function foxiz_get_layout_related_5( $settings ) { if ( empty( $settings['post_id'] ) ) { $settings['post_id'] = get_the_ID(); } if ( empty( $settings['heading_tag'] ) ) { $settings['heading_tag'] = 'h3'; } if ( empty( $settings['title_tag'] ) ) { $settings['title_tag'] = 'h4'; } $_query = foxiz_get_related_data( $settings ); if ( empty( $_query ) || ! method_exists( $_query, 'have_posts' ) || ! $_query->have_posts() ) { return false; } ?> <div class="related-sec related-5"> <div class="inner"> <?php if ( ! empty( $settings['heading'] ) ) { echo foxiz_get_heading( array( 'title' => $settings['heading'], 'layout' => $settings['heading_layout'], 'html_tag' => $settings['heading_tag'] ) ); } ?> <div class="block-inner"> <?php while ( $_query->have_posts() ) : $_query->the_post(); foxiz_list_inline( $settings ); endwhile; wp_reset_postdata(); ?></div> </div> </div> <?php } } if ( ! function_exists( 'foxiz_get_layout_related_6' ) ) { /** * @param $settings * * @return false */ function foxiz_get_layout_related_6( $settings ) { if ( empty( $settings['post_id'] ) ) { $settings['post_id'] = get_the_ID(); } if ( empty( $settings['heading_tag'] ) ) { $settings['heading_tag'] = 'h4'; } if ( empty( $settings['title_tag'] ) ) { $settings['title_tag'] = 'h5'; } $_query = foxiz_get_related_data( $settings ); if ( empty( $_query ) || ! method_exists( $_query, 'have_posts' ) || ! $_query->have_posts() ) { return false; } ?> <div class="related-sec related-6"> <div class="inner block-grid-small-1 rb-columns rb-col-3 is-gap-10"> <?php if ( ! empty( $settings['heading'] ) ) { echo foxiz_get_heading( array( 'title' => $settings['heading'], 'layout' => $settings['heading_layout'], 'html_tag' => $settings['heading_tag'] ) ); } ?> <div class="block-inner"> <?php foxiz_loop_grid_small_1( array( 'title_tag' => $settings['title_tag'], 'columns' => 3, 'columns_tablet' => 3, 'columns_mobile' => 1, 'crop_size' => 'foxiz_crop_g1', 'design_override' => true, ), $_query ); wp_reset_postdata(); ?> </div> </div> </div> <?php } } /** inline related */ add_filter( 'the_content', 'foxiz_inline_content_related', 1 ); if ( ! function_exists( 'foxiz_inline_content_related' ) ) { function foxiz_inline_content_related( $content ) { $shortcode = foxiz_get_option( 'single_post_inline_related' ); if ( empty( $shortcode ) || strpos( $content, '[ruby_related' ) ) { return $content; } $position = absint( foxiz_get_option( 'single_post_inline_related_pos' ) ); if ( empty( $position ) ) { $position = 5; } $tag = '</p>'; $content = explode( $tag, $content ); foreach ( $content as $index => $paragraph ) { if ( $position === $index ) { $content[ $index ] = do_shortcode( $shortcode ) . $paragraph; } if ( trim( $paragraph ) ) { $content[ $index ] .= $tag; } } return implode( '', $content ); } } standard-6.php 0000644 00000004446 14720717441 0007237 0 ustar 00 <?php /** Don't load directly */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! function_exists( 'foxiz_render_single_standard_6' ) ) { function foxiz_render_single_standard_6() { $classes = array(); $classes[] = 'single-standard-6'; $sidebar_name = foxiz_get_single_setting( 'sidebar_name' ); $line_length = foxiz_get_option( 'single_post_line_length' ); $sidebar_position = foxiz_get_single_sidebar_position(); if ( 'none' === $sidebar_position ) { $sidebar_name = false; } if ( empty( $sidebar_name ) || ! is_active_sidebar( $sidebar_name ) ) { $classes[] = 'without-sidebar'; } else { $classes[] = 'is-sidebar-' . esc_attr( $sidebar_position ); } if ( foxiz_get_single_sticky_sidebar() ) { $classes[] = 'sticky-sidebar'; } if ( ! empty( $line_length ) ) { $classes[] = 'optimal-line-length'; } ?> <div class="<?php echo join( ' ', $classes ); ?>"> <?php foxiz_single_open_tag(); ?> <header class="single-header"> <div class="rb-wide-container edge-padding"> <div class="single-header-columns"> <div class="single-header-left"> <?php foxiz_single_breadcrumb(); foxiz_single_entry_category(); foxiz_single_title( 'fw-headline' ); foxiz_single_tagline(); foxiz_single_header_meta(); ?> </div> <div class="s-feat-outer"> <div class="featured-vertical"> <?php the_post_thumbnail( 'foxiz_crop_o1', array( 'class' => 'featured-img' ) ); ?> </div> <?php if ( foxiz_get_single_featured_caption() ) : ?> <div class="caption-holder overlay-text"> <?php foxiz_single_featured_caption(); ?> </div> <?php endif; ?> </div> </div> </div> </header> <div class="rb-container edge-padding"> <div class="grid-container"> <div class="s-ct"> <?php foxiz_single_content(); foxiz_single_author_box(); foxiz_single_next_prev(); foxiz_single_comment(); ?> </div> <?php foxiz_single_sidebar( $sidebar_name ); ?> </div> </div> <?php foxiz_single_close_tag(); ?> <div class="rb-container edge-padding single-footer"> <?php foxiz_single_footer(); ?> </div> </div> <?php } } audio-3.php 0000644 00000004147 14720717441 0006533 0 ustar 00 <?php /** Don't load directly */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! function_exists( 'foxiz_render_single_audio_3' ) ) { function foxiz_render_single_audio_3() { $classes = array(); $classes[] = 'single-standard-7 single-embed-3'; $sidebar_name = foxiz_get_single_setting( 'sidebar_name' ); $line_length = foxiz_get_option( 'single_post_line_length' ); $sidebar_position = foxiz_get_single_sidebar_position(); if ( 'none' === $sidebar_position ) { $sidebar_name = false; } if ( empty( $sidebar_name ) || ! is_active_sidebar( $sidebar_name ) ) { $classes[] = 'without-sidebar'; } else { $classes[] = 'is-sidebar-' . esc_attr( $sidebar_position ); } if ( foxiz_get_single_sticky_sidebar() ) { $classes[] = 'sticky-sidebar'; } if ( ! empty( $line_length ) ) { $classes[] = 'optimal-line-length'; } ?> <div class="<?php echo join( ' ', $classes ); ?>"> <?php foxiz_single_open_tag(); ?> <header class="single-header"> <div class="rb-small-container edge-padding"> <?php foxiz_single_breadcrumb(); foxiz_single_entry_category(); foxiz_single_title(); foxiz_single_tagline(); foxiz_single_header_meta(); ?> </div> <div class="rb-container edge-padding"> <?php foxiz_single_audio_embed(); ?> </div> </header> <div class="rb-container edge-padding"> <div class="grid-container"> <div class="s-ct"> <?php foxiz_single_content(); foxiz_single_author_box(); foxiz_single_next_prev(); foxiz_single_comment(); ?> </div> <?php foxiz_single_sidebar( $sidebar_name ); ?> </div> </div> <?php foxiz_single_close_tag(); ?> <div class="rb-container edge-padding"> <?php foxiz_single_footer(); ?> </div> </div> <?php } } review-comment.php 0000644 00000013331 14720717441 0010226 0 ustar 00 <?php /** Don't load directly */ if ( ! defined( 'ABSPATH' ) ) { exit; } global $post; $foxiz_class_name = 'comment-holder'; if ( foxiz_get_option( 'single_post_comment_button' ) ) { $foxiz_class_name .= ' is-hidden'; } if ( ! get_comments_number() ) { $foxiz_class_name .= ' no-comment'; } ?><div id="rb-user-reviews-<?php echo esc_attr( get_the_ID() ); ?>" class="comment-box-wrap entry-sec rb-user-reviews"> <div class="comment-box-header"> <?php if ( foxiz_get_option( 'single_post_comment_button' ) || foxiz_is_amp() ) : $review_link = '#'; if ( foxiz_is_amp() ) { $review_link = get_comments_link( $post ); $review_link = add_query_arg( 'noamp', 'mobile', $review_link ); } ?><span class="comment-box-title h3"><?php foxiz_render_svg( 'feedback' ); ?><span class="is-invisible"><?php echo foxiz_get_review_heading( get_the_ID() ); ?></span></span> <a href="<?php echo esc_url($review_link); ?>" class="show-post-comment"><?php foxiz_render_svg( 'feedback' ); ?><?php echo foxiz_get_review_heading( get_the_ID() ); ?></a> <?php else: ?> <span class="h3"><?php foxiz_render_svg( 'feedback' ); ?><?php echo foxiz_get_review_heading( get_the_ID() ); ?></span> <?php endif; ?> </div> <?php if ( ! foxiz_is_amp() ) : ?> <div class="<?php echo esc_attr( $foxiz_class_name ); ?>"> <?php if ( comments_open() || pings_open() ) : ?> <div id="comments" class="comments-area rb-reviews-area"> <?php if ( have_comments() ) : ?> <div class="rb-review-list rb-section"> <ul class="comment-list entry"><?php wp_list_comments( array( 'callback' => 'foxiz_user_review_list' ) ); ?></ul> <?php the_comments_pagination( array( 'prev_text' => '<span class="nav-previous">' . foxiz_html__( 'Older Reviews', 'foxiz' ) . '</span>', 'next_text' => '<span class="nav-next">' . foxiz_html__( 'Newer Reviews', 'foxiz' ) . '</span>', ) ); ?> </div> <?php endif; if ( ! comments_open() && post_type_supports( get_post_type(), 'comments' ) ) : ?> <p class="no-comments"><?php echo foxiz_html__( 'Review Closed!', 'foxiz' ); ?></p> <?php endif; ?> <div class="comment-box-content rb-reviews-form"> <?php $commenter = wp_get_current_commenter(); $comment_form = array( 'title_reply' => foxiz_html__( 'Leave a review', 'foxiz' ), 'title_reply_to' => foxiz_html__( 'Leave a reply', 'foxiz' ), 'label_submit' => foxiz_html__( 'Post a Review', 'foxiz' ), ); $name_email_required = (bool) get_option( 'require_name_email', 1 ); $fields = array( 'author' => array( 'label' => foxiz_html__( 'Your name', 'foxiz' ), 'type' => 'text', 'value' => $commenter['comment_author'], 'required' => $name_email_required, ), 'email' => array( 'label' => foxiz_html__( 'Your Email', 'foxiz' ), 'type' => 'email', 'value' => $commenter['comment_author_email'], 'required' => $name_email_required, ), 'url' => array( 'label' => foxiz_html__( 'Your website', 'foxiz' ), 'type' => 'email', 'value' => $commenter['comment_author_url'] ), ); $fields = apply_filters( 'comment_form_default_fields', $fields, 10 ); $comment_form['fields'] = array(); foreach ( $fields as $key => $field ) { $field_html = '<p class="comment-form-' . esc_attr( $key ) . '">'; $field_html .= '<label for="' . esc_attr( $key ) . '">' . esc_html( $field['label'] ); if ( ! empty( $field['required'] ) && $field['required'] ) { $field_html .= ' <span class="required">*</span>'; } $field_html .= '</label><input placeholder="' . esc_attr( $field['label'] ) . '" id="' . esc_attr( $key ) . '" name="' . esc_attr( $key ) . '" type="' . esc_attr( $field['type'] ) . '" value="' . esc_attr( $field['value'] ) . '" size="30" ' . ( ( ! empty( $field['required'] ) && $field['required'] ) ? 'required' : '' ) . ' /></p>'; $comment_form['fields'][ $key ] = $field_html; $comment_form['comment_field'] = '<div class="rb-form-rating"> <span class="rating-alert is-hidden">' . foxiz_html__( 'Please select a rating!', 'foxiz' ) . '</span> <label for="rating-' . get_the_ID() . '">' . foxiz_html__( 'Your Rating', 'foxiz' ) . '</label> <select name="rbrating" id="rating-' . get_the_ID() . '" class="rb-rating-selection"> <option value="" selected>' . esc_html__( 'Rate…', 'foxiz' ) . '</option> <option value="5">' . esc_html__( 'Perfect', 'foxiz' ) . '</option> <option value="4">' . esc_html__( 'Good', 'foxiz' ) . '</option> <option value="3">' . esc_html__( 'Average', 'foxiz' ) . '</option> <option value="2">' . esc_html__( 'Not that Bad', 'foxiz' ) . '</option> <option value="1">' . esc_html__( 'Very Poor', 'foxiz' ) . '</option> </select> </div>'; $comment_form['comment_field'] .= '<p class="comment-form-comment"><label for="comment">' . foxiz_html__( 'Your comment', 'foxiz' ) . ' <span class="required">*</span></label><textarea id="comment" name="comment" placeholder="' . foxiz_html__( 'Leave a comment', 'foxiz' ) . '" cols="45" rows="8" required></textarea></p>'; } comment_form( $comment_form ); ?> </div> </div> <?php endif; ?> </div> <?php endif; ?> </div>