开发者 | uwpweb |
---|---|
更新时间 | 2018年4月13日 07:38 |
PHP版本: | 5.4 及以上 |
WordPress版本: | 4.8 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
< img src="<?php if (function_exists('uwp_thumb')) {echo uwp_thumb(array('id' => '111', 'type' => 'post');}?>" />
The function accepts an optional array of arguments which for now include 'id', and 'type'. These are only needed if you're calling the function outside of the loop.
Options can be found in 'Settings-> Utopian Images. Please refer to the FAQ section to understand these options.There are four sources that Utopian Images checks to find an object's image. Because the plugin stops looking once it finds an image, you may want to reorder the sources if you have preferences about which are used. This is done by clicking and dragging on the options. The default setting is ideal for most sites.
One of the places that the plugin looks for an object's image is in your site's meta data. Using comma's to seperate, you can add keywords to be used for matches against the meta key names in your database. You don't have to use the entire meta key, just a search word that can be found within it. The default setting is ideal for most sites.