I guess this is a variation of the “sticky post” idea, but I’m having trouble turning up info in my searches.
I’d like to have a static announcement at the top of my blog page, before the start of the loop. I’d like this to be something can be editable and changed through the wp-admin, so I want it to be the content of a page or a post.
Also I’d like to be able to style this announcment via the stylesheet (so perhaps I’d put it in its own div).
I’m thinking along the lines of inserting the content of a page (as opposed to a post) because the function is more like a page — something that would be edited once in a while, but would mostly be static.
Is there a way to stick the content of a page in before the loop starts? I’ve been looking at the template tags but not sure how I’d call up a page.
- The topic ‘Include content of a static page on the main blog page?’ is closed to new replies.