Changeset 549085
- Timestamp:
- 05/25/2012 07:23:41 PM (14 years ago)
- Location:
- joke-of-the-day/trunk
- Files:
-
- 2 edited
-
joke_of_the_day.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
joke-of-the-day/trunk/joke_of_the_day.php
r520807 r549085 4 4 Plugin URI: http://www.onlinerel.com/wordpress-plugins/ 5 5 Description: Plugin "Joke of the Day" displays categorized jokes on your blog. There are over 40,000 jokes in 40 categories. Jokes are saved on our database. 6 Version: 2. 76 Version: 2.8 7 7 Author: A.Kilius 8 8 Author URI: http://www.onlinerel.com/wordpress-plugins/ 9 9 */ 10 10 11 define(joke_day_URL_RSS_DEFAULT, 'http://www. weekendjoy.com/weekend/jokes/');11 define(joke_day_URL_RSS_DEFAULT, 'http://www.jokequiz.com/category/jokes/feed/'); 12 12 define(joke_day_TITLE, 'Joke of the Day'); 13 13 define(joke_day_MAX_SHOWN_ITEMS, 3); 14 15 add_action('admin_menu', 'joke_day_menu'); 16 function joke_day_menu() { 17 add_menu_page('Joke of the Day', 'Joke of the Day', 8, __FILE__, 'joke_day_options'); 18 } 14 19 15 20 function joke_day_widget_ShowRss($args) … … 76 81 } 77 82 78 add_action('admin_menu', 'joke_day_menu');79 function joke_day_menu() {80 add_options_page('Joke of the Day', 'Joke of the Day', 8, __FILE__, 'joke_day_options');81 }82 83 83 add_filter("plugin_action_links", 'joke_day_ActionLink', 10, 2); 84 84 function joke_day_ActionLink( $links, $file ) { … … 93 93 94 94 function joke_day_options() { 95 ?> 96 <div class="wrap"> 95 ?> <div class="wrap"> 97 96 <h2>Joke of the Day</h2> 98 97 <p><b>Plugin "Joke of the Day" displays categorized jokes on your blog. There are over 40,000 jokes in 40 categories. Jokes are saved on our database, so you don't need to have space for all that information. </b> </p> 99 <p> <h3>Add the widget "Joke of the Day" to your sidebar from <a href="<? echo "./widgets.php";?>"> Appearance->Widgets</a> and configure the widget options.</h3></p> 98 <p> <h3>Add the widget "Joke of the Day" to your sidebar from <a href="<? echo "./widgets.php";?>"> Appearance->Widgets</a> and configure the widget options.</h3> 99 <h3>More <a href="http://www.onlinerel.com/wordpress-plugins/" target="_blank"> WordPress Plugins</a></h3> 100 </p> 100 101 </div> 101 102 <?php -
joke-of-the-day/trunk/readme.txt
r520834 r549085 4 4 Tags: widget, joke, jokes, funny video, funny, funny foto, funny jokes, post, posts, link, links, promote, SEO, category, sidebar, feed, rss 5 5 Requires at least: 2.5 6 Tested up to: 3.3. 16 Tested up to: 3.3.2 7 7 Stable tag: trunk 8 8 … … 24 24 25 25 == Changelog == 26 27 = 2.8 = 28 * Tested up to 3.3.2 WP 29 * Updated script 26 30 27 31 = 2.7 =
Note: See TracChangeset
for help on using the changeset viewer.