[theme-reviewers] wp.com compability
Jasper Kips
jasper at planetkips.nl
Thu Jul 4 16:16:27 UTC 2013
They actually are in the template, or theme, directory -that's the call to get_template_directory. So the theme is self contained.
Sincerely,
Jasper Kips
Op 4 jul. 2013, om 17:45 heeft carolina poena <myazalea at hotmail.com> het volgende geschreven:
> I've seen some themes with references to wp.com, not only in automattic themes,
> are snippets like these supposed to remain in the standalone theme? Maybe this have to do with jetpack?
> (the file doestn exist within the theme)
>
> /**
> * Load WP.com compatibility file.
> */
> if ( file_exists( get_template_directory() . '/inc/wpcom.php' ) )
> require get_template_directory() . '/inc/wpcom.php';
>
>
> _______________________________________________
> 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/20130704/51a18c90/attachment.html>
More information about the theme-reviewers
mailing list