• I have a front page that is “static”. I would like to make a “page” that is named blog to go to my actual blog. I can’t seem to find out how to do this. I’m sure it’s easy for someone that knows more then I do, I’ve looked for it on this forum and can’t seem to find my answer. Thanks.

Viewing 11 replies - 1 through 11 (of 11 total)
  • There may be a simpler way, but here’s how I’ve done it…

    The documentation on get_posts has sample code snippets on how to put a set of posts on an arbitrary page.

    In your theme directory, you create a blog.php (probably based on page.php or index.php) and make it a page template (see codex on creating templates). You can give this page template the name “blog” and add the code to it that you need. The final step is to make it part of the WordPress site by creating a new page and saying to use the “blog” template. [The name “blog” will appear in the dropdown box for the templates on the Edit Page screen.]

    I am also trying to figure this out-
    I am using a semiologic skin with a static front page,
    and just want to be able to post blogs in a time sequenced order that will be accessible from a tab in my header….
    Any help would change my world!

    Thread Starter jaytime

    (@jaytime)

    Is there a simple way. Anyone?

    Thread Starter jaytime

    (@jaytime)

    I have been trying to figure this out…I went to the options>read and where it says front the dropdown only has (about) as an option. The templete came with a home button and an about button. I created a new page called home, I was able to set that in the options dropdown menu and then I have 2 buttons that say home in the nav. bar. How do I make the home page static and not have the other “home” button show up?

    jaytime,

    In the file that you have your navigation in, you could do something like:

    <?php if (!is_page(home)) : ?>
    <!-- Put Home Link Html Here -->
    <?php endif; ?>
    ?>

    You may also want to look at your header.php file.

    If it has a wp_list_pages call, that will take care of putting the home page in the navigation bar. But if the template assumed there would that “home” would simply go to the the list of most recent blog entries, not a page, that may be coded separately in header.php and you’ll need to delete that.

    If you can tell us what theme you’re using and where you downloaded it, we might be able to be more specific on what changes to make.

    Thread Starter jaytime

    (@jaytime)

    Sure. It’s called beach house and I downloaded it here…

    http://themes.wordpress.net/columns/2-columns/563/beach-house-121/

    Thread Starter jaytime

    (@jaytime)

    Anyone?

    In your theme’s header.php, there’s code

    <li<?php if (is_home()) echo " class=\"selected\""; ?>>
    <a href="<?php bloginfo('url'); ?>">Home</a></li>

    Delete that to get rid of the “double” home in the navigation bar. [You can edit the file locally and re-upload, edit on the server if you have shell access, or edit through WordPress’s Presentation > Theme Editor interface.]

    ———-
    So, the above is an answer to your question

    How do I make the home page static and not have the other “home” button show up?

    Do you still need help with the earlier question –

    Is there a simple way to set up a page that is the “front page” for the blog?

    [I answered that and don’t know a simpler way to do it. If my answer wasn’t clear, let me know…]

    Thread Starter jaytime

    (@jaytime)

    I figured out the second part and the first part that you told me to delete seemed to do the trick. Thanks

    Okay, there is a simpler way. [I’d been doing the static front page with a plugin since WordPress 1.x and never really looked carefully at the more recent options to do this.]

    See the “optional step” in this thread for the info.

    It takes a question to get an answer. Thanks.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘main page :static” and want to make a “post page”’ is closed to new replies.