Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function sq7_check_bbpress_pages()
- {
- if ( class_exists( 'BuddyPress' ) ) {
- if (bp_is_user()) {
- echo '
- <img src="https://upload.wikimedia.org/wikipedia/commons/8/82/Wide_angle_tetons.jpg" alt="Mountain View-PROFILE" style="width:100%;height:auto;">
- ';
- }
- }
- if ( class_exists( 'bbpress' ) AND !bp_is_user() ) {
- if (is_bbpress()) {
- echo '
- <img src="https://upload.wikimedia.org/wikipedia/commons/8/82/Wide_angle_tetons.jpg" alt="Mountain View" style="width:100%;height:auto;">
- ';
- }
- }
- }
- add_action('kleo_before_main', 'sq7_check_bbpress_pages');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement