• Resolved guarezz

    (@guarezz)


    Hello, I have a problem that I had already solved, but when I updated the theme, it reappeared.
    I remember that to avoid duplicate images in the posts, you had to edit something in a file. Does anyone remember what file it is?
    Thanks!

    Use MH Magazine Lite

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter guarezz

    (@guarezz)

    the file content-single.php, remove the bold line

    <?php /* Default template for displaying content. */ ?>
    <article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
    <header class=”entry-header mh-clearfix”><?php
    the_title(‘<h1 class=”entry-title”>’, ‘</h1>’);
    mh_post_header(); ?>
    </header>
    <?php dynamic_sidebar(‘posts-1’); ?>
    <div class=”entry-content mh-clearfix”><?php
    /* mh_magazine_lite_featured_image(); */
    the_content(); ?>
    </div><?php
    the_tags(‘<div class=”entry-tags mh-clearfix”><i class=”fa fa-tag”></i>

    • ‘,’
    • ‘,’

    </div>’);
    dynamic_sidebar(‘posts-2’); ?>
    </article>

    • This reply was modified 3 years, 7 months ago by guarezz.

    When making code changes to the theme you should create a child theme first, to make it update save.

    Hope that helps. If you have any questions, please let me know!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Duplicate freatured image’ is closed to new replies.