Invoking the Loop on pages which aren't within WordPress' basic hierarchy (3 posts)

  1. mktwst
    Posted 10 years ago #

    I'm trying to generate a newsletter from posts in different categories, and have decided that the easiest way is to just make a template page and have WP fill in the new posts just like it does on my homepage.

    But I can't figure out how to get WordPress to execute a loop wherever you want it to

    I.E. not on a page which would usually be home or a single post or an archive.

    Does anyone know any way of doing this? It must be similar to when people put a list of latest blog posts on a home page which isn't within WordPress' directory.

    Thanks very much everyone :D

  2. tsguitar
    Posted 10 years ago #

    I *think* I get what you're asking. Give this a shot:

    Make sure you search before you ask. This topic has been covered lots of times. I hope that works for you. Post back if that's not quite what you need.

  3. Chris_K
    Posted 10 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic