开发者 | iGenius |
---|---|
更新时间 | 2014年12月5日 19:24 |
PHP版本: | 2.8 及以上 |
WordPress版本: | 4.1 |
版权: | GPLv3 or later |
版权网址: | 版权信息 |
/wp-content/plugins/
directoryEasy peasy! I encourage you to experiment and modify every single part of the frames, so you can put your texture in the /wp-content/plugins/imagenius/images/
folder; name it as you want, but remember that only .png files are accepted, your image must end with this extension. Now you can put the name of your texture in the texture=""
parameter of [framegenius] shortcode and look at the fancy result!
Instance:[framegenius texture="my-fancy-texture"]imagelink.jpg[/framegenius]
As you learned from documentation, default size value is setted to 225px, find 225 number in the imaGenius.php file and change it as you want. In this way, if you know what size fits well in your site, you'll be able to recall the function without specify the size value! Same process for effects, filters and textures. IMPORTANT: At moment there are four functions in the file, so you have to apply changes singularly for every frame kind you want set default values. Don't panic, it's easy, every function name recall the frame type that change (Instance: polaroid_shortcode values influences polaroid frame default parameters). EVEN MORE IMPORTANT: This kind of modding, at moment, refresh every time the plugin will be updated. Be patient, soon I will be able to store all your modifications, I'm working on this way! :)
If you install the plugin in the Network DON'T ACTIVATE IT DIRECTLY FROM THERE. Go in every single's site administration panel and activate the plugin from there.
[simplegenius]
shortcode added in order to use effects and filter without frames. WordPress 3.8 compatible.