[wp-hackers] page + 2 loops of posts?

Nathan Rice ncrice at gmail.com
Fri Feb 27 17:31:29 GMT 2009


Jen,
This is probably the kind of question that's perfect for the
wordpress.org/support site. But this might help:
http://weblogtoolscollection.com/archives/2008/04/13/define-your-own-wordpress-loop-using-wp_query/

My Website
http://www.nathanrice.net/

My Twitter
http://twitter.com/nathanrice


On Fri, Feb 27, 2009 at 12:28 PM, Jen Simmons <jensimmons at gmail.com> wrote:

> Hey all,
> I want to create a home page on a site with a main bit of text (something
> the client can edit as a page) with 2 loops of posts after it (in 2
> columns).
>
> I know how to create the loops... but I don't know how to write a php call
> in home.php to pull the content from a specific page-id. (In the past I just
> put a introduction like this in the html, and re-hack it to change it, but
> I'd like the client to be able to edit the content without going into
> home.php.
>
> I could just make one post in a fake category... and then put three loops
> of posts on the home page. But I'd rather have the intro set up as a page.
>
> Is there a <php> phrase I can use to pull the content from a page? What is
> it??
>
> thanks
> Jen
>
>
> Jen Simmons
> Milkweed Media Design
> http://milkweedmediadesign.com
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list