| Linux webm007.cluster106.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64 Path : /home/eglisebaa/www/wp-content/themes/hallelujah/ |
| Current File : /home/eglisebaa/www/wp-content/themes/hallelujah/content.php |
<?php
/**
* The default template to display the content of the single post or attachment
*
* @package WordPress
* @subpackage HALLELUJAH
* @since HALLELUJAH 1.0
*/
?>
<article id="post-<?php the_ID(); ?>"
<?php
post_class( 'post_item_single'
. ' post_type_' . esc_attr( get_post_type() )
. ' post_format_' . esc_attr( str_replace( 'post-format-', '', get_post_format() ) )
);
hallelujah_add_seo_itemprops();
?>
>
<?php
do_action( 'hallelujah_action_before_post_data' );
hallelujah_add_seo_snippets();
do_action( 'hallelujah_action_before_post_content' );
// Post content
?>
<div class="post_content post_content_single entry-content" itemprop="mainEntityOfPage">
<?php
the_content();
do_action( 'hallelujah_action_before_post_pagination' );
wp_link_pages(
array(
'before' => '<div class="page_links"><span class="page_links_title">' . esc_html__( 'Pages:', 'hallelujah' ) . '</span>',
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
'pagelink' => '<span class="screen-reader-text">' . esc_html__( 'Page', 'hallelujah' ) . ' </span>%',
'separator' => '<span class="screen-reader-text">, </span>',
)
);
// Taxonomies and share
if ( is_single() && ! is_attachment() ) {
ob_start();
// Post taxonomies
the_tags( '<span class="post_meta_item post_tags"><span class="post_meta_label">' . esc_html__( 'Tags:', 'hallelujah' ) . '</span> ', ', ', '</span>' );
// Share
if ( hallelujah_is_on( hallelujah_get_theme_option( 'show_share_links' ) ) ) {
hallelujah_show_share_links(
array(
'type' => 'block',
'caption' => '',
'before' => '<span class="post_meta_item post_share">',
'after' => '</span>',
)
);
}
$hallelujah_tags_output = ob_get_contents();
ob_end_clean();
if ( ! empty( $hallelujah_tags_output ) ) {
do_action( 'hallelujah_action_before_post_meta' );
hallelujah_show_layout( $hallelujah_tags_output, '<div class="post_meta post_meta_single">', '</div>' );
do_action( 'hallelujah_action_after_post_meta' );
}
}
?>
</div><!-- .entry-content -->
<?php
do_action( 'hallelujah_action_after_post_content' );
do_action( 'hallelujah_action_after_post_data' );
?>
</article>