[theme-reviewers] Custom post types in a theme?

Josh Pollock jpollock412 at gmail.com
Fri Apr 19 22:38:32 UTC 2013


Another option is to use the theme customizer to set options for the slider
like which category to use, how many slides to show and if the slider
should be used at all.


On Fri, Apr 19, 2013 at 4:07 PM, Nicolas GUILLAUME <nguillaume at gmail.com>wrote:

> Hi guys,
>
> @Srikanth : thanks for the link
>
> @Abhik : thanks for the tought which was actually right,
>
> @chipbennett  : thanks for your answer, I will stick to this rule :
> *Themes must not be used to *define the generation of user content*, or to
>
> define Theme-independent site options or functionality.
> *
> *
> *
> @mel : no problems for "mis leading", you helped me get an answer with
> this awesome reviewers maling list! :-D
>
> @Paul Appleyard : I am actually thinking about an alternative solution
> using custom post metas for attachment post types + a bit of ajax.
>
> Thanks,
> Nicolas
>
> 2013/4/19 <theme-reviewers-request at lists.wordpress.org>
>
>> Send theme-reviewers mailing list submissions to
>>         theme-reviewers at lists.wordpress.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>         http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>> or, via email, send a message with subject or body 'help' to
>>         theme-reviewers-request at lists.wordpress.org
>>
>> You can reach the person managing the list at
>>         theme-reviewers-owner at lists.wordpress.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of theme-reviewers digest..."
>>
>>
>> Today's Topics:
>>
>>    1. Re: Custom post types in a theme? (Chip Bennett)
>>    2. Issue with theme unit test data file? (esmi at quirm dot net)
>>    3. Re: Issue with theme unit test data file? (Chip Bennett)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Fri, 19 Apr 2013 10:05:12 -0400
>> From: Chip Bennett <chip at chipbennett.net>
>>
>> Subject: Re: [theme-reviewers] Custom post types in a theme?
>> To: "[theme-reviewers]" <theme-reviewers at lists.wordpress.org>
>> Message-ID:
>>         <
>> CAPdLKqdCry1HqBPSH4g0ZCcPZ1ZSS8iqQkRQtjo0j-XLYmNLtA at mail.gmail.com>
>> Content-Type: text/plain; charset="iso-8859-1"
>>
>>
>> Options for defining posts to be included in a slider:
>>
>> 1. Sticky posts
>> 2. Category or Tag taxonomy
>> 3. Custom Post Meta (e.g. "_themename_featured" or "_themename_slider")
>>
>> There are probably more; these are just off the top of my head.
>>
>>
>> On Fri, Apr 19, 2013 at 9:26 AM, Paul Appleyard <paul at spacecat.com>
>> wrote:
>>
>> >  I've actually done what you want to do, but with a private WP theme;
>> I'm
>> > actually going to be cutting that bit out and releasing it as a plugin.
>> >
>> > But anyway, can't you do it with standard post taxonomy entries? Have em
>> > tag it as a slider category. Not as elegant, I know.
>> >
>> > Paul Appleyard
>> >
>> >
>> > On 19/04/2013 10:30 PM, Nicolas GUILLAUME wrote:
>> >
>> > Hi guys, thanks for the answer,
>> > well, it actually seems to be forbidden... not good news for me because
>> my
>> > theme includes a simple slider generator based on a CPT and a taxonomy
>> => I
>> > think I am gonna have to rethink this from scratch!
>> > I still keep a tiny hope after reading this sentence from Chip Bennett
>> : "
>> > *Special-case Themes that use CPTs can be considered on a case-by-case
>> > basis*." in this post :
>>
>> >
>> http://lists.wordpress.org/pipermail/theme-reviewers/2013-March/012088.html
>> >
>> >
>> >
>> > 2013/4/19 <theme-reviewers-request at lists.wordpress.org>
>> >
>> >> Send theme-reviewers mailing list submissions to
>> >>         theme-reviewers at lists.wordpress.org
>> >>
>> >> To subscribe or unsubscribe via the World Wide Web, visit
>> >>         http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>> >> or, via email, send a message with subject or body 'help' to
>> >>         theme-reviewers-request at lists.wordpress.org
>> >>
>> >> You can reach the person managing the list at
>> >>         theme-reviewers-owner at lists.wordpress.org
>> >>
>> >> When replying, please edit your Subject line so it is more specific
>> >> than "Re: Contents of theme-reviewers digest..."
>> >>
>> >>
>> >> Today's Topics:
>> >>
>> >>    1. Re: Custom post types in a theme? (Srikanth Koneru)
>> >>    2. Re: Custom post types in a theme? (esmi at quirm dot net)
>> >>    3. Re: Custom post types in a theme? (Abhik Biswas)
>> >>
>> >>
>> >> ----------------------------------------------------------------------
>> >>
>> >> Message: 1
>> >> Date: Fri, 19 Apr 2013 16:16:21 +0530
>> >> From: Srikanth Koneru <tskk79 at gmail.com>
>> >> Subject: Re: [theme-reviewers] Custom post types in a theme?
>> >> To: theme-reviewers at lists.wordpress.org
>> >> Message-ID:
>> >>         <
>> >> CAL9qNWuSwfM6n8i_u4ckxSs7pA4M1ZO1jUS0Lgy_ndO80ynMLw at mail.gmail.com>
>> >> Content-Type: text/plain; charset="iso-8859-1"
>> >>
>> >> its plugin territory only
>> >>
>> >>
>> http://lists.wordpress.org/pipermail/theme-reviewers/2013-March/012088.html
>> >>
>> >>
>> >> On Fri, Apr 19, 2013 at 4:12 PM, Nicolas GUILLAUME <
>> nguillaume at gmail.com
>> >> >wrote:
>> >>
>> >> > Hi,
>> >> > I am wondering if a theme submited to the community can be validated
>> if
>> >> it
>> >> > includes a custom post type (used for a slider for example), or if
>> CPT
>> >> are
>> >> > plugin territory only ?
>> >> >
>> >> > Thanks for your answer/feedback !
>> >> >
>> >> > Nicolas
>> >> > http://wordpress.org/support/**profile/nikeo<
>> >> http://wordpress.org/support/profile/nikeo>
>> >> >
>> >> > ______________________________**_________________
>> >> > theme-reviewers mailing list
>> >> > theme-reviewers at lists.**wordpress.org<
>> >> theme-reviewers at lists.wordpress.org>
>> >> > http://lists.wordpress.org/**mailman/listinfo/theme-**reviewers<
>> >> http://lists.wordpress.org/mailman/listinfo/theme-reviewers>
>> >> >
>> >> -------------- next part --------------
>> >> An HTML attachment was scrubbed...
>> >> URL: <
>> >>
>> http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20130419/0df08bdb/attachment-0001.htm
>> >> >
>> >>
>> >> ------------------------------
>> >>
>> >> Message: 2
>> >> Date: Fri, 19 Apr 2013 12:22:28 +0100
>> >> From: esmi at quirm dot net <esmi at quirm.net>
>> >> Subject: Re: [theme-reviewers] Custom post types in a theme?
>> >> To: theme-reviewers at lists.wordpress.org
>> >> Message-ID: <517128F4.3070109 at quirm.net>
>> >> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>> >>
>> >> on 19/04/2013 11:46 Srikanth Koneru said the following:
>> >> > its plugin territory only
>> >> >
>> >>
>> http://lists.wordpress.org/pipermail/theme-reviewers/2013-March/012088.html
>> >>
>> >> @Nicolas: Sorry for mis-leading you on the forum. :-(
>> >>
>> >> @theme review admins: Can the guidelines be updated to reflect this,
>> >> please?
>> >>
>> >> Mel
>> >> --
>> >> http://quirm.net
>> >> http://blackwidows.co.uk
>> >>
>> >>
>> >> ------------------------------
>> >>
>> >> Message: 3
>> >> Date: Fri, 19 Apr 2013 17:00:57 +0530
>> >> From: Abhik Biswas <abhik at itsabhik.com>
>> >> Subject: Re: [theme-reviewers] Custom post types in a theme?
>> >> To: theme-reviewers at lists.wordpress.org
>> >> Message-ID:
>> >>         <
>> >> CAHADiatK4tfTj5HBZJz23Y+fMSZ_AMKvHAJs5HAb+UP4Pxzo2w at mail.gmail.com>
>> >> Content-Type: text/plain; charset="iso-8859-1"
>> >>
>> >> Anything that gets off upon deactivating (or, on changing) a theme is
>> >> plugin territory.
>> >> Just my thoughts.
>> >>
>> >>
>> >> On Fri, Apr 19, 2013 at 4:52 PM, esmi at quirm dot net <esmi at quirm.net
>> >> >wrote:
>> >>
>> >> > on 19/04/2013 11:46 Srikanth Koneru said the following:
>> >> >
>> >> >  its plugin territory only
>> >> >> http://lists.wordpress.org/**pipermail/theme-reviewers/**
>> >> >> 2013-March/012088.html<
>> >>
>> http://lists.wordpress.org/pipermail/theme-reviewers/2013-March/012088.html
>> >> >
>> >> >>
>> >> >
>> >> > @Nicolas: Sorry for mis-leading you on the forum. :-(
>> >> >
>> >> > @theme review admins: Can the guidelines be updated to reflect this,
>> >> > please?
>> >> >
>> >> > Mel
>> >> > --
>> >> > http://quirm.net
>> >> > http://blackwidows.co.uk
>> >> >
>> >> > ______________________________**_________________
>> >> > theme-reviewers mailing list
>> >> > theme-reviewers at lists.**wordpress.org<
>> >> theme-reviewers at lists.wordpress.org>
>> >> > http://lists.wordpress.org/**mailman/listinfo/theme-**reviewers<
>> >> http://lists.wordpress.org/mailman/listinfo/theme-reviewers>
>> >> >
>> >> -------------- next part --------------
>> >> An HTML attachment was scrubbed...
>> >> URL: <
>> >>
>> http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20130419/0af162b6/attachment-0001.htm
>> >> >
>> >>
>> >> ------------------------------
>> >>
>> >> _______________________________________________
>> >> theme-reviewers mailing list
>> >> theme-reviewers at lists.wordpress.org
>> >> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>> >>
>> >>
>> >> End of theme-reviewers Digest, Vol 35, Issue 28
>> >> ***********************************************
>> >>
>> >
>> >
>> >
>> > _______________________________________________
>> > theme-reviewers mailing listtheme-reviewers at lists.wordpress.orghttp://
>> lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>> >
>> >
>> >
>> > _______________________________________________
>> > theme-reviewers mailing list
>> > theme-reviewers at lists.wordpress.org
>> > http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>> >
>> >
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <
>> http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20130419/4ab53319/attachment-0001.htm
>> >
>>
>> ------------------------------
>>
>> Message: 2
>> Date: Fri, 19 Apr 2013 17:45:50 +0100
>>
>> From: esmi at quirm dot net <esmi at quirm.net>
>> Subject: [theme-reviewers] Issue with theme unit test data file?
>> To: theme-reviewers at lists.wordpress.org
>> Message-ID: <517174BE.1060600 at quirm.net>
>> Content-Type: text/plain; charset=windows-1252; format=flowed
>>
>> <http://wordpress.org/support/topic/theme-unit-test-failing>
>>
>> Got the same errors as the OP using
>> <https://wpcom-themes.svn.automattic.com/demo/theme-unit-test-data.xml >
>> which I downloaded yesterday. Plus I got the following:
>>
>> ===
>> Failed to import Media ?dsc20040724_152504_532?
>> Failed to import Media ?dsc20050604_133440_3421?
>> Menu item skipped due to invalid menu slug: short (7 rpts)
>> Menu item skipped due to invalid menu slug: all-pages (9 rpts)
>> =========
>>
>> I'm also running with debug on and had multiple instances of:
>>
>> Notice: Undefined offset: 1 in
>>
>> E:\data\data3\server\test2\wp-content\plugins\wordpress-importer\parsers.php
>> on line 430
>>
>> running latest (Version 0.6.1) of WordPress Importer.
>>
>>
>> Mel
>> --
>> http://quirm.net
>> http://blackwidows.co.uk
>>
>>
>> ------------------------------
>>
>> Message: 3
>> Date: Fri, 19 Apr 2013 12:47:26 -0400
>> From: Chip Bennett <chip at chipbennett.net>
>> Subject: Re: [theme-reviewers] Issue with theme unit test data file?
>> To: "[theme-reviewers]" <theme-reviewers at lists.wordpress.org>
>> Message-ID:
>>         <
>> CAPdLKqfiq8MtLog03CFfCKvueaoB-0fegBn8p3sSRYbm3xJ6aw at mail.gmail.com>
>> Content-Type: text/plain; charset="windows-1252"
>>
>> Pardon the dust. I've been working on changes/updates to the Theme Unit
>> Test data. The current XML export is out of sync with the current data.
>>
>>
>> On Fri, Apr 19, 2013 at 12:45 PM, esmi at quirm dot net <esmi at quirm.net
>> >wrote:
>>
>> > <http://wordpress.org/support/**topic/theme-unit-test-failing<
>> http://wordpress.org/support/topic/theme-unit-test-failing>
>> > >
>> >
>> > Got the same errors as the OP using <https://wpcom-themes.svn.**
>> > automattic.com/demo/theme-**unit-test-data.xml<
>> https://wpcom-themes.svn.automattic.com/demo/theme-unit-test-data.xml>>
>> which I downloaded yesterday. Plus I got the following:
>> >
>> > ===
>> > Failed to import Media ?dsc20040724_152504_532?
>> > Failed to import Media ?dsc20050604_133440_3421?
>> > Menu item skipped due to invalid menu slug: short (7 rpts)
>> > Menu item skipped due to invalid menu slug: all-pages (9 rpts)
>> > =========
>> >
>> > I'm also running with debug on and had multiple instances of:
>> >
>> > Notice: Undefined offset: 1 in E:\data\data3\server\test2\wp-**
>> > content\plugins\wordpress-**importer\parsers.php on line 430
>> >
>> > running latest (Version 0.6.1) of WordPress Importer.
>>
>> >
>> > Mel
>> > --
>> > http://quirm.net
>> > http://blackwidows.co.uk
>> > ______________________________**_________________
>> > theme-reviewers mailing list
>> > theme-reviewers at lists.**wordpress.org<
>> theme-reviewers at lists.wordpress.org>
>> > http://lists.wordpress.org/**mailman/listinfo/theme-**reviewers<
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers>
>> >
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <
>> http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20130419/c2f84730/attachment.htm
>> >
>>
>>
>> ------------------------------
>>
>> _______________________________________________
>> theme-reviewers mailing list
>> theme-reviewers at lists.wordpress.org
>> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>>
>>
>> End of theme-reviewers Digest, Vol 35, Issue 30
>> ***********************************************
>>
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20130419/9845252c/attachment-0001.htm>


More information about the theme-reviewers mailing list