WF_THEME_DIR

Description Defines the full server path to the current child theme directory without a trailing /. Parameters string – Your full path to the current directory on the server. STYLESHEETPATH – Default. Example <?php //Example 1 // Define path to...

View

WF_WORDPRESS_VERSION

Description The current version number of WordPress installed on the active site. Example <?php //Example 1 //In your child theme functions.php file: if ( WF_WORDPRESS_VERSION < 3.3 ) { echo 'I am running a lower version than WordPress 3.3'; }...

View

WF_THEME_URL

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...

View

wfmain_before_buddypress

Description Before the main BuddyPress output begins in your template parts. Example <?php //Example 1 //In your child theme functions.php file: function my_wfx_example_function(){ echo 'howdy'; } add_action ('wfmain_before_buddypress','my_wfx_example_function'); ?> Notes Useful for inserting conditional includes without manipulating core BuddyPress theme...

View

WF_THEME

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...

View