Re:Choose Theme Switcher without redirect to homep (1 viewing) (1) Guest
Post Reply << Start < Prev 1 2 Next > End >>
Choose Theme Switcher without redirect to homepage
by naires 3 Months ago
Hi,

i want to use this great plugin in a website to control a custom page template gallery, and everything is ok except when i chose template in my gallery page and after that the theme switcher redirects me (user) to the index page... can this be done without the redirect to home page?

thanks!
The administrator has disabled public write access.Logged Logged  
Re:Choose Theme Switcher without redirect to homepage
by Themebot 2 Months, 3 Weeks ago
Can you post a link to the page where you are trying to do this?
The administrator has disabled public write access.Logged Logged  
Re:Choose Theme Switcher without redirect to homep
by naires 2 Months, 3 Weeks ago
hi!

i'm no expert in code, but after i made a read on it i tryed to erase this line of code and it works the way i want now!

i erased this line 149 of the code:
Code:

.get_settings('home').'/'. 'index.php'



you can see it in action here (example): http://www.antoniojulioduarte.com/projects/do-natural-from-nature-2007/ in the collumn at left you can choose the templates without redirect to home page.

thanks for this great plugin!
The administrator has disabled public write access.Logged Logged  
Re:Choose Theme Switcher without redirect to homep
by Themebot 2 Months, 3 Weeks ago
Nice work! Glad you figured it out. I'm sure there are other people who would want to do this.
The administrator has disabled public write access.Logged Logged  
Re:Choose Theme Switcher without redirect to homep
by naires 2 Months, 3 Weeks ago
thanks! i didn't test it in "drop-down" option, but i think this work around is only for view "list" option.

cheers!
The administrator has disabled public write access.Logged Logged  
Re:Choose Theme Switcher without redirect to homep
by Themebot 2 Months, 3 Weeks ago
You can also just manually create the links and put them in a text widget. For example:

Code:

<a href="?wptheme=1024x768px">1024x768px</a>


If you created all the links in your sidebar this way, it would accomplish what you want and you wouldn't need to hack the plugin.
The administrator has disabled public write access.Logged Logged  
Post Reply << Start < Prev 1 2 Next > End >>
Powered by FireBoard
About | Contact | Advertise | Privacy Policy | Terms of Use

Creative Commons License