Hi,
I am trying to add the W3 Total Cache
<!-- mfunc mystring -->
[do_widget "(BuddyPress) Log In"]
<!-- /mfunc mystring -->
to my bbpress sidebar in order for my login widget to avoid caching.
Normally I would use the PHP Widget to include this code but W3TC states that this string cannot be wrapped within the php tag, which is what I assume the PHP widget is doing. Instead, it must be added to the template outside of php, but how do I do this and ensure that the login widget I am trying to add appears at the top of the sidebar?
I know I have to call the bbpress sidebar within functions.php but I’m struggling a bit.
Many thanks.