OwlCyberSecurity - MANAGER
Edit File: content-gallery.php
<?php /** * Template part for displaying gallery posts * * @link https://developer.wordpress.org/themes/basics/template-hierarchy/ * * @package Inspiro * @subpackage Inspiro_Lite * @since Inspiro 1.0.0 * @version 1.0.0 */ ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <?php get_template_part( 'template-parts/post/article/header' ); ?> <div class="entry-content"> <?php if ( ! is_single() ) { // If not a single post, highlight the gallery. if ( get_post_gallery() ) { echo '<div class="entry-gallery">'; echo wp_kses_post( get_post_gallery() ); echo '</div>'; }; }; if ( is_single() || ! get_post_gallery() ) { the_content( sprintf( /* translators: %s: Post title. */ __( 'Read more<span class="screen-reader-text"> "%s"</span>', 'inspiro' ), get_the_title() ) ); wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'inspiro' ), 'after' => '</div>', 'link_before' => '<span class="page-number">', 'link_after' => '</span>', ) ); }; ?> </div><!-- .entry-content --> <?php if ( is_single() && 'side-right' === inspiro_get_theme_mod( 'layout_single_post' ) && is_active_sidebar( 'blog-sidebar' ) ) : ?> <aside id="secondary" class="widget-area" role="complementary"> <?php dynamic_sidebar( 'blog-sidebar' ); ?> </aside> <?php endif ?> <?php if ( is_single() ) { inspiro_entry_footer(); } ?> </article><!-- #post-<?php the_ID(); ?> -->