[wp-hackers] Re: Problems with themes, depreciated stuff, etc.

Robert Deaton false.hopes at gmail.com
Sun Nov 28 20:20:52 UTC 2004


Thanks Ryan


On Sun, 28 Nov 2004 13:54:27 -0600, Ryan Boren <ryan at boren.nu> wrote:
> On Sun, 2004-11-28 at 14:37 -0500, Robert Deaton wrote:
> 
> 
> > The two bloginfo calls mentioned on the codex are useful in some
> > senses, but not in the one that I mentioned above. The bloginfo()
> > calls output the fully qualified URI, IE
> > http://example.com/wordpress/wp-content/themes/example/ for the
> > stylesheet directory. What I want is a constant (or a variable at
> > least) that points to the current themedir in its absolute path, IE
> > /var/www/localhost/htdocs/wordpress/wp-content/themes/example/ .
> > The latter is useful when including or requiring documents without
> > using relative paths, while the earlier is useful for linking a
> > certain image or page within the theme directory. I need support for
> > the latter.
> 
> get_template_directory()
> 
> Ryan
> 
> _______________________________________________
> 
> 
> hackers mailing list
> hackers at wordpress.org
> http://wordpress.org/mailman/listinfo/hackers_wordpress.org
> 


-- 
--Robert Deaton
http://false-hopes.com/
A proud Linux, Firefox, and WordPress user.
Linux is not an operating system, its a way of life.



More information about the hackers mailing list