• Hey Everyone,

    I’m new to the forums here and OK at wordpress.

    I run a fantasy baseball league and I use WP for my CMS. I want to try something I haven’t done before.

    My site is here(still in the works, don’t worry about the layout): http://www.lansdowne9.com/odfb/

    I want to have 4 loops: 1 feature, 1 hot stove report, 1 on the farm and 1 front office post. With each section besides the featured article, I only want there to be a short description link to the article itself.

    Would anyone know a link to a nice guide that will show me how to do this?

    Also, in terms of images. Is there a plugin or option in which my authors can upload an image to accompany their post, which in turns shows up with the most recent post in the sidebar categories (hot stove, front office, on the farm).

    Any help would be appreciated.

    Thanks!

Viewing 1 replies (of 1 total)
  • hi

    the information you need about multiple loops is here
    http://codex.wordpress.org/Template_Tags/get_posts

    the way to do it is to make a post category for each of your 4 loop topics. then query for the most recent 1 post in each category

    there is additional information on parameters for each loop on this page
    http://codex.wordpress.org/Template_Tags/query_posts
    However, for multiple loops you want to use get_posts not query_posts

    you can copy the basic code from a wordpress loop, just change it to work with get_posts. All you need to display is the_permalink() and the_title() as you are not displaying the_contents()

Viewing 1 replies (of 1 total)

The topic ‘multiple loops and image updating’ is closed to new replies.