WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Move blog off the homepage (21 posts)

  1. Jack
    Member
    Posted 3 years ago #

    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!!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    Try setting up a custom menu.

  3. Jack
    Member
    Posted 3 years ago #

    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!

  4. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    No problem :-)

  5. Jack
    Member
    Posted 3 years ago #

    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?

  6. esmi
    Theme Diva & Forum Moderator
    Posted 3 years ago #

    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).

  7. Jack
    Member
    Posted 3 years ago #

    Alas, thanks again for the obvious.

  8. Jack
    Member
    Posted 3 years ago #

    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

  9. Chip Bennett
    Theme Review Admin
    Posted 3 years ago #

    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)?

  10. Jack
    Member
    Posted 3 years ago #

    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!

  11. Chip Bennett
    Theme Review Admin
    Posted 3 years ago #

    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?

  12. Jack
    Member
    Posted 3 years ago #

    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.

  13. Chip Bennett
    Theme Review Admin
    Posted 3 years ago #

    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.

  14. Jack
    Member
    Posted 3 years ago #

    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!

  15. dealme
    Member
    Posted 3 years ago #

    thanks, was having difficulty with this to.

  16. alexavery
    Member
    Posted 2 years ago #

    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?

  17. c3ajeff
    Member
    Posted 2 years ago #

    I did this too... home is a static page (or so I thought) and I made two other pages, one of which I assigned to display the blog posts, however everything came out backwards for some reason.

    My "home" page and my "contact us" page both look like blog pages, and the blog page (named "waterblogged") has no blog info on it...

    Look at skylinepump.com - this is my first WP site. I've worked with php and HTML/CSS before quite a bit, but my client wanted a blog that they could edit and WP seemed like a good fit. Now, I'm wondering if I can make this work for a 'company' website or not. I've had to strip out tons of code to get rid of stuff I don't want on ANY page... and I don't see any other way to remove column content that seems to be hard-coded. By doing this I lost my top menu (but I think I had to because I couldn't get rid of the original 'home' page, no matter what I did.) I'd love to get that top menu back....

    It also seems like typical php comments "/* */" doesn't work either - any suggestions?

    But first I need to resolve the static page vs. blog page first.

    Perhaps a good theme (one that's built for what my client needs?) suggestion?

    Thanks,

    Jeff

  18. Chip Bennett
    Theme Review Admin
    Posted 2 years ago #

    @alexavery:

    Go to Dashboard -> Settings -> Permalinks, and set a permalink structure.

    @c3ajeff:

    It looks like it's all working correctly on your site. Did you figure things out already?

  19. alexavery
    Member
    Posted 2 years ago #

    Thank you chip.
    Another question now. Since I'm using pages now, how can I remove the "Posted on June 13, 2011 by AlexAvery" and the comments on the bottom?

  20. c3ajeff
    Member
    Posted 2 years ago #

    @chip bennett - well I figured out how to take out the comments (by removing code in comments.php) and while that worked for the static pages, it also took out the comments where I actually wanted them to be (on the waterblogged page) which makes sense. I would have preferred to keep one page with a blog (why I used WP in the first place) but it just doesn't want to work as advertised.

    I did the whole Settings -> Reading -> Frontpage / Posts page thing, but it didn't work right. I still have post stuff on my frontpage and nothing showed (with no way to add comments or posts) on the page I listed as my posts page. Now, I've removed all the code, but would like to get at least ONE blog page back. Any ideas?

    Jeff

  21. clou4394
    Member
    Posted 2 years ago #

    I am having the same trouble with this. I tried to move my blog off my homepage, but now there is no blog on the page I have assigned as my post page. It still lets me post under the pages section, but nothing shows up. Here is the site: http://cloudberrysocial.com/blog

    If you search for "test" in my search, it will bring up part of a post I did titled " Test blog" but, it is supposed to be on my post page. I am using the PureVision theme. Please help!

Topic Closed

This topic has been closed to new replies.

About this Topic