conditional bp header items
using Buddypress as a minor feature in a project and I’m tinkering with the page load times and overall code aesthetics… thinking I want to only load the core and widget (.js/css) files (enqueue_script() in bp-core-cssjs.php) to the head for certain template pages? still dependent on bp for other pages, don’t want to hack the core, don’t want to do it on a template level with wp_head. i searched the mu and wp forums to see if it’s been done for another plugin… has anyone done/seen anything similar and wanna get me started this morning?
You must be logged in to reply to this topic.