2627 posts Put a Donk On It
  • Weekly Top Seller
  • Elite Author
  • Exclusive Author
  • Featured Author
+11 more
ThemeProvince
says

Im creating a theme switcher and I recall seeing numerous threads about how to remove the item preview banner automatically. Well here is the javascript required just place it in the head.

I would not recommend you remove this unless you are creating a style switcher etc.

 

<script type="text/javascript">

if(location.href != top.location.href){

top.location.href = 'http://themepreviewlink.com';

}

</script>

So simple :D

I might release a beta version of the theme switcher for use. Stay Tuned.

1950 posts Do the Needful
  • Weekly Top Seller
  • Author Level 8
  • Elite Author
  • 5 Years of Membership
+12 more
JamiGibbs
says

Thanks a lot Phoenix! I’ve bookmarked it.

562 posts You Reap What You Saw
  • Weekly Top Seller
  • Elite Author
  • Author Level 7
  • 5 Years of Membership
+4 more
Bluz
says

Awesome! Thanks :) I’d really appreciate that theme switcher we talked about :P

137 posts Ahoy, me Hearties!
  • Trendsetter
  • Weekly Top Seller
  • Elite Author
  • Featured Author
+7 more
ChrisMooney
says

Great one, bookmarked for feature reference.

251 posts
  • 5 Years of Membership
  • Affiliate Level 1
  • Author Level 4
  • Beta Tester
+5 more
web_gab
says

thanks! look forward to see the updates.

65 posts
  • 7 Years of Membership
  • Affiliate Level 1
  • Author Level 3
  • Collector Level 3
+2 more
curtisaallen
says

Thanks! Phoenix

2627 posts Put a Donk On It
  • Weekly Top Seller
  • Elite Author
  • Exclusive Author
  • Featured Author
+11 more
ThemeProvince
says
1950 posts Do the Needful
  • Weekly Top Seller
  • Author Level 8
  • Elite Author
  • 5 Years of Membership
+12 more
JamiGibbs
says

Locking as duplicate because Phoenix has a much more valuable thread on the same topic over here (just like he mentioned above).

by
by
by
by
by
by