Support » Themes and Templates » Remove "Recent Posts" from Homepage

Remove "Recent Posts" from Homepage

  • Hi Ossie,

    Thanks for creating such a nice theme. Was wondering if you could tell me how to remove the “Recent Posts” from Homepage.



Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author Template Express



    open the custom_home.php file and remove the entire section_thumbnails div

    Hello thanks for the great theme, I have the same problem, what changes can I make to the child theme to do this, I tried commenting out that div but that did not seem to work, see below
    <!–<div class=”section_thumbnails group”>
    <h3>Recent Posts</h3>

    /*<?php $the_query = new WP_Query(array(
    ‘showposts’ => 2,
    ‘post__not_in’ => get_option(“sticky_posts”),
    <?php while ($the_query -> have_posts()) : $the_query -> the_post(); ?>
    <div class=”col span_1_of_2″>
    <article class=”recent”>
    <h2>“><?php the_title(); ?></h2>
    if ( has_post_thumbnail() ) {
    $image_src = wp_get_attachment_image_src( get_post_thumbnail_id(),’featured’ );
    echo ‘<img alt=”post” class=”imagerct” src=”‘ . $image_src[0] . ‘”>’;
    <?php echo content(50); ?><div class=”thumbs-more-link”>“> More</div>–>
    appreciate some help

    Same problems here. Removed the entire section_thumbnails div and nothing happened. Kinda confusing to say the least, don’t even know where it’s pulling the code from now that I’ve cleared my cache. Thoughts?

    Theme Author Template Express



    you can add the following style:

    .section_thumbnails {
    display: none;
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove "Recent Posts" from Homepage’ is closed to new replies.