WP 2.9.1

Using template_directory does not allow finding the file in the child theme 
directory at all.

all examples assume active childtheme in CHILDTHEME directory

This was reported over a year ago as well.
http://lists.automattic.com/pipermail/wp-testers/2008-October/009433.html

*incorrect* ?
this line
<img src="<? bloginfo('template_directory'); ?>/images/header.jpg" />
returns
ww.SITE.com/wp-content/themes/k2/images/header.jpg

workaround / correct using *stylesheet_directory*
this line
<img src="<? bloginfo('stylesheet_directory'); ?>/images/header.jpg" />
returns
ww.SITE.com/wp-content/themes/CHILDTHEME/images/header.jpg

what I would expect is...

<img src="<? bloginfo('theme_directory'); ?>/images/header.jpg" />
returns
ww.SITE.com/wp-content/themes/CHILDTHEME/images/header.jpg
if not found
ww.SITE.com/wp-content/themes/k2/images/header.jpg

--

------------------------------------------------------------------------
*John Asbacher* Inform Productions v 604 734-3447
Video & Multi-Media Productions *c 604 721-7994*
3773 Yukon St. Vancouver, B.C. V5Y 3S3 Canada
*[email protected]* --- http://www.shootedit.com
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers

Reply via email to