Forums
-
- Forum
- Posts
-
- Installation
- 28,244
- Troubleshooting
- 61,695
- Themes
- 10,301
- Plugins
- 15,197
- Requests & Feedback
- 14,819
- Showcase
- 3,252
-
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