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