Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Conditional enqueue in header

@johnjamesjacoby

Keymaster

Jared was actually incorrect. 🙂

bbPress actions are piggy-backed on top of WordPress actions, there’s no condition to them.

  1. If you don’t want bbPress to enqueue it’s own CSS, dequeue it, or make sure your theme has /css/bbpress.css in it.
  2. bbPress uses admin-ajax.php for a few ajax bits that happen theme-side. They degrade properly, so if you do not want to include the ajax bits, you can safely unhook that too.
Skip to toolbar