WordPress.org

Ready to get started?Download WordPress

Forums

Is there a way to have some static content before the blog on the same page? (18 posts)

  1. jrasicmark
    Member
    Posted 1 year ago #

    They want our non-profit's mission statement on the home page followed by the blog underneath, on the same page.
    Is this even possible? Wouldn't the newer blog posts eventually push the Mission statement away from the front page of the site?
    If it is possible, please advise on how to do it?
    Thanks

  2. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    you could try and make the 'mission statement' post a 'sticky' post -

    http://codex.wordpress.org/Sticky_Posts

    if your theme uses post_class() you might be able to use css to customize the sticky post.

  3. jrasicmark
    Member
    Posted 1 year ago #

    The link seems to say that sticky post will put the post at the top until new posts are published.

    Am I correct in thinking that is where your suggestion to customize the sticky post's CSS comes into play, to override that and keep the post at the top even after new posts are published?

    I'm using Twenty Eleven theme. I searched the theme's style.css file for "post_class" and "sticky", but it didn't find either.

    Am I searching the wrong file, or does Twenty Eleven just not have those?
    Thanks

  4. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    The Twenty Eleven theme already highlights sticky posts via CSS and all sticky posts stay at the top of the recent posts list until you manually remove the sticky attribute. Try it and see.

  5. jrasicmark
    Member
    Posted 1 year ago #

    I originally had the mission statement on a page rather than a post, and it was on its own page with a menu selection in the navbar called "MISSION".
    Now I've created a post with the contents of that page and checked the box to stick it to the front page. Because of the wording of that check box, I thought maybe the front page should be blank, so it would have someplace to "stick" to. But it's still blank.

    So do I have to delete my original "MISSION" page altogether so the MISSION post can go to that spot?
    And can I give the MISSION post its own link in the navbar?
    I'm a little nervous about deleting anything in case it doesn't work.

  6. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Is your site's front page a list of your recent posts? Or is it a static page?

  7. jrasicmark
    Member
    Posted 1 year ago #

    It was a static page. Now they want it to be static at the top with a blog at the bottom. So I'm trying to do it with a post now. (There are no other posts for the blog yet).
    Can I make the posts page (with the static top) the front page with "MISSION" as its permanent link in the navbar?

  8. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Ok - in Settings -> Reading, switch over to using your recent posts as your front page. Now, you should have the sticky mission statement post at the top and all of the other posts below in date order.

  9. jrasicmark
    Member
    Posted 1 year ago #

    That broke the page. I get that "Well, that was embarrassing..." thing. Also, clicking on "MISSION" in the navbar does the same thing.

  10. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

    Have you published any Posts yet?

  11. jrasicmark
    Member
    Posted 1 year ago #

    I just got it to work. I had put the old, static page in the trash, but hadn't emptied the trash yet. Once I emptied the trash, it worked. Sorry, for the false alarm.

  12. jrasicmark
    Member
    Posted 1 year ago #

    Sorry, just one more thing has me puzzled now. There's a big comment box at the end of this post. Which is kind of silly, since the mission statement isn't really up for discussion.
    So I went to find the Discussion module to turn it off for this post, but that module is completely missing from this post's "Edit Post" page.
    Is that not possible to do for posts?

  13. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    on the 'edit post' page, near the top right, click 'screen options' and tick 'discussion' - this should open the discussion module below the post editor window where you can un-tick 'allow coments'

  14. jrasicmark
    Member
    Posted 1 year ago #

    Thanks so much! I didn't remember ever changing that in screen options!

  15. jrasicmark
    Member
    Posted 1 year ago #

    Oh, no! I just noticed, even though the front page is my new posts page, and the Mission statement sticky post is at the top, MISSION is on longer in the navbar.
    Is that not possible with a post?

  16. jrasicmark
    Member
    Posted 1 year ago #

    Darn, that should say "...MISSION is no longer in the navbar."

  17. jrasicmark
    Member
    Posted 1 year ago #

    The sidebar is gone too.

  18. jrasicmark
    Member
    Posted 1 year ago #

    I found a plugin to put the sidebar on the Mission post, but haven't found one to fix the navigation menu.

    Does anyone know of a plugin that will add a post to the navbar?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags