Forums

What is Blog Address if Home Page is Static? (11 posts)

  1. RockyMtnHi
    Member
    Posted 1 year ago #

    I am using a static page as my Front page, and need to know what the blog address is if I don't use a static page as the Posts page. I can set the Posts page to be static but the theme I am using can't deal with that, so I just need the link to the default blog page with a static page as the Front page.

    In old versions of WordPress you could specify the blog address in Settings, but that option isn't available now.

    Any ideas? This is killing me and I am behind schedule.

    Thanks for the help...

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Your site url remains unchanged no matter what type of front page you use.

  3. RockyMtnHi
    Member
    Posted 1 year ago #

    I understand that, but since I have made the Front page a static page did not make the Posts page a static page I am wondering what the URL of the blog page is.

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    It's the url of whatever page you set as your posts page in Settings/Reading.

  5. RockyMtnHi
    Member
    Posted 1 year ago #

    That's my point, I am not setting the Posts page to a static page. I am looking for the blog address if I only set the Front page as a static page and not the Posts page.

  6. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    When you set your front page as a static page, you choose another Page as your posts page.

  7. RockyMtnHi
    Member
    Posted 1 year ago #

    That is what I do not want to do. I just want to know the blog address if only the Front page is set to a static page.

  8. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    There isn't a specific blog url until you choose a Posts page in Settings/Reading.

  9. RockyMtnHi
    Member
    Posted 1 year ago #

    I just can't believe that by adding just a static Front page that the Posts page URL doesn't exist. I have written software for 20+ years and I would call that a bug. I don't think this would have gotten past the WordPress developers.

  10. David Sader
    Member
    Posted 1 year ago #

    Believe.

    1. Duplicate the index.php rename it posts.php.
    2. Add to the top of your new posts.php
      <?php
      /*
      Template Name: Posts
      */
      ?>
    3. Create a new page titled Posts, apply the Posts template, save.
    4. Revisit the Settings->Reading and set the Posts page to be the Posts page.

    http://yoursite.tld/posts/ is your new link to your posts loop that used to be your index.

    http://codex.wordpress.org/Creating_a_Static_Front_Page
    http://codex.wordpress.org/Pages#Page_Templates

  11. ClaytonJames
    Member
    Posted 1 year ago #

    I just can't believe that by adding just a static Front page that the Posts page URL doesn't exist

    You haven't "just" added a static page. You have replaced the page where posts land by default. You only did half the job. It's in the docs referenced above.

    "When you create a static front page for your site, you must also create a way for WordPress to show your most recent posts in a "virtual directory" called blog, news, or whatever else you choose to call it. This is true whether or not you are actually using Posts in WordPress."

Topic Closed

This topic has been closed to new replies.

About this Topic