• Right now I’m using a static page as my homepage, but I would still like to have a different page display the posts like it would if I didn’t have the static page.

    Here is the site: https://www.pzfantasyfootball.com

    I want the articles page to display the articles, as said above, like a WordPress blog normally would. I didn’t know how to search for this, which is why I’m posting it. If it’s a simple fix, I apologize.

    Thanks to anyone who provides a solution!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Umm…if you have a page with your blog on and you would like it to be your homepage, login to WordPress, then go to Settings > Reading and select ‘Front Page Displays Your Latest Posts’ instead of a ‘Static Page’.

    Might that do it?

    All the best,

    JR.

    1. Copy the ‘index.php’ file over to the main directory.
    2. Edit the file to show the following:

    <?php
    define('WP_USE_THEMES', true);
    require('./FOLDER-WHERE-YOU-WISH-TO-LOAD-THE-SITE-FROM/wp-blog-header.php');
    ?>

    The wordpress site will load when visitors type in the base-level domain address.

    Keep it simple, people…

    On the admin page where you selected your “front page” select another (existing) Page as your “posts page”. Done.

    Thread Starter pzproductions

    (@pzproductions)

    Wow, thanks moshu!!

    Thread Starter pzproductions

    (@pzproductions)

    hmm… didn’t work so well since I have the static page up using home.php instead of a wordpress page.

    You do NOT need any home.php to make it work.

    Using home.php is an ancient method form the time when this feature wasn’t available.

    Thread Starter pzproductions

    (@pzproductions)

    I understand that… but the way I have it set up it’d be hard to do it otherwise. I need my static page to have no title, and I have some code that doesn’t work within the WordPress “page template”

    Keep it simple, people…

    On the admin page where you selected your “front page” select another (existing) Page as your “posts page”. Done.

    .
    wow… why didn’t someone tell me about that before?

    Well, FWIW, you can still use the c&p of the ‘index.php’ file that I posted above. Both ways are effective.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Move homepage to a different page.’ is closed to new replies.