středa 15. srpna 2012

Jak zjistit Child Theme URI?

WordPress › Support » Child theme returning parent themes file path:
The get_template_directory_uri() function will always return the directory of the template, which, in a Child Theme, per the "Template:" header tag in style.css, is the Parent Theme.
If you need to reference the Child Theme directory URI, you should instead use the get_stylesheet_directory_uri() function.

'via Blog this'

Žádné komentáře:

Okomentovat

MAKE Magazine

Technology Review RSS Feeds

Nejčtenější příspěvky