Possible to list all of a custom content type?

1,167 views
Skip to first unread message

Greg Burkett

unread,
Sep 29, 2009, 10:58:42 PM9/29/09
to Magic Fields
Cool plugin, but I'm trying to figure out if it can do what I need for
a specific project.

I've created a write panel for Movie Reviews with title fields, the
field for the review, and an image field. So far so good. However, I'd
like to list all of the Movie Reviews I've created on the home page of
my site. Is there a function to do that? Is there a way to output all
Movie Reviews in some sort of list format?

Thanks for any help!

Hunk

unread,
Sep 29, 2009, 11:33:56 PM9/29/09
to Magic Fields
yes, with one loop you can show all post/page of the one Write Panel.

check this http://gist.github.com/197735

Greg Burkett

unread,
Sep 30, 2009, 10:41:21 AM9/30/09
to magic-...@googlegroups.com
Oh -- awesome! That's exactly what I was looking for. Thanks for
sending this my way!

jeph.ch...@gmail.com

unread,
Mar 27, 2014, 1:19:27 PM3/27/14
to magic-...@googlegroups.com
Is there a way to do this in Magic Fields 2?

Hunk

unread,
Apr 23, 2014, 12:55:28 PM4/23/14
to magic-...@googlegroups.com
Yes, in query_posts or WP_Query you ask for all post of post type. something like this

query_posts('post_type=name_of_my_post_type');
Reply all
Reply to author
Forward
0 new messages