WordPress.org

Ready to get started?Download WordPress

Forums

Theme switcher - No redirect to index.php (4 posts)

  1. veroxxx
    Member
    Posted 7 years ago #

    I'd like user to be able to change theme using the theme-switcher plugin, but without them being redirect to the index. I want them to stay on the page they are (I use WP2 as a CMS). I tried to change this myself but I have no big knowledge of php really...

    I suppose I should change the part at the top that set the redirection and the structure of the url at the end (I don't use the dropdown). The structure, I might be able to fix it myself, but I have no idea of the way to change the redirection, or if it's even possible to set the cookie without going back to the index...

    Thanks for your help!

    (The theme-switcher code can be found there: http://dev.wp-plugins.org/file/theme-switcher/trunk/theme-switcher.php)

  2. veroxxx
    Member
    Posted 7 years ago #

    Nobody has any idea on how to do this? :(

  3. depi
    Member
    Posted 6 years ago #

    I'm currently struggling with this too :(

  4. depi
    Member
    Posted 6 years ago #

    Any ideas how to do it?

Topic Closed

This topic has been closed to new replies.

About this Topic