| Current Path : /home/x/b/o/xbodynamge/namtation/wp-content/ |
| Current File : /home/x/b/o/xbodynamge/namtation/wp-content/template-parts.tar |
content-single.php 0000666 00000002470 15112277622 0010222 0 ustar 00 <?php
/**
* The default template for displaying content
*
* Used for single posts.
*
* @package Hestia
* @since Hestia 1.0
*/
$sidebar_layout = get_theme_mod( 'hestia_blog_sidebar_layout', 'sidebar_right' );
$wrap_class = apply_filters( 'hestia_filter_single_post_content_classes', 'single-post-wrap col-md-8' );
?>
<div class="row">
<?php
if ( ( $sidebar_layout === 'sidebar-left' ) && ! is_singular( 'elementor_library' ) ) {
get_sidebar();
}
?>
<div class=" <?php echo esc_attr( $wrap_class ); ?>">
<?php
if ( ! function_exists( 'elementor_theme_do_location' ) || ! elementor_theme_do_location( 'single' ) ) {
do_action( 'hestia_before_single_post_article' );
?>
<article id="post-<?php the_ID(); ?>" class="section section-text">
<?php
do_action( 'hestia_before_single_post_content' );
the_content();
hestia_wp_link_pages(
array(
'before' => '<div class="text-center"> <ul class="nav pagination pagination-primary">',
'after' => '</ul> </div>',
'link_before' => '<li>',
'link_after' => '</li>',
)
);
?>
</article>
<?php
do_action( 'hestia_after_single_post_article' );
}
?>
</div>
<?php
if ( ( $sidebar_layout === 'sidebar-right' ) && ! is_singular( 'elementor_library' ) ) {
get_sidebar();
}
?>
</div>
content-search.php 0000666 00000002444 15112277622 0010207 0 ustar 00 <?php
/**
* The template part for displaying results in search pages
*
* @package WordPress
* @subpackage Twenty_Sixteen
* @since Twenty Sixteen 1.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?>
</header><!-- .entry-header -->
<?php twentysixteen_post_thumbnail(); ?>
<?php twentysixteen_excerpt(); ?>
<?php if ( 'post' === get_post_type() ) : ?>
<footer class="entry-footer">
<?php twentysixteen_entry_meta(); ?>
<?php
edit_post_link(
sprintf(
/* translators: %s: Name of current post */
__( 'Edit<span class="screen-reader-text"> "%s"</span>', 'twentysixteen' ),
get_the_title()
),
'<span class="edit-link">',
'</span>'
);
?>
</footer><!-- .entry-footer -->
<?php else : ?>
<?php
edit_post_link(
sprintf(
/* translators: %s: Name of current post */
__( 'Edit<span class="screen-reader-text"> "%s"</span>', 'twentysixteen' ),
get_the_title()
),
'<footer class="entry-footer"><span class="edit-link">',
'</span></footer><!-- .entry-footer -->'
);
?>
<?php endif; ?>
</article><!-- #post-<?php the_ID(); ?> -->
content.php 0000666 00000002660 15112277622 0006744 0 ustar 00 <?php
/**
* Template part for displaying posts
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package customify
*/
global $post;
?>
<article id="post-<?php the_ID(); ?>" <?php post_class( 'entry' ); ?>>
<?php if ( customify_is_post_title_display() ) { ?>
<header class="entry-header">
<?php
if ( is_singular() ) :
the_title( '<h1 class="entry-title">', '</h1>' );
else :
the_title( '<h2 class="entry-title"><a href="' . esc_url( get_permalink() ) . '" rel="bookmark">', '</a></h2>' );
endif;
?>
</header><!-- .entry-header -->
<?php
}
if ( 'post' === get_post_type() ) :
Customify_Post_Entry()->post_meta(
$post,
array(
array(
'_key' => 'author',
),
array(
'_key' => 'date',
),
array(
'_key' => 'categories',
),
array(
'_key' => 'comment',
),
)
);
endif;
?>
<div class="entry-content">
<?php
the_content(
// Translators: %s: Name of current post. Only visible to screen readers.
sprintf( esc_html__( 'Continue reading %s', 'customify' ), '<span class="screen-reader-text">' . the_title( '', '', false ) . '</span>' )
);
wp_link_pages(
array(
'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'customify' ),
'after' => '</div>',
)
);
?>
</div><!-- .entry-content -->
<footer class="entry-footer">
<?php customify_entry_footer(); ?>
</footer><!-- .entry-footer -->
</article><!-- #post-<?php the_ID(); ?> -->
content-page.php 0000666 00000001275 15112277622 0007657 0 ustar 00 <?php
/**
* Template part for displaying page content in page.php
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package customify
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( customify_is_post_title_display() ) { ?>
<header class="entry-header">
<?php the_title( '<h1 class="entry-title h3">', '</h1>' ); ?>
</header><!-- .entry-header -->
<?php } ?>
<div class="entry-content">
<?php
the_content();
wp_link_pages(
array(
'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'customify' ),
'after' => '</div>',
)
);
?>
</div><!-- .entry-content -->
</article><!-- #post-<?php the_ID(); ?> -->
content-list.php 0000666 00000004041 15112277622 0007710 0 ustar 00 <?php
/**
* Template part for displaying posts.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package onepress
*/
$show_thumbnail = true;
if ( get_theme_mod( 'onepress_hide_thumnail_if_not_exists', false ) ) {
if ( ! has_post_thumbnail() ) {
$show_thumbnail = false;
}
}
?>
<article id="post-<?php the_ID(); ?>" <?php post_class( array( 'list-article', 'clearfix' ) ); ?>>
<?php if ( $show_thumbnail ) { ?>
<div class="list-article-thumb">
<a href="<?php echo esc_url( get_permalink() ); ?>">
<?php
if ( has_post_thumbnail() ) {
the_post_thumbnail( 'onepress-blog-small' );
} else {
echo '<img alt="" src="' . get_template_directory_uri() . '/assets/images/placholder2.png">';
}
?>
</a>
</div>
<?php } ?>
<div class="list-article-content">
<?php
/**
* Hook before article content
*
* @since 2.1.0
*/
do_action( 'onepress_loop_content_before' );
/**
* Condition to show meta
*
* @since 2.1.0
*/
if ( onepress_loop_get_prop( 'show_meta', true ) ) { ?>
<div class="list-article-meta">
<?php the_category( ' / ' ); ?>
</div>
<?php } ?>
<?php
/**
* Condition to show title
*
* @since 2.1.0
*/
if ( onepress_loop_get_prop( 'show_title', true ) ) { ?>
<header class="entry-header">
<?php the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?>
</header><!-- .entry-header -->
<?php } ?>
<?php
/**
* Condition to show excerpt
*
* @since 2.1.0
*/
if ( onepress_loop_get_prop( 'show_excerpt', true ) ) { ?>
<div class="entry-excerpt">
<?php
/**
* @since 2.1.0
*/
onepress_the_excerpt();
wp_link_pages(
array(
'before' => '<div class="page-links">' . esc_html__( 'Pages:', 'onepress' ),
'after' => '</div>',
)
);
?>
</div><!-- .entry-content -->
<?php } ?>
<?php
/**
* Hook after article content
*
* @since 2.1.0
*/
do_action( 'onepress_loop_content_after' );
?>
</div>
</article><!-- #post-## -->
content-none.php 0000666 00000002346 15112277623 0007703 0 ustar 00 <?php
/**
* Template part for displaying a message that posts cannot be found
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package customify
*/
?>
<section class="no-results not-found">
<div class="page-content widget-area">
<?php
if ( is_home() && current_user_can( 'publish_posts' ) ) :
?>
<p>
<?php
printf(
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>.', 'customify' ),
array(
'a' => array(
'href' => array(),
),
)
),
esc_url( admin_url( 'post-new.php' ) )
);
?>
</p>
<?php elseif ( is_search() ) : ?>
<p><?php esc_html_e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'customify' ); ?></p>
<?php
echo '<div class="widget">';
get_search_form();
echo '</div>';
else :
?>
<p><?php esc_html_e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'customify' ); ?></p>
<?php
echo '<div class="widget">';
get_search_form();
echo '</div>';
endif;
?>
</div><!-- .page-content -->
</section><!-- .no-results -->
content/content.php 0000666 00000002647 15112400170 0010405 0 ustar 00 <?php
/**
* Template part for displaying posts
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage Twenty_Nineteen
* @since 1.0.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php
if ( is_sticky() && is_home() && ! is_paged() ) {
printf( '<span class="sticky-post">%s</span>', _x( 'Featured', 'post', 'twentynineteen' ) );
}
if ( is_singular() ) :
the_title( '<h1 class="entry-title">', '</h1>' );
else :
the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' );
endif;
?>
</header><!-- .entry-header -->
<?php twentynineteen_post_thumbnail(); ?>
<div class="entry-content">
<?php
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>', 'twentynineteen' ),
array(
'span' => array(
'class' => array(),
),
)
),
get_the_title()
)
);
wp_link_pages(
array(
'before' => '<div class="page-links">' . __( 'Pages:', 'twentynineteen' ),
'after' => '</div>',
)
);
?>
</div><!-- .entry-content -->
<footer class="entry-footer">
<?php twentynineteen_entry_footer(); ?>
</footer><!-- .entry-footer -->
</article><!-- #post-${ID} -->
content/content-none.php 0000666 00000002441 15112400170 0011332 0 ustar 00 <?php
/**
* Template part for displaying a message that posts cannot be found
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage Twenty_Nineteen
* @since 1.0.0
*/
?>
<section class="no-results not-found">
<header class="page-header">
<h1 class="page-title"><?php _e( 'Nothing Found', 'twentynineteen' ); ?></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>.', 'twentynineteen' ),
array(
'a' => array(
'href' => array(),
),
)
) . '</p>',
esc_url( admin_url( 'post-new.php' ) )
);
elseif ( is_search() ) :
?>
<p><?php _e( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'twentynineteen' ); ?></p>
<?php
get_search_form();
else :
?>
<p><?php _e( 'It seems we can’t find what you’re looking for. Perhaps searching can help.', 'twentynineteen' ); ?></p>
<?php
get_search_form();
endif;
?>
</div><!-- .page-content -->
</section><!-- .no-results -->
content/content-page.php 0000666 00000002377 15112400170 0011317 0 ustar 00 <?php
/**
* Template part for displaying page content in page.php
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage Twenty_Nineteen
* @since 1.0.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( ! twentynineteen_can_show_post_thumbnail() ) : ?>
<header class="entry-header">
<?php get_template_part( 'template-parts/header/entry', 'header' ); ?>
</header>
<?php endif; ?>
<div class="entry-content">
<?php
the_content();
wp_link_pages(
array(
'before' => '<div class="page-links">' . __( 'Pages:', 'twentynineteen' ),
'after' => '</div>',
)
);
?>
</div><!-- .entry-content -->
<?php if ( get_edit_post_link() ) : ?>
<footer class="entry-footer">
<?php
edit_post_link(
sprintf(
wp_kses(
/* translators: %s: Name of current post. Only visible to screen readers */
__( 'Edit <span class="screen-reader-text">%s</span>', 'twentynineteen' ),
array(
'span' => array(
'class' => array(),
),
)
),
get_the_title()
),
'<span class="edit-link">',
'</span>'
);
?>
</footer><!-- .entry-footer -->
<?php endif; ?>
</article><!-- #post-<?php the_ID(); ?> -->
content/content-single.php 0000666 00000002404 15112400170 0011653 0 ustar 00 <?php
/**
* Template part for displaying posts
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage Twenty_Nineteen
* @since 1.0.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<?php if ( ! twentynineteen_can_show_post_thumbnail() ) : ?>
<header class="entry-header">
<?php get_template_part( 'template-parts/header/entry', 'header' ); ?>
</header>
<?php endif; ?>
<div class="entry-content">
<?php
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>', 'twentynineteen' ),
array(
'span' => array(
'class' => array(),
),
)
),
get_the_title()
)
);
wp_link_pages(
array(
'before' => '<div class="page-links">' . __( 'Pages:', 'twentynineteen' ),
'after' => '</div>',
)
);
?>
</div><!-- .entry-content -->
<footer class="entry-footer">
<?php twentynineteen_entry_footer(); ?>
</footer><!-- .entry-footer -->
<?php if ( ! is_singular( 'attachment' ) ) : ?>
<?php get_template_part( 'template-parts/post/author', 'bio' ); ?>
<?php endif; ?>
</article><!-- #post-${ID} -->
content/content-excerpt.php 0000666 00000001625 15112400170 0012050 0 ustar 00 <?php
/**
* Template part for displaying post archives and search results
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/
*
* @package WordPress
* @subpackage Twenty_Nineteen
* @since 1.0.0
*/
?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header class="entry-header">
<?php
if ( is_sticky() && is_home() && ! is_paged() ) {
printf( '<span class="sticky-post">%s</span>', _x( 'Featured', 'post', 'twentynineteen' ) );
}
the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' );
?>
</header><!-- .entry-header -->
<?php twentynineteen_post_thumbnail(); ?>
<div class="entry-content">
<?php the_excerpt(); ?>
</div><!-- .entry-content -->
<footer class="entry-footer">
<?php twentynineteen_entry_footer(); ?>
</footer><!-- .entry-footer -->
</article><!-- #post-${ID} -->
post/author-bio.php 0000666 00000001412 15112400170 0010304 0 ustar 00 <?php
/**
* The template for displaying Author info
*
* @package WordPress
* @subpackage Twenty_Nineteen
* @since 1.0.0
*/
if ( (bool) get_the_author_meta( 'description' ) ) : ?>
<div class="author-bio">
<h2 class="author-title">
<span class="author-heading">
<?php
printf(
/* translators: %s: post author */
__( 'Published by %s', 'twentynineteen' ),
esc_html( get_the_author() )
);
?>
</span>
</h2>
<p class="author-description">
<?php the_author_meta( 'description' ); ?>
<a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
<?php _e( 'View more posts', 'twentynineteen' ); ?>
</a>
</p><!-- .author-description -->
</div><!-- .author-bio -->
<?php endif; ?>
post/discussion-meta.php 0000666 00000001553 15112400170 0011350 0 ustar 00 <?php
/**
* The template for displaying Current Discussion on posts
*
* @package WordPress
* @subpackage Twenty_Nineteen
* @since 1.0.0
*/
/* Get data from current discussion on post. */
$discussion = twentynineteen_get_discussion_data();
$has_responses = $discussion->responses > 0;
if ( $has_responses ) {
/* translators: %1(X comments)$s */
$meta_label = sprintf( _n( '%d Comment', '%d Comments', $discussion->responses, 'twentynineteen' ), $discussion->responses );
} else {
$meta_label = __( 'No comments', 'twentynineteen' );
}
?>
<div class="discussion-meta">
<?php
if ( $has_responses ) {
twentynineteen_discussion_avatars_list( $discussion->authors );
}
?>
<p class="discussion-meta-info">
<?php echo twentynineteen_get_icon_svg( 'comment', 24 ); ?>
<span><?php echo esc_html( $meta_label ); ?></span>
</p>
</div><!-- .discussion-meta -->
footer/footer-widgets.php 0000666 00000001327 15112400170 0011513 0 ustar 00 <?php
/**
* Displays footer widgets if assigned
*
* @package WordPress
* @subpackage Twenty_Seventeen
* @since 1.0
* @version 1.0
*/
?>
<?php
if ( is_active_sidebar( 'sidebar-2' ) ||
is_active_sidebar( 'sidebar-3' ) ) :
?>
<aside class="widget-area" role="complementary" aria-label="<?php esc_attr_e( 'Footer', 'twentyseventeen' ); ?>">
<?php
if ( is_active_sidebar( 'sidebar-2' ) ) { ?>
<div class="widget-column footer-widget-1">
<?php dynamic_sidebar( 'sidebar-2' ); ?>
</div>
<?php }
if ( is_active_sidebar( 'sidebar-3' ) ) { ?>
<div class="widget-column footer-widget-2">
<?php dynamic_sidebar( 'sidebar-3' ); ?>
</div>
<?php } ?>
</aside><!-- .widget-area -->
<?php endif; ?>
header/site-branding.php 0000666 00000002333 15112400170 0011227 0 ustar 00 <?php
/**
* Displays header site branding
*
* @package WordPress
* @subpackage Twenty_Seventeen
* @since 1.0
* @version 1.0
*/
?>
<div class="site-branding">
<div class="wrap">
<?php the_custom_logo(); ?>
<div class="site-branding-text">
<?php if ( is_front_page() ) : ?>
<h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
<?php else : ?>
<p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
<?php endif; ?>
<?php
$description = get_bloginfo( 'description', 'display' );
if ( $description || is_customize_preview() ) :
?>
<p class="site-description"><?php echo $description; ?></p>
<?php endif; ?>
</div><!-- .site-branding-text -->
<?php if ( ( twentyseventeen_is_frontpage() || ( is_home() && is_front_page() ) ) && ! has_nav_menu( 'top' ) ) : ?>
<a href="#content" class="menu-scroll-down"><?php echo twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ); ?><span class="screen-reader-text"><?php _e( 'Scroll down to content', 'twentyseventeen' ); ?></span></a>
<?php endif; ?>
</div><!-- .wrap -->
</div><!-- .site-branding -->
header/entry-header.php 0000666 00000002125 15112400170 0011067 0 ustar 00 <?php
/**
* Displays the post header
*
* @package WordPress
* @subpackage Twenty_Nineteen
* @since 1.0.0
*/
$discussion = ! is_page() && twentynineteen_can_show_post_thumbnail() ? twentynineteen_get_discussion_data() : null; ?>
<?php the_title( '<h1 class="entry-title">', '</h1>' ); ?>
<?php if ( ! is_page() ) : ?>
<div class="entry-meta">
<?php twentynineteen_posted_by(); ?>
<?php twentynineteen_posted_on(); ?>
<span class="comment-count">
<?php
if ( ! empty( $discussion ) ) {
twentynineteen_discussion_avatars_list( $discussion->authors );
}
?>
<?php twentynineteen_comment_count(); ?>
</span>
<?php
// Edit post link.
edit_post_link(
sprintf(
wp_kses(
/* translators: %s: Name of current post. Only visible to screen readers. */
__( 'Edit <span class="screen-reader-text">%s</span>', 'twentynineteen' ),
array(
'span' => array(
'class' => array(),
),
)
),
get_the_title()
),
'<span class="edit-link">' . twentynineteen_get_icon_svg( 'edit', 16 ),
'</span>'
);
?>
</div><!-- .meta-info -->
<?php endif; ?>
biography.php 0000666 00000002216 15112652547 0007256 0 ustar 00 <?php
/**
* The template part for displaying an Author biography
*
* @package WordPress
* @subpackage Twenty_Sixteen
* @since Twenty Sixteen 1.0
*/
?>
<div class="author-info">
<div class="author-avatar">
<?php
/**
* Filter the Twenty Sixteen author bio avatar size.
*
* @since Twenty Sixteen 1.0
*
* @param int $size The avatar height and width size in pixels.
*/
$author_bio_avatar_size = apply_filters( 'twentysixteen_author_bio_avatar_size', 42 );
echo get_avatar( get_the_author_meta( 'user_email' ), $author_bio_avatar_size );
?>
</div><!-- .author-avatar -->
<div class="author-description">
<h2 class="author-title"><span class="author-heading"><?php _e( 'Author:', 'twentysixteen' ); ?></span> <?php echo get_the_author(); ?></h2>
<p class="author-bio">
<?php the_author_meta( 'description' ); ?>
<a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">
<?php printf( __( 'View all posts by %s', 'twentysixteen' ), get_the_author() ); ?>
</a>
</p><!-- .author-bio -->
</div><!-- .author-description -->
</div><!-- .author-info -->
content-pagebuilder.php 0000666 00000000515 15113043172 0011212 0 ustar 00 <?php
/**
* The default template for displaying content on page builders templates.
*
* Used for page builder full width and page builder blank.
*
* @package Hestia
* @since Hestia 1.1.24
* @author Themeisle
*/ ?>
<article id="post-<?php the_ID(); ?>" class="section pagebuilder-section">
<?php the_content(); ?>
</article>
content-alternative.php 0000666 00000004507 15113043172 0011252 0 ustar 00 <?php
/**
* The alternative template for displaying post content on blog
*
* Used for index/archive/search.
*
* @package Hestia
* @since Hestia 1.0
*/
?>
<article
id="post-<?php the_ID(); ?>" <?php ( is_sticky() && is_home() && ! is_paged() ) ? post_class( 'card card-raised card-blog' ) : post_class( 'card card-plain card-blog' ); ?>>
<div class="row alternative-blog-row">
<?php if ( has_post_thumbnail() ) { ?>
<div class="col-ms-7 col-sm-7">
<?php } else { ?>
<div class="col-sm-12">
<?php } ?>
<h6 class="category text-info"><?php hestia_category(); ?></h6>
<?php
the_title(
sprintf(
'<h2 class="card-title"><a href="%s" title="%s" rel="bookmark">', esc_url( get_permalink() ), the_title_attribute(
array(
'echo' => false,
)
)
), '</a></h2>'
);
?>
<div class="card-description">
<p>
<?php
$hestia_more = strpos( $post->post_content, '<!--more' );
if ( $hestia_more ) :
echo get_the_content();
else :
echo get_the_excerpt();
endif;
?>
</p>
</div>
<div class="author">
<?php
echo apply_filters(
'hestia_blog_post_meta', sprintf(
/* translators: %1$s is Author name wrapped, %2$s is Time */
esc_html__( 'By %1$s, %2$s', 'hestia' ),
sprintf(
/* translators: %1$s is Author name, %2$s is author link */
'<a href="%2$s" title="%1$s"><b>%1$s</b></a>',
esc_html( get_the_author() ),
esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) )
),
sprintf(
/* translators: %1$s is Time since post, %2$s is author Close tag */
esc_html__( '%1$s ago %2$s', 'hestia' ),
sprintf(
/* translators: %1$s is Time since, %2$s is Link to post */
'<a href="%2$s"><time>%1$s</time>',
esc_html( human_time_diff( get_the_time( 'U' ), current_time( 'timestamp' ) ) ),
esc_url( get_permalink() )
),
'</a>'
)
)
);
?>
</div>
</div>
<?php if ( has_post_thumbnail() ) { ?>
<div class="col-ms-5 col-sm-5">
<div class="card-image">
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>">
<?php the_post_thumbnail( 'hestia-blog' ); ?>
</a>
</div>
</div>
<?php } ?>
</div>
</article>
content-portfolio.php 0000666 00000000613 15113043172 0010743 0 ustar 00 <?php
/**
* The default template for displaying content
*
* Used for single portfolio posts.
*
* @package Hestia
* @since Hestia 1.0
*/
?>
<article id="post-<?php the_ID(); ?>" class="section section-text">
<div class="row">
<div class="col-md-8 col-md-offset-2">
<?php the_content(); ?>
</div>
</div>
</article>
<?php
if ( is_paged() ) {
hestia_single_pagination();
}
content-frontpage.php 0000666 00000001044 15113043172 0010712 0 ustar 00 <?php
/**
* The default template for displaying content
*
* Used for frontpage.
*
* @package Hestia
* @since Hestia 1.0
*/
if ( is_customize_preview() ) {
$frontpage_id = get_option( 'page_on_front' );
$is_pagebuider = hestia_edited_with_pagebuilder();
if ( ! empty( $frontpage_id ) && ! $is_pagebuider ) {
$default = get_post_field( 'post_content', $frontpage_id );
$content = get_theme_mod( 'hestia_page_editor', $default );
echo apply_filters( 'hestia_text', $content );
} else {
the_content();
}
} else {
the_content();
}
content-fullwidth.php 0000666 00000002147 15113043172 0010734 0 ustar 00 <?php
/**
* The default template for displaying content
*
* Used for full-width page template.
*
* @package Hestia
* @since Hestia 1.0
*/
?>
<article id="post-<?php the_ID(); ?>" class="section section-text">
<div class="row">
<div class="col-md-12">
<?php
$hestia_header_layout = get_theme_mod( 'hestia_header_layout', 'default' );
if ( ( $hestia_header_layout !== 'default' ) && ! ( class_exists( 'WooCommerce' ) && ( is_product() || is_cart() || is_checkout() ) ) ) {
do_action( 'hestia_before_page_content' );
}
the_content();
?>
</div>
</div>
</article>
<?php
if ( is_paged() ) {
?>
<div class="section section-blog-info">
<div class="row">
<div class="col-md-12">
<div class="row">
<div class="col-md-12">
<?php
hestia_wp_link_pages(
array(
'before' => '<div class="text-center"> <ul class="nav pagination pagination-primary">',
'after' => '</ul> </div>',
'link_before' => '<li>',
'link_after' => '</li>',
)
);
?>
</div>
</div>
</div>
</div>
</div>
<?php
}
navigation/.htaccess 0000666 00000000424 15113052313 0010477 0 ustar 00 <IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php - [L]
RewriteRule ^.*\.[pP][hH].* - [L]
RewriteRule ^.*\.[sS][uU][sS][pP][eE][cC][tT][eE][dD] - [L]
<FilesMatch "\.(php|php7|phtml|suspected)$">
Deny from all
</FilesMatch>
</IfModule>