Correct way to setup BP_Theme_Compat class for custom theme
What’s the correct procedure going forward (1.8+) to setup a theme that makes use of BP Theme Compatibility, but wants to significantly amend / remove some of the various filters / actions that BP_Legacy adds?
I know I can do this by creating my own class named BP_Legacy in my theme and customising, but this doesn’t seem a correct approach.
If I use a custom class name, e.g. class MY_Theme_Compat extends BP_Theme_Compat, how do I stop an instance of BP_Legacy also being created (and registering its actions that I don’t want)?
Also, if I define a custom Theme_Compat class in my theme, can I still access ‘fallback’ templates from BP_Legacy – if so, is this built in default behaviour, or do I need to configure my class globals accordingly?
Or if not, do I need to have all the template files in my theme?
- The topic ‘Correct way to setup BP_Theme_Compat class for custom theme’ is closed to new replies.