Forums

Blogging on other page than Home (5 posts)

  1. MrVon
    Member
    Posted 2 years ago #

    I created site for my company based on WordPress and used front page for some company related information. I need blog as well so created additional page for that, but cannot blog on it as on Home/Front page of wordpress, because it dont allow you to create posts within page, only edit entire page.

  2. Micah Cooksey
    Moderator
    Posted 2 years ago #

    Under Settings > Reading, you can set your front page to be a static page, and you can set another page that you've created to be your posts page. Then when you write a new post, it will show on your posts page.

  3. Jonas Grumby
    Member
    Posted 2 years ago #

    Sound like you want to set "Front page displays" back to "Your latest posts" on the Settings > Reading screen.

  4. MrVon
    Member
    Posted 2 years ago #

    This way i have to create new page to use as home and its additional button, and when i click HOME button it opens that additional page i created. Is there way to make that extra page hidden or replace HOME button with name of that page?

  5. Micah Cooksey
    Moderator
    Posted 2 years ago #

    I'm having trouble understanding you. Are you trying to blog on the front page, or a different page that you've created?

    If you're trying to blog on the front page, add this to your theme's header.php and set both page settings back to "-Select-":

    <?php if (is_home()) { ?>
                <li class="current_page_item"><a href="<?php echo get_option('home'); ?>">Home</a></li>
            <?php } else { ?>
                <li><a href="<?php echo get_option('home'); ?>">Home</a></li>
            <?php } ?>

Topic Closed

This topic has been closed to new replies.

About this Topic