Changeset 341303
- Timestamp:
- 02/05/2011 10:23:17 PM (15 years ago)
- Location:
- wp-talkshoe-archives/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (4 diffs)
-
wp-tsarchives.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-talkshoe-archives/trunk/readme.txt
r336786 r341303 5 5 Requires at least: 3.0.0 6 6 Tested up to: 3.0.4 7 Stable tag: 1. 07 Stable tag: 1.1 8 8 9 9 This is a plugin that will display archived MP3 files for specified Talkshoe calls and shows. … … 38 38 2. Activate the plugin through the 'Plugins' menu in WordPress 39 39 3. Find the widget called WP Talkshoe Archives and drag it to your sidebar and set various options within the widget. 40 4. At this time, there is no short code for this plugin and it must be ran via the sidebar widgets.40 4. To use in posts or pages, use the shortcode of '[wpta]' without the quotes. 41 41 42 42 == Frequently Asked Questions == … … 52 52 = I get an error when running the widget = 53 53 54 For errors regarding SimplePie, go to line 9 5in the wp-tsarchives.php code and remark out this line (with a // at the beginning of the line) or remove the remark, depending on which error you receive. Some plugins are already using the SimplePie include and this cannot be loaded again, so reamrking out this line will correct the error and allow the widget to function. If SimplePie is not already installed and being used, then this line must be unremarked.54 For errors regarding SimplePie, go to line 96 in the wp-tsarchives.php code and remark out this line (with a // at the beginning of the line) or remove the remark, depending on which error you receive. Some plugins are already using the SimplePie include and this cannot be loaded again, so reamrking out this line will correct the error and allow the widget to function. If SimplePie is not already installed and being used, then this line must be unremarked. 55 55 56 56 == Screenshots == … … 61 61 == Changelog == 62 62 63 = 1.1 [2011-02-05] = 64 * Added shortcode '[wpta]' for posts and pages displays. 65 * Cleaned up the code for quicker loading. 66 * The shortcode may not work on some themes that already do not allow shortcode usage. 67 63 68 = 1.0 [2011-01-22] = 64 69 * Our debut of this version with no Talkshoe API code being used at this time. -
wp-talkshoe-archives/trunk/wp-tsarchives.php
r336804 r341303 6 6 Author: Dr. Robert White 7 7 Author URI: http://www.nmpnetwork.com 8 Version: 1. 08 Version: 1.1 9 9 */ 10 10 /* Copyright 2010-2011 Dr. Robert White (email : [email protected]) … … 12 12 This program is free software; you can redistribute it and/or modify 13 13 it under the terms of the GNU General Public License, version 2, as 14 published by the Free Software Foundation. 14 published by the Free Software Foundation. 15 15 16 16 This program is distributed in the hope that it will be useful, … … 80 80 81 81 // This prints the widget 82 function widget_w ta($args) {83 extract($args);82 function widget_wpta() { 83 // extract($args); 84 84 $options = (array) get_option('widget_wta'); 85 85 $linktarget = ' target="_blank"'; … … 157 157 158 158 } 159 159 //WordPress Hooks 160 add_shortcode('wpta', 'widget_wpta'); 160 161 161 162 162 163 // Tell Dynamic Sidebar about our new widget and its control 163 register_sidebar_widget('WP Talkshoe Archives', 'widget_w ta');164 register_sidebar_widget('WP Talkshoe Archives', 'widget_wpta'); 164 165 register_widget_control('WP Talkshoe Archives', 'widget_wta_control', 300, 220); 165 166 }
Note: See TracChangeset
for help on using the changeset viewer.