Hide widget on register page
-
Some of my users get distracted by the log in widget that appears beside my registration page and try and put their proposed user name and password in there. I want to suppress the log-in widget on the register page, but it is proving very hard to achieve. I am using BuddyPress with profile extensions turned on, bbPress and the Attitude theme and it is single site. I have a real page /register declared as the register page in BuddyPress settings.
Attitude provides a page-by-page layout option, whereby I can suppress the sidebar altogether – but it has no effect for the register page.
I have been unable to implement advice about making the call to get_sidebar conditional in my theme, as the theme works in a, to me, very obscure way.
Enter Dynamic Widgets, which, potentially, might allow me to suppress the log-in widget. Well yes on a page in the list of pages, but the register page is missing from the list of pages in Dynamic Widgets. Also trying to omit by URL has no effect.
Is seems that BuddyPress (and maybe WordPress) spots when the register page is to be loaded and does its own thing, bypassing the usual methods.
Is there any way of identifying the register page in Dynamic Widgets? Or could it?
thanks
- The topic ‘Hide widget on register page’ is closed to new replies.