Forums
-
- Forum
- Posts
-
- Installation
- 28,536
- Troubleshooting
- 62,801
- Themes
- 10,444
- Plugins
- 15,389
- Requests & Feedback
- 14,986
- Showcase
- 3,257
-
Well, more or less this is working but now bbpress goes to the last “else” statement and I don’t know why;
‘
<?php if ( is_page() )
{ ?>
<!– one ad block –>
<?php } elseif ( is_single() && !is_bbpress() )
{ ?>
<!– two ad blocks –>
<?php } else
{ ?>
<!– no ads –>
<?php } ?>
‘
I haven’t try your third option yet because I didn’t understand quite enough.