Forums
-
- Forum
- Posts
-
- Installation
- 27,631
- Troubleshooting
- 60,564
- Themes
- 10,191
- Plugins
- 14,981
- Requests & Feedback
- 14,607
- Showcase
- 3,238
-
Brilliant! I didn’t know that global variables like this exist in PHP (I’m a hobbyist). Thanks a bunch!
Btw, I had to change the declaration from
global $forumpage = true;
to
global $forumpage;
$forumpage = true;
It gave me an error otherwise.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS