Omaru Luffy
asked 8 years ago

Hi Ma’am/Sir,

First of all, thanks for this free theme. I really like DW Minion and it’s stylish design. However, I want to make the homepage a little bit simpler by showing only the post titles. Is there anyway I can remove the excerpts and images from the list of post in the homepage? Thanks for your time and I hope you can help me regarding this matter. 

Best Regards,

Omar

1 Answers
DominicStaff
answered 8 years ago

To resolve this issue, you can open the content.php file in the folder path “\wp-content\themes\dw-minion”. Find/ Remove the line  6 to line 19.

<?php if( has_post_thumbnail() ) : ?>
    <div class="entry-thumbnail"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_post_thumbnail(); ?></a></div>
    <?php endif; ?>
    <div class="entry-content">
        <?php the_content( __( '<span class="btn btn-small">Continue reading</span>', 'dw-minion' ) ); ?>
        <?php
            wp_link_pages( array(
                'before' => '<div class="page-links">',
                'after'  => '</div>',
                'link_before' => '<span class="btn btn-small">',
                'link_after'  => '</span>',
            ) );
        ?>
    </div>

Hope this helps !

Powered by DW Question & Answer Pro