• hi,

    i am trying to write a little plugin which allows me to add a different theme to each page. well.. still trying.. ??

    [58 lines of code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]

    The last function is the problem.
    When i put return ‘mytesttheme’; at the end it works just perfect!

    Any ideas? :S

Viewing 1 replies (of 1 total)
  • Thread Starter Jan K.

    (@90jkrug)

    when i write echo $page_theme.’, ‘; before the return, it outputs: , , , mytesttheme, mytesttheme, mytesttheme, mytesttheme,

    EDIT:
    in wp-backend it shows “mytesttheme” as post meta content in wp-core meta content box.. so the saving works as it should..

Viewing 1 replies (of 1 total)
  • The topic ‘Page theme Plugin’ is closed to new replies.