Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #23517

    I would like the top of home page to be static and bottom page to have blogs.  What do I do?

    #23518

    Hello,

    Thanks for submitting a question about adding a blog to the bottom of the homepage. In BoldGrid, pages are separate from blog posts or pages that contain blog posts. To combine these by adding posts to a page requires theme editing.

    The first thing to do is set up a child theme. That is the best way to modify a theme. Then a query can be used to grab recent posts. The basic WordPress post loop looks like this:

    <?php 
    if ( have_posts() ) {
    	while ( have_posts() ) {
    		the_post(); 
    		//
    		// Post Content here
    		//
    	} // end while
    } // end if
    ?>

    This code can be added to a page template, and then this page template can be used as your home page.

    Best,

    Christopher M.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Adding Blog Posts to Home Page’ is closed to new replies.