Tagged: x
-
AuthorPosts
-
April 8, 2016 at 4:42 am #872550
Hi there!
We’re looking at using this:
define("WP_CONTENT_URL", "http://static.yourdomain.com"); define("COOKIE_DOMAIN", "www.yourdomain.com");
on some of our websites, but just wanted to clarify that X Theme uses bloginfo(‘template_directory’) to load the static theme content?
Mucho thanks 😀
Steven
April 8, 2016 at 4:52 pm #873372Hi there,
Thanks for writing in! Regretfully, at this time I am not entirely certain what it is you would like to accomplish based on the information given in your post.
Do you want to move wp-content folder ?
Let us know.
Thanks!April 9, 2016 at 4:41 pm #874511Hi Darshana,
Thanks for your reply. So we’re telling WordPress to load all content static content from a subdomain (eg static.domain.com) so that it has 2 connections open and should aid to load things a bit quicker.
I just needed to know if X Theme implements the bloginfo() function to load the static theme content?
Many thanks!
Steven
April 10, 2016 at 4:05 am #874976Hey Steven,
X uses
bloginfo()
in the following templates:wp-content\themes\x\framework\functions\global\admin\custom-post-types.php: wp-content\themes\x\framework\functions\global\meta.php: wp-content\themes\x\framework\functions\global\portfolio.php: wp-content\themes\x\framework\functions\global\social.php: wp-content\themes\x\framework\views\global\_brand.php: wp-content\themes\x\framework\views\global\_meta.php:
Thanks.
-
AuthorPosts