WordPress.org

Support

Support » How-To and Troubleshooting » Add Blog Content to Static Page?

Add Blog Content to Static Page?

  • Greetings. I have a company website with a “standard” look-and-feel template. I’ve got a “News” page that has essentially nothing on it, that I’d like to use as a “blog” page.

    How may I use this as a “template” that will allow WP to write to the “blank” part of the page?

    A “n00b” thanks you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • If you include wp-blogheader.php in that static page, then you’ll have access to your WP database trough the use of the template tags, the loop, and whatever else you might want to use.

    Hi. Found this thread when searching for the exact same issue. Given that this answer is almost two years old, is it still valid, or is there a better/easier way to incorporate a simple news/commentary function onto a static home page?

    Thanks!

    Basically – yes, still valid.
    But let’s separate the two questions you have there:
    1. news integration = easy
    2. comments – that will take you to the WP install with a completely different look; so you either make a theme that looks like your old/existing site… or give up on commenting.

    A more detailed guide about how the wp-blog-header solution works:
    http://www.transycan.net/blogtest/2005/07/05/integrate/

    Thank you, Moshu. That’s helpful… kind of. Our company site will have only a right sidebar for the dynamic content (blogs and news). I expect we’ll use a topic/date line and the first sentence or two from the post, then have users click “Read More” to take them to the post page.

    Would the wp-blog-header work best for this application?

    IF you read it… it says clearly:
    b) You will notice that clicking on the posts’ titles and “Comments” links it will take you to your blog at example.com/blog – displaying it with the Default (Kubrick) theme. If you want to avoid it, and you don’t want visitors to comment and/or see directly your blog, you can remove all the HTML anchor tags from around the title in The Loop.

    Which means, using the read more and/or comments – you still need to create a theme that “mimics” your site’s design.

    For that I’d recommend to start here: http://codex.wordpress.org/Theme_Development

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Add Blog Content to Static Page?’ is closed to new replies.