[theme-reviewers] Theme options page

Chip Bennett chip at chipbennett.net
Fri Apr 12 13:02:46 UTC 2013


PHP functions such as file_get_contents()/fread()/fwrite()/etc. are
prohibited. (They won't even pass the uploader script.)

Everything in the Theme needs to be self-contained. Themes should never
rely on an external resource that can be bundled with the Theme. An
external "news" page would not be an appropriate exception.

Pulling in an RSS feed (such as for a dashboard Widget), if implemented
properly and used judiciously, is a viable option.


On Fri, Apr 12, 2013 at 1:28 AM, Paul Appleyard <paul at spacecat.com> wrote:

> Gotten quiet around here..
>
> Anyway, can someone refresh my memory on the policy regarding content on
> theme options pages? Can I have the page grab a dynamic piece of HTML (say
> with file_get_contents('http://**author.com/news.html<http://author.com/news.html>')
> relating to other themes, new features, stuff like that?
>
> Or does it need to be hard-coded in to the admin page?
>
> Cheers!
> Paul Appleyard
> ______________________________**_________________
> 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/20130412/2de166a0/attachment.htm>


More information about the theme-reviewers mailing list