WordPress.org

Ready to get started?Download WordPress

Forums

Add Blog Content to Static Page? (6 posts)

  1. bpolhemus
    Member
    Posted 9 years ago #

    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.

  2. Nick Momrik
    Member
    Posted 9 years ago #

    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.

  3. DevonTT
    Member
    Posted 7 years ago #

    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!

  4. moshu
    Member
    Posted 7 years ago #

    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/

  5. DevonTT
    Member
    Posted 7 years ago #

    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?

  6. moshu
    Member
    Posted 7 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.