WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Blog page not populating content (10 posts)

  1. befree22
    Member
    Posted 2 years ago #

    Hi Folks,

    My homepage is setup to display "Latest Posts" on the bottom of the page.

    I read http://codex.wordpress.org/Creating_a_Static_Front_Page and created a blank "Blog" page so that posts will appear on this page. New post content appears on the homepage "Latest Posts" and is hyperlinked to a separate page for each new post.

    However, the blog page is not populated with the latest posts.

    My WordPress is installed in the root folder so the WordPress url and Site url are the same. I think that WordPress' the latest posts .php file is called index.php. How do I add the correct url and code so that the blank "Blog" page pulls the latest posts?

  2. WPyogi
    Volunteer Moderator
    Posted 2 years ago #

    post a link to your site if you want help here. An

  3. befree22
    Member
    Posted 2 years ago #

    www.denisejacksonmusic.com/blog

  4. befree22
    Member
    Posted 2 years ago #

    Why doesn't the blank blog page populate with the latest posts according to http://codex.wordpress.org/Creating_a_Static_Front_Page ?

    The theme uses the default WordPress index.php on the homepage but modified to included a widget section. Even if the theme is designed so that "Latest Posts" appear on the bottom of the homepage, I'd think that the following code is called on the blank Blog page per WordPress Codex

    <?php if (have_posts()) : while (have_posts()) : the_post(); // the loop ?>

    I know that there's a simple fix to getting the blank Blog page to populate with the posts.

  5. esmi
    Forum Moderator
    Posted 2 years ago #

    Have you tried:

    - deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the Twenty Eleven theme to rule out any theme-specific problems.

    - resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

  6. befree22
    Member
    Posted 2 years ago #

    I just found a solution, thanks to WordPress Codex.

    http://codex.wordpress.org/FAQ_Layout_and_Design AND

    http://codex.wordpress.org/FAQ_Working_with_WordPress#Why_is_there_no_Page_Template_option_when_writing_or_editing_a_Page.3F

    Now, could someone tell me how to remove the // appearing before the title on denisejacksonmusic.com/blog ? The other webpages don't display the // before the page title.

    I love WordPress :)

  7. befree22
    Member
    Posted 2 years ago #

    Oh, the above is the wrong thread. I'm still troubleshooting the rss feed xml error.

  8. befree22
    Member
    Posted 2 years ago #

    Hi esmi,

    Silly me, the posting at 3:22pm CST is correct. I confused this with my rss thread.

  9. befree22
    Member
    Posted 2 years ago #

    I'd like to remove the // appearing before the title on denisejacksonmusic.com/blog ? The other webpages don't display the // before the page title.

    Here's the code for the denisejacksonmusic.com/blog page I created using the WordPress Codex PageofPosts template: http://pastebin.com/1uYivhTe

    I tried adding the following code from the page.php to the PageofPosts template but that didn't format the page title so it formats just like the other page titles on the site:

    <!--post title-->
      <h1 id="post-<?php the_ID(); ?>"><?php the_title(); ?></h1>
  10. befree22
    Member
    Posted 1 year ago #

    I upgraded the site to a 2012 child theme.

Topic Closed

This topic has been closed to new replies.

About this Topic