D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
everqlsh
/
www
/
wp-admin
/
user
/
577040
/
Filename :
template-parts.zip
back
Copy
PK �[}\7I6� � content.phpnu �[��� <?php /** * Template part for displaying posts * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package uicore-theme */ ?> <article id="post-<?php the_ID(); ?>" <?php if(is_single() || is_search()){ post_class("uicore-col-md-12 uicore-col-lg-12"); }else{ if (is_active_sidebar( 'left-sidebar' ) && is_active_sidebar( 'right-sidebar' )){ post_class("uicore-col-md-6 uicore-col-lg-6"); }else{ post_class("uicore-col-md-6 uicore-col-lg-4"); } } ?>> <div class="uicore-grid-item"> <header class="entry-header"> <?php if (! is_singular() ) { /* translators: used between list items, there is a space after the comma */ $categories_list = get_the_category_list( esc_html__( ', ', 'affirm' ) ); if ( $categories_list ) { echo '<span class="cat-links">' . $categories_list . '</span>'; } the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' ); } ?> </header><!-- .entry-header --> <?php if( !is_singular()) { if( strlen( trim($ex_data = get_the_excerpt()) ) ){ echo '<div class="entry-content">'; echo esc_html($ex_data); echo '</div><!-- .entry-content -->'; } }else{ echo '<div class="entry-content">'; the_content( sprintf( wp_kses( /* translators: %s: Name of current post. Only visible to screen readers */ __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'affirm' ), array( 'span' => array( 'class' => array(), ), ) ), get_the_title() ) ); wp_link_pages( array( 'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'affirm' ), 'after' => '</div>', ) ); echo '</div><!-- .entry-content -->'; } ?> <footer class="entry-footer"> <?php uicore_entry_footer(); ?> </footer><!-- .entry-footer --> </div> </article><!-- #post-<?php the_ID(); ?> --> PK �[}\<n"� � content-none.phpnu �[��� <?php /** * Template part for displaying a message that posts cannot be found * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package uicore-theme */ ?> <section class="no-results not-found"> <header class="page-header"> <h1 class="page-title"><?php esc_html_e( 'Nothing Found', 'affirm' ); ?></h1> </header><!-- .page-header --> <div class="page-content"> <?php if ( is_home() && current_user_can( 'publish_posts' ) ) : printf( '<p>' . wp_kses( /* translators: 1: link to WP admin new post page. */ __( 'Ready to publish your first post? <a href="%1$s">Get started here</a>.', 'affirm' ), array( 'a' => array( 'href' => array(), ), ) ) . '</p>', esc_url( admin_url( 'post-new.php' ) ) ); elseif ( is_search() ) : ?> <p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'affirm' ); ?></p> <?php get_search_form(); else : ?> <p><?php esc_html_e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'affirm' ); ?></p> <?php get_search_form(); endif; ?> </div><!-- .page-content --> </section><!-- .no-results --> PK �[}\�(�x x content-page.phpnu �[��� <?php /** * Template part for displaying page content in page.php * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package uicore-theme */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="entry-content"> <?php the_content(); ?> </div><!-- .entry-content --> </article><!-- #post-<?php the_ID(); ?> --> PK �[}\7I6� � content.phpnu �[��� PK �[}\<n"� � � content-none.phpnu �[��� PK �[}\�(�x x content-page.phpnu �[��� PK � �