• Resolved wineguppy

    (@wineguppy)


    Hi everyone,

    I’m trying to make some modifications to my WP 3.0.1 multisite install, and am trying to figure out where %s in the functions.php file (theme = TwentyTen) is defined.

    – excerpt from functions.php file in ~theme/twentyten

    // No CSS, just IMG call. The %s is a placeholder for the theme template directory URI.
    define( 'HEADER_IMAGE', '%s/images/headers/path.jpg' );

    I’m asking because uploaded images have the url https://www.subdirectory-domain.com/… whereas some of the template headers have https://www.rootdomain.com/subdirectory-domain/…

    I’d like to remove all references to the root domain.

    Thanks!
    Ben.

Viewing 2 replies - 1 through 2 (of 2 total)
  • It;s not the theme, really.

    It’s pulling that becasue the mapped domains still have references to the “mother” domain. Go to Super Admin -> Sites. Edit one of the mapped sites so the original subfolder address is now the mapped address.

    Presto, problem solved.

    Thread Starter wineguppy

    (@wineguppy)

    Thanks so much Andrea! This was definitely the solution. You just saved me a bunch of time…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘variable in functions.php’ is closed to new replies.