more wp pre-release cleanup
This commit is contained in:
parent
5cf992a73f
commit
01f45fab38
3
README
3
README
@ -1,5 +1,4 @@
|
|||||||
The HubbleSite Daily Image Widget embeds a daily HubbleSite Gallery image on
|
The HubbleSite Daily Image Widget embeds a daily HubbleSite Gallery image on your WordPress blog.
|
||||||
your WordPress blog.
|
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
|
@ -249,4 +249,9 @@ class DailyImageWidget {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function the_hubblesite_daily_image_widget() {
|
||||||
|
$diw = new DailyImageWidget();
|
||||||
|
$diw->render();
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
@ -25,4 +25,4 @@ p#hubblesite-daily-image-header {
|
|||||||
color: #666;
|
color: #666;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}";
|
}
|
30
readme.txt
Normal file
30
readme.txt
Normal 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.
|
Loading…
Reference in New Issue
Block a user