• Resolved Gobinda Tarafdar

    (@gtarafdarr)


    Hello Team,

    Thanks for creating this great tool. I’m not a developer. I’ve found that you have a function ?? to set the current theme.

    theme_switcha_active_theme()

    Can you please suggest me to on how can I create a button or option from where public user can always go back to my default theme?
    Thanks.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Jeff Starr

    (@specialk)

    You can add a link to switch to any theme like so:

    <a >Switch theme</a>

    Then change my-awesome-theme with the actual name/slug of your theme. And change example.com with your actual URL.

    • This reply was modified 2 years, 2 months ago by Jeff Starr.
Viewing 1 replies (of 1 total)
  • The topic ‘How can I create a simple button to enable current active theme in frontend’ is closed to new replies.