Viewing 1 replies (of 1 total)
  • Hello 6sigmea
    To remove the recent blog section from your home page you need to remove some codes from front-page.php. It is better to make a child theme and perform all the editing in that. You can learn how to make a child theme here.
    Now copy and paste the front-page.php file to your child theme root folder. Remove the lines from 389 to 492. These can be found below the comments
    <!-- *************Recent Blogs************* -->
    Here you go. After you remove the recent blogs section divs you also need to hide the recent blog menu on home page. To remove the recent blog menu just go to line no. 121 and find and remove the following code

    <?php if (onepage_get_option('onepage_recent_blog_heading') != '') { ?>
    <li class="page_item"><a class='scrollSmint' id="blogs" href="#"><?php echo onepage_get_option('onepage_recent_blog_heading'); ?>
    <?php } else { ?><li class="page_item"><a class='scrollSmint' id="blogs" href="#"><?php _e('Recent Blogs','onepage'); ?></a></li><?php } ?></a></li>

    Either you can also change the href if you want to send users to your blog page.

Viewing 1 replies (of 1 total)
  • The topic ‘Recent Blogs’ is closed to new replies.