[theme-reviewers] CSS3 Validation ?
Justin Tadlock
justin at justintadlock.com
Wed Jul 27 05:41:59 UTC 2011
This should explain it:
http://justintadlock.com/archives/2010/11/17/how-to-load-files-within-wordpress-themes
On 7/26/2011 12:33 AM, Qamar Ashraf wrote:
> Thanks Vicky,
> You have a point. so i think, there are two points now.
>
> * locate_template() is for the inclusion of template files. only ?
> * require or include is better for functions or other logics ?
>
> Let's see for the other views
>
> On Tue, Jul 26, 2011 at 10:22 AM, Emil Uzelac <emil at themeid.com
> <mailto:emil at themeid.com>> wrote:
>
> I will let Otto or someone else more knowledgeable to answer this
> question @Vicky. I am not 100% sure.
>
> ----
> *Emil Uzelac* | ThemeID | T: 224-444-0006 <tel:224-444-0006> |
> Twitter: @EmilUzelac | E: emil at themeid.com
> <mailto:emil at themeid.com> | http://themeid.com <http://themeid.com/>
> Make everything as simple as possible, but not simpler. - Albert
> Einstein
>
>
>
> On Tue, Jul 26, 2011 at 12:19 AM, Vicky Arulsingam
> <vicky.arulsingam at gmail.com <mailto:vicky.arulsingam at gmail.com>>
> wrote:
>
>
>
> On Tue, Jul 26, 2011 at 1:17 PM, Emil Uzelac <emil at themeid.com
> <mailto:emil at themeid.com>> wrote:
>
>
> *require_once / include_once vs locate_template( array(
> 'file.php' ), true, false );*
> Hopefully Otto will not mind. This is what I've learned
> from him:
> /Instead of doing require's, consider using
> locate_template. This would allow child themes to override
> anything you're requiring./
>
>
> Does this also apply for php function files - should they be
> included via locate_template?
>
>
> -----
> Vicky Arulsingam
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> <mailto:theme-reviewers at lists.wordpress.org>
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
>
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> <mailto:theme-reviewers at lists.wordpress.org>
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
>
>
>
> --
> Regards
> Qamar Ashraf
> www.tutorialchip.com <http://www.tutorialchip.com>
> @lifeobject
>
>
> _______________________________________________
> 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/20110727/a67fd4c4/attachment-0001.htm>
More information about the theme-reviewers
mailing list