WordPress.org

Support

Support » Themes and Templates » [Resolved] Move blog off the homepage

[Resolved] Move blog off the homepage

  • Jack

    @studiojacklynnphamcom

    I would like to keep the blog functionality of the my theme (BUENO), but rename it (from “home” to “blog) and move it to the end of the page navigation.

    I know how to create a static homepage through Settings>Reading, but I don’t know how to move it without ruining it.

    The website I’m working on to do this is jacklynnpham.com/portfolio (which will eventually be jacklynnpham.com).

    I’ve read this forum thread, but my code looks different and I’m not sure what to change.

    Thanks in advance!!

Viewing 15 replies - 1 through 15 (of 20 total)
  • esmi

    @esmi

    Forum Moderator

    Try setting up a custom menu.

    Jack

    @studiojacklynnphamcom

    Goodness, this was so much easier than I thought it would be. I had fiddled around with it it before but didn’t set it correctly.

    Thanks so much!

    esmi

    @esmi

    Forum Moderator

    No problem 🙂

    Jack

    @studiojacklynnphamcom

    Eep, one more thing. Now the drop down for subcategories isn’t working (under “portfolio”). Does that mean I can’t use this simple method?

    esmi

    @esmi

    Forum Moderator

    You can still use it. Just add the sub-categories as children of your Portfolio link in the custom menu (hint: drag itemr to the right to make them children).

    Jack

    @studiojacklynnphamcom

    Alas, thanks again for the obvious.

    Jack

    @studiojacklynnphamcom

    Sorry to pester again. If I make the opening page static to a page I created called “home” the blog function goes away and it also opens “home” instead (and both are underlined as being the current page open). If I leave the front page displaying “latest posts” and rename and move blog to the end, it of course still works, but then my page opens up into my blog which I don’t want.

    Is there something else I’m missing?

    Thanks, Jacklynn

    Have you created a static Page, e.g. “blog”, and assigned it to display the blog posts index, via Dashboard -> Settings -> Reading (just beneath the “Display on Front Page” setting)?

    Jack

    @studiojacklynnphamcom

    Chip, I do know about that. But the issue is that if I have a static page as the the main page then the blog page doesn’t work anymore. I’m tempted to just use a separate wordpress thing with the same template for my blog and connect the two. But thanks for your help!

    Does your Theme have a “home.php” template file, and or a “front-page.php” template file? Or are you trying to get your blog index page to use something else, such as a “blog.php” template file?

    Jack

    @studiojacklynnphamcom

    it has a “main index” template file which I think holds the blog layout. I want to have a blog, but I don’t want it to be the main index. Does that make sense? I’m not sure how to create an additional blog section if I have changed the settings to have a static page as my main index.

    it has a “main index” template file which I think holds the blog layout. I want to have a blog, but I don’t want it to be the main index. Does that make sense? I’m not sure how to create an additional blog section if I have changed the settings to have a static page as my main index.

    “index.php” (i.e. “Main Index”) is the fallback for everything, essentially.

    To set your blog posts index to a page other than Front Page:

    1) Create a static Page. (We’ll call it “Blog”, although the name is completely arbitrary.)
    2) Go to Dashboard -> Settings -> Reading
    3) Directly Beneath the “Front Page Displays” -> “Static Page” field is the “Front Page:” dropdown list. (This list should currently have selected the static Page you use for your Front Page.)
    4) Directly beneath the “Front Page:” dropdown list is the “Posts page:” dropdown list.
    5) In this “Posts page:” dropdown list, select the static Page we created above (i.e. “Blog”).

    Now you’ve got a separate Page for your blog posts index. Go to:

    http://mydomain.tld/blog

    and you should see your blog posts index.

    Jack

    @studiojacklynnphamcom

    That sounds great! Unfortunately I can’t test it out because I messed up my website trying to move the directory…but it sounds like it this will work!

    thanks, was having difficulty with this to.

    This worked to help me get my blog posts off my front page, but now that Ive set my posts to appear on a wordpress page, do I have to use the page link?? It’s long.
    Example:
    http://mydomain.com/blog/?page_id=267

    How can I set the blog index page to a php file or something rather than a wordpress page?

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘[Resolved] Move blog off the homepage’ is closed to new replies.
Skip to toolbar