Dizze plugin is net hifke mei de lêste 3 grutte releases fan WordPress . It kin net langer wurde ûnderhâlden of stipe en kin kompatibiliteitsproblemen hawwe as it wurdt brûkt mei resinte ferzjes fan WordPress.

FX random image

Beskriuwing

Plugin creates widget that displays one random image from current page or post attached images, or from any page or post set by ID. You can set size of image to display.

Displays a random image from post or page you specify. Plugin creates FX-Random-image widget. Use widget to add image to sidebar or add <?php FX_Random_Image($pageID, $link, $size); ?> function to theme. $pageID is page/post ID from there to take images, if $link = true adds link to image, $link = false no link on image, $size – image size (‘thumbnail’, ‘medium’ or ‘large’). Example <?php FX_Random_Image(1, false, 'large'); ?>

Ynstallaasje

  1. Upload plugin-name.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use Widget to add image to widget area or place <?php FX_random_image(); ?> code in your templates

FAQ

How to use it?

Use Widget to add to sidebar and set pageID in widget.

Or place <?php FX_random_image($pageID, $link, $size); ?> code in your templates

$pageID – page/post ID from there to take images
$link – if $link = true adds link to image, $link = false no link on image
$size – image size (‘thumbnail’, ‘medium’ or ‘large’)

Example <?php FX_Random_Image(1, false, 'large'); ?>

Meiwurkers & amp; Untwikkelders

“FX random image” is iepen boarne software. De folgjende minsken hawwe bydroegen oan dizze plugin.

Meiwurkers

Oersette “FX random image” yn jo taal.

Ynteressearre yn ûntwikkeling?

Blêdzje troch de koade , besjoch de SVN-repository , of abonnearje op it ûntwikkelingslogboek troch RSS .

Feroaringslog

1.0.1

  • Fixed some description.

1.0.0

  • New versions started.