BuddyDev

Search

WP Admin -> Users -> Site Notices

  • Participant
    Level: Initiated
    Posts: 18
    Mike Witt on #52618

    I’m currently running BuddyPress 12.5.0 and BP Classic 1.4.0
    Also I’m using “Legacy” so site notices should be displayed as a banner at the top of each page.

    I rarely use site notices, so I don’t know exactly when the problem started (I’m guessing with BP 12).

    Site notices now show up normally, at the top of BuddyPress constructed pages. But on other WordPress pages, the notices show up at the bottom, under the page footer.

    I’d appreciate any ideas about how to fix this.

    Thanks!

    Mike

  • Keymaster
    (BuddyDev Team)
    Posts: 24332
    Brajesh Singh on #52624

    Hi Mike,
    Around BuddyPress 11.0, The loading of assets(css/js) were limited to BuddyPress pages only.

    You can re-enable loading on all page using the following code

    
    
    /**
     * Load BP Assets on all pages.
     */
    add_filter( 'bp_enqueue_assets_in_bp_pages_only', '__return_false' );
    

    That will fix your issue.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 18
    Mike Witt on #52625

    Wow, I can’t believe it’s been that long since I put up a site notice. But it appears that you are correct.

    Once again, thank you Brajesh!

You must be logged in to reply to this topic.

This topic is: not resolved