WF_THEME

Warning - depreciated code

This status means that the code reference is either marked for removal, or has been replaced with different code. Please see individual references for more information.

IMPORTANT

For Wonderflux v1.0 Release Candidate 2 and above please use WF_THEME_URL instead! WILL BE REMOVED IN WONDERFLUX v1.1!

Description

Defines the full URL to the current child theme directory without a trailing /.

Parameters

string – Your full URL to the current directory on the server.
get_bloginfo('stylesheet_directory') – Default.

Example

<?php
//Example 1
//Set variable as path to custom script in my child theme folder
$path = WF_THEME.'/js/my-script.js';
?>

Notes

Development note: Code is complete in the core to allow this to be controlled from a child theme in Wonderflux v0.931 and above. See revision 130.

This constant documentation was last modified on: March 12, 2012 by Jonny