Welcome to WebDesignForums.net!
You're currently viewing WDF as a guest. By registering for a free account, you'll be able to participate with other members in our friendly community. Being a member allows you to ask questions and get answers for those troublesome web development tasks!

In addition, as a member you'll be able to post your websites up for review. Using our unique website review system you can gain some amazing feedback from some of the best web developers around. This is a completely free service to all registered members.

Ready to register yet? Registration is 100% free. Click Here To Join Now!

The loop in context to adding posts/blog features to static webpage?

Discussion in 'Wordpress Help' started by bamme, May 1, 2011.

  1. Offline

    bamme Member

    Message Count:
    318
    Likes Received:
    1
    Trophy Points:
    18
    Hi, im reading up on how to simply add a "blog" page to a static site, which would list posts.

    I noticed on WP's documentation (http://codex.wordpress.org/Integrating_WordPress_with_Your_Website) this:

    I have tried to search this but i get lost in the tutorials, for example this: http://www.themelab.com/2008/04/04/the-ultimate-guide-to-the-wordpress-loop/

    it looks great but i can't find anything specific to how id need to get to know the loop and what about it i need to understand/include in web pages for this specific purpose; simply add a "blog" page to a static site, and potentially category sidebar.

    i am conscious in future the blog will use plugins such as a facebook like button so i want to be able to know how to use the loop best in context to what im doing

    has anyone got any useful resource links??

    thanks!


  2. Offline

    smoseley Administrator

    Message Count:
    9,727
    Likes Received:
    192
    Trophy Points:
    63
    Location:
    Boston, MA
    Are you looking for a <li> list of posts or summary view? "The loop" does the standard summary view. To do a custom list view, you may have to code some php.

    Easiest way to do a summary view would be to just install your wordpress into a /blog/ subdirectory, and have a link to that from your main site. :)


  3. Offline

    bamme Member

    Message Count:
    318
    Likes Received:
    1
    Trophy Points:
    18
    Thanks smosely, sort of although i dont want to just place a link to a blog, id like to learn how to do this properly - first off yes just a list of posts in summary view, but in future i may like to add the category sidebar etc, and want to make sure im doing it all the proper way


  4. Offline

    bamme Member

    Message Count:
    318
    Likes Received:
    1
    Trophy Points:
    18
    alongside this, ive created a wordpress site here:
    http://www.winninghealthsolutions.com/new

    my developer friend has added a booking system he made in the sense of placing it in the same directory. heres the login interface:
    http://www.winninghealthsolutions.co.uk/new/wp-content/themes/supercms/login.php

    kinda ugly. what i want to do is add bits and pieces from existing wordpress includes etc to make this look like the wordpress site. so really, i think i do need to know what this loop thing is all about to do this, correct?


  5. Offline

    smoseley Administrator

    Message Count:
    9,727
    Likes Received:
    192
    Trophy Points:
    63
    Location:
    Boston, MA
    Right, so you'll want to include the necessary WP libraries and code a basic PHP page that does that for you... I'm not a WP developer myself, so I don't know the specifics... you'll probably want to check here: http://wordpress.org/support/


  6. Offline

    bamme Member

    Message Count:
    318
    Likes Received:
    1
    Trophy Points:
    18
    Yeah you probably have that right :) The support area of wordpress is where i started in order to reach the current point im stuck at, which was the q here that started this thread


  7. Offline

    bamme Member

    Message Count:
    318
    Likes Received:
    1
    Trophy Points:
    18


Share This Page