* @package Componentz * @subpackage Componentz Theme * @since 1.0.0 */ // Do not allow direct access. if ( ! defined( 'ABSPATH' ) ) { exit; } get_header(); /** * Hook: componentz/theme/before_primary_wrapper * * @hooked none * * @since 1.0.0 */ do_action( 'componentz/theme/before_primary_wrapper' ); ?>
sprintf( '%s%s', esc_html__( 'Published in', 'componentz' ), '%title' ) ) ); } elseif ( is_singular( 'post' ) ) { // Previous/next post navigation. the_post_navigation( [ 'next_text' => ' ' . '' . esc_html__( 'Next post:', 'componentz' ) . '
' . '%title', 'prev_text' => ' ' . '' . esc_html__( 'Previous post:', 'componentz' ) . '
' . '%title', ] ); } // If comments are open or we have at least one comment, load up the comment template. if ( comments_open() || get_comments_number() ) { comments_template(); } /** * Hook: componentz/theme/after_posts_loop * * @hooked componentz_sidebar_toggler - 10 * @hooked componentz_grid_container_end - 20 * @hooked componentz_pagination - 30 * @hooked componentz_primary_sub_wrapper_end - 40 * * @since 1.0.0 */ do_action( 'componentz/theme/after_posts_loop' ); endwhile; // End of the loop. ?>