more wp pre-release cleanup

This commit is contained in:
John Bintz 2009-06-10 17:08:26 -04:00
parent 5cf992a73f
commit 01f45fab38
4 changed files with 37 additions and 3 deletions

3
README
View File

@ -1,5 +1,4 @@
The HubbleSite Daily Image Widget embeds a daily HubbleSite Gallery image on
your WordPress blog.
The HubbleSite Daily Image Widget embeds a daily HubbleSite Gallery image on your WordPress blog.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by

View File

@ -249,4 +249,9 @@ class DailyImageWidget {
}
}
function the_hubblesite_daily_image_widget() {
$diw = new DailyImageWidget();
$diw->render();
}
?>

View File

@ -25,4 +25,4 @@ p#hubblesite-daily-image-header {
color: #666;
margin: 0;
padding: 0;
}";
}

30
readme.txt Normal file
View File

@ -0,0 +1,30 @@
=== HubbleSite Daily Image WIdget ===
Contributors: johncoswell
Tags: widget, picture, image
Requires at least: 2.7.1
Tested up to: 2.7.1
Stable tag: 0.1
The HubbleSite Daily Image Widget embeds a daily HubbleSite Gallery image on your WordPress blog.
== Description ==
This widget will let you embed and show a beautiful image from the Hubble Space Telescope every day of the year. The image changes daily, and you can choose to show all sorts of other information about the image within the widget, as well.
== Installation ==
Copy the hubblesite-daily-image-widget directory to your wp-content/plugins/ directory and activate the plugin. The widget will appear on the Appearance -> Widgets screen. Embed the widget in one of your sidebars and change the widget options to show or hide different parts of the widget.
== Frequently Asked Questions ==
= How do I style the widget myself? =
Turn off "HubbleSite Styles" in the Widget Options and then style the elements with your theme's CSS file.
= I don't use dynamic sidebars. Is there a template tag I can use to embed the widget? =
`the_hubblesite_daily_image_widget()` will do just that.
== License ==
The HubbleSite Daily Image Widget is released under the GNU GPL version 2.0 or later.