[wp-testers] Custom Post Index

Dion Hulse (dd32) wordpress at dd32.id.au
Fri Mar 26 05:57:12 UTC 2010


Yes it would mean 1 page & 1 template per post_type.

A smart person could create a single template which based the post_type  
off the current pages name or a custom field, or, the body of the post.

On Fri, 26 Mar 2010 11:43:25 +1200, Azizur Rahman  
<prodevstudio+wordpress at gmail.com> wrote:

> Wouldn't creating a page to list custom post types means you'd need to
> create a page per custom post type and custom page templates.
>
> Aren't custom post type meant to be different from post and pages? Am I
> missing something here?
>
> I am sure the rewrite would be better.
>
> Kind Regards,
> Azizur Rahman
>
> ----
> Do you need cost effective web hosting solution and Domain name try
> http://prodevstudio.com
>
>
> On Thu, Mar 25, 2010 at 3:22 PM, Daniel Morrison  
> <info at danstechstop.com>wrote:
>
>> It still isn't working. Maybe I didn't clarify what was going on. For an
>> individual post the permalink is
>> http://beta.danstechstop.com/sermons/random. That is what I want, but  
>> if I
>> want an index of every post in the custom type it is still
>> http://danstechstop.com/?post_type=sermons which I don't want.
>>
>> I think I am going to have to use the custom templates. That will work.
>>
>> Thanks.
>>
>> On Thu, Mar 25, 2010 at 08:19, John Blackbourn
>> <johnbillion+wp at gmail.com <johnbillion%2Bwp at gmail.com><
>> johnbillion%2Bwp at gmail.com <johnbillion%252Bwp at gmail.com>>
>> > wrote:
>>
>> > Or just create a page called 'Sermons' and give it a custom template
>> > that only shows your 'sermon' post types.
>> >
>> > On Thu, Mar 25, 2010 at 2:54 PM, Ezwan Aizat Bin Abdullah Faiz
>> > <aizat.faiz at gmail.com> wrote:
>> > > On Thu, Mar 25, 2010 at 10:45 PM, Daniel Morrison <
>> info at danstechstop.com
>> > >wrote:
>> > >
>> > >> Hello all,
>> > >>
>> > >> Is there any way to get the custom posts to display as a directory  
>> for
>> > >> example instead of http://beta.danstechstop.com/?post_type=sermons
>> > >> http://beta.danstechstop.com/sermons.
>> > >>
>> > >
>> > > You will need to create a rewrite rule if you want that to happen,  
>> and
>> > then
>> > > enable permalinks.
>> > >
>> > >
>> > >> Another question. Is there any way to change the index meta data
>> > >> (single-sermons.php I think) from a plugin?
>> > >
>> > >
>> > > Index meta data? I'm not so sure what you mean.
>> > >
>> > > Regards,
>> > > Aizat
>> > >
>> > > --
>> > > http://aizatto.com
>> > > _______________________________________________
>> > > wp-testers mailing list
>> > > wp-testers at lists.automattic.com
>> > > http://lists.automattic.com/mailman/listinfo/wp-testers
>> > >
>> > _______________________________________________
>> > wp-testers mailing list
>> > wp-testers at lists.automattic.com
>> > http://lists.automattic.com/mailman/listinfo/wp-testers
>> >
>> _______________________________________________
>> wp-testers mailing list
>> wp-testers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-testers
>>
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>


-- 
Dion Hulse / dd32
Contact:
  e: contact at dd32.id.au
  Web: http://dd32.id.au/


More information about the wp-testers mailing list