Posts by kaspersky

4 posts
  • Has been a member for 2-3 years
  • Mongolia
kaspersky says


i dont understand it . help me. PLS
what exactly don’t you understand? its pretty straight forward….

oh. i understand it. kkk. TQ

4 posts
  • Has been a member for 2-3 years
  • Mongolia
kaspersky says

i dont understand it . help me. PLS

4 posts
  • Has been a member for 2-3 years
  • Mongolia
kaspersky says

@kaspersky: https://gist.github.com/1500326

oh. sorry. how to use it

4 posts
  • Has been a member for 2-3 years
  • Mongolia
kaspersky says

Hi there, Today I created a file switcher that might be of use the envato community. Basically it removes the preview frame automatically. Then replaces it with a custom item switcher.

Demo

For a demo view one of my items (i cant post links here sorry).

Download

Here is the source code: http://labs.burntfeathers.com/themeselector/themeselector.zip

Installation (Very Easy)

1. Firstly unzip and place the folder on your server. Place it in a directory like this: http://themes.yoursite.com/ – Though make sure its a new directory with nothing else in so you can use the root of the folder as the url.

2. Open index.php and you will see a php array called $theme_array. You dont have to know php. For every item you create a new array like below:


$theme_array = array (

array ("id" => "adventure",
       "url" => "http://labs.burntfeathers.com/adventure",
       "themeforest" => "http://themeforest.net/item/adventure-a-unique-photography-wordpress-theme/155571" 
      ),
array ("id" => "attique",
       "url" => "http://labs.burntfeathers.com/attique",
       "themeforest" => "http://themeforest.net/item/attique-a-stylish-multi-purpose-wordpress-theme/168724" 
      )

);

3. In your item settings (Click Edit on your item page) set the preview url to this:

http://themes.yoursite.com/redirect.php?theme=yourthemename

So if you defined the theme in the php array $themearray as “adventure” then replace yourthemename above with adventure.

4. Thats it, easy peasy :D

Attribution

One more thing this is open source so you can change the logo, marry it or whatever. No attribution required.

Hope you find this useful.

;)

hi . very nice. how to download a last version. it isnt have previe image. HELP me .

by
by
by
by
by
by