开发者 |
marcqueralt
nehatehreem |
---|---|
更新时间 | 2024年11月27日 16:46 |
捐献地址: | 去捐款 |
PHP版本: | 3.5.1 及以上 |
WordPress版本: | 3.9.1 |
plugin-name.php
to the /wp-content/plugins/
directory or use the wordpress plugin installerThe thumbnail images can easily sized by placing something like this in your theme's css stylesheet: .image-feed-small a img { max-height: 100px; max-width: 100px; } The above css code will apply to all widgets. You can use "height" and "width" instead of "max-height" and "max-width" if you prefer.
Easy too, the content of the widget is a list, so you just need to add this to your theme's css stylesheet: image-feed-list { display: inline; } you must of course specify a width that allows more than one image to fit in your sidebar...
Anywhere in your theme templates, you can display a list of images coming from rss feeds. Just place the following code where you want the images to appear:
<?php get_image_feed_list($feedslist, $maxfeeds, $divname, $printtext, $target, $useenclosures); ?>
Where:
<?php get_image_feed_list("http://www.example1.com/rss,http://www.example2.com/rss2", 10, "myImagesList"); ?>