Hello,
I was able to fend for himself on this one!
I was inspired by the plugin: ThemePerPost
I 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,