Skip to:
Content
Pages
Categories
Search
Top
Bottom
  • @dunc – If you want a global variable, then (surprise, surprise!) use a global variable or a define. In wp-config.php or /wp-content/plugins/bp-custom.php, you can either do this: global $my_var; $my_var = WHATEVER; or: define( 'MY_VAR', WHATEVER ); Then in your page template or anywhere else, you do this: global $my_var; if (…[Read more]

Skip to toolbar