Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #872550

    crawfordandjohn
    Participant

    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

    #873372

    Darshana
    Moderator

    Hi 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!

    #874511

    crawfordandjohn
    Participant

    Hi 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

    #874976

    Christian
    Moderator

    Hey 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.