bmstudio
Forum Replies Created
-
I have the same problem.
A track for debugging: the problem only occurs in private navigation.
But in public navigation it worksI had the same problem.
You’ve got to dump a wp_options (single) to a wp_X_options (multisite).In the table wp_X_options, should you modify the meta_key “wp_user_roles” by “wp_X_user_roles”.
Good luck
Forum: Hacks
In reply to: Change the theme for each page (Switch Theme by Page)Hello,
I was able to fend for himself on this one!
I was inspired by the plugin: ThemePerPostI would like to develop more this plugin.
In my list of posts I want to choose models of apartment theme template:“Theme Page No. 1”
-> Model template “Theme 1 | Go Home”“Theme Page 2”
-> Model template “Theme 2 | Test Page”So I thought to do that change the function get_page_templates with add_filter
For cons I do not quite see how.I did this to test:
function functiontest() { return "test"; } add_filter ('get_page_templates', 'functiontest', 1,1);But nothing happens … anyone have an idea!
Is that how well we use the fontion add_filter?
The function get_page_templates filter can it be?Thank you very much,