WordPress.org

Plugin Directory

Changeset 784815


Ignore:
Timestamp:
10/08/13 20:23:04 (6 months ago)
Author:
greenshady
Message:

Uploading version 0.5.0 of the Widgets Reloaded plugin.

Location:
widgets-reloaded
Files:
52 added
14 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • widgets-reloaded/trunk/languages/widgets-reloaded.pot

    r264228 r784815  
    11msgid "" 
    22msgstr "" 
    3 "Project-Id-Version: Wordpress Reloaded Plugin\n" 
     3"Project-Id-Version: Widgets Reloaded Plugin\n" 
    44"Report-Msgid-Bugs-To: \n" 
    5 "POT-Creation-Date: 2010-07-18 10:12-0600\n" 
     5"POT-Creation-Date: 2013-10-08 02:51-0600\n" 
    66"PO-Revision-Date: \n" 
    7 "Last-Translator: Justin Tadlock <justin@justintadlock.com>\n" 
     7"Last-Translator: \n" 
    88"Language-Team:  <justin@justintadlock.com>\n" 
     9"Language: en_US\n" 
    910"MIME-Version: 1.0\n" 
    1011"Content-Type: text/plain; charset=UTF-8\n" 
    1112"Content-Transfer-Encoding: 8bit\n" 
    12 "X-Poedit-Language: English\n" 
    13 "X-Poedit-Country: UNITED STATES\n" 
    14 "X-Poedit-KeywordsList: _e;__;esc_attr_e;esc_attr__;esc_html_e;esc_html__\n" 
     13"X-Poedit-KeywordsList: _e;__;esc_attr__;esc_attr_e;esc_html__;esc_html_e;_x;" 
     14"_x:1,2c;_n:1,2;_n\n" 
    1515"X-Poedit-Basepath: ../\n" 
     16"X-Generator: Poedit 1.5.7\n" 
    1617"X-Poedit-SearchPath-0: .\n" 
    1718 
    18 #: widget-archives.php:30 
    19 msgid "An advanced widget that gives you total control over the output of your archives." 
    20 msgstr "" 
    21  
    22 #: widget-archives.php:32 
    23 #: widget-archives.php:113 
     19#: inc/widget-archives.php:32 
     20msgid "" 
     21"An advanced widget that gives you total control over the output of your " 
     22"archives." 
     23msgstr "" 
     24 
     25#: inc/widget-archives.php:44 inc/widget-archives.php:142 
    2426msgid "Archives" 
    2527msgstr "" 
    2628 
    27 #: widget-archives.php:62 
     29#: inc/widget-archives.php:79 
    2830msgid "Select Year" 
    2931msgstr "" 
    3032 
    31 #: widget-archives.php:64 
     33#: inc/widget-archives.php:82 
    3234msgid "Select Month" 
    3335msgstr "" 
    3436 
    35 #: widget-archives.php:66 
     37#: inc/widget-archives.php:85 
    3638msgid "Select Week" 
    3739msgstr "" 
    3840 
    39 #: widget-archives.php:68 
     41#: inc/widget-archives.php:88 
    4042msgid "Select Day" 
    4143msgstr "" 
    4244 
    43 #: widget-archives.php:70 
     45#: inc/widget-archives.php:91 
    4446msgid "Select Post" 
    4547msgstr "" 
    4648 
    47 #: widget-archives.php:122 
     49#: inc/widget-archives.php:157 
    4850msgid "Alphabetical" 
    4951msgstr "" 
    5052 
    51 #: widget-archives.php:122 
     53#: inc/widget-archives.php:158 
    5254msgid "Daily" 
    5355msgstr "" 
    5456 
    55 #: widget-archives.php:122 
     57#: inc/widget-archives.php:159 
    5658msgid "Monthly" 
    5759msgstr "" 
    5860 
    59 #: widget-archives.php:122 
     61#: inc/widget-archives.php:160 
    6062msgid "Post By Post" 
    6163msgstr "" 
    6264 
    63 #: widget-archives.php:122 
     65#: inc/widget-archives.php:161 
    6466msgid "Weekly" 
    6567msgstr "" 
    6668 
    67 #: widget-archives.php:122 
     69#: inc/widget-archives.php:162 
    6870msgid "Yearly" 
    6971msgstr "" 
    7072 
    71 #: widget-archives.php:123 
     73#: inc/widget-archives.php:167 inc/widget-authors.php:141 
     74#: inc/widget-bookmarks.php:182 inc/widget-bookmarks.php:194 
     75#: inc/widget-categories.php:171 inc/widget-pages.php:152 
     76#: inc/widget-tags.php:186 
     77msgid "Ascending" 
     78msgstr "" 
     79 
     80#: inc/widget-archives.php:168 inc/widget-authors.php:142 
     81#: inc/widget-bookmarks.php:183 inc/widget-bookmarks.php:195 
     82#: inc/widget-categories.php:172 inc/widget-pages.php:153 
     83#: inc/widget-tags.php:187 
     84msgid "Descending" 
     85msgstr "" 
     86 
     87#: inc/widget-archives.php:173 
    7288msgid "Custom" 
    7389msgstr "" 
    7490 
    75 #: widget-archives.php:123 
     91#: inc/widget-archives.php:174 
    7692msgid "HTML" 
    7793msgstr "" 
    7894 
    79 #: widget-archives.php:123 
     95#: inc/widget-archives.php:175 
    8096msgid "Option" 
    8197msgstr "" 
    8298 
    83 #: widget-archives.php:129 
    84 #: widget-authors.php:134 
    85 #: widget-bookmarks.php:150 
    86 #: widget-calendar.php:86 
    87 #: widget-categories.php:150 
    88 #: widget-nav-menu.php:114 
    89 #: widget-pages.php:125 
    90 #: widget-search.php:106 
    91 #: widget-tags.php:156 
     99#: inc/widget-archives.php:181 inc/widget-authors.php:160 
     100#: inc/widget-bookmarks.php:217 inc/widget-calendar.php:108 
     101#: inc/widget-categories.php:195 inc/widget-nav-menu.php:131 
     102#: inc/widget-pages.php:178 inc/widget-search.php:144 inc/widget-tags.php:207 
    92103msgid "Title:" 
    93104msgstr "" 
    94105 
    95 #: widget-archives.php:165 
    96 #: widget-authors.php:162 
     106#: inc/widget-archives.php:225 inc/widget-authors.php:208 
    97107msgid "Show post count?" 
    98108msgstr "" 
    99109 
    100 #: widget-authors.php:30 
    101 msgid "An advanced widget that gives you total control over the output of your author lists." 
    102 msgstr "" 
    103  
    104 #: widget-authors.php:32 
    105 #: widget-authors.php:122 
     110#: inc/widget-authors.php:32 
     111msgid "" 
     112"An advanced widget that gives you total control over the output of your " 
     113"author lists." 
     114msgstr "" 
     115 
     116#: inc/widget-authors.php:44 inc/widget-authors.php:123 
    106117msgid "Authors" 
    107118msgstr "" 
    108119 
    109 #: widget-authors.php:148 
    110 #: widget-categories.php:141 
    111 #: widget-tags.php:147 
     120#: inc/widget-authors.php:146 
     121msgid "Display Name" 
     122msgstr "" 
     123 
     124#: inc/widget-authors.php:147 
     125msgid "Email" 
     126msgstr "" 
     127 
     128#: inc/widget-authors.php:148 inc/widget-bookmarks.php:188 
     129#: inc/widget-bookmarks.php:199 inc/widget-categories.php:177 
     130#: inc/widget-pages.php:159 
     131msgid "ID" 
     132msgstr "" 
     133 
     134#: inc/widget-authors.php:149 
     135msgid "Nice Name" 
     136msgstr "" 
     137 
     138#: inc/widget-authors.php:150 
     139msgid "Post Count" 
     140msgstr "" 
     141 
     142#: inc/widget-authors.php:151 
     143msgid "Registered" 
     144msgstr "" 
     145 
     146#: inc/widget-authors.php:152 inc/widget-bookmarks.php:211 
     147msgid "URL" 
     148msgstr "" 
     149 
     150#: inc/widget-authors.php:153 
     151msgid "Login" 
     152msgstr "" 
     153 
     154#: inc/widget-authors.php:186 inc/widget-categories.php:166 
     155#: inc/widget-tags.php:182 
    112156msgid "List" 
    113157msgstr "" 
    114158 
    115 #: widget-authors.php:148 
    116 #: widget-categories.php:141 
     159#: inc/widget-authors.php:186 inc/widget-categories.php:167 
    117160msgid "None" 
    118161msgstr "" 
    119162 
    120 #: widget-authors.php:158 
     163#: inc/widget-authors.php:204 
    121164msgid "<acronym title=\"Hypertext Markup Language\">HTML</acronym>?" 
    122165msgstr "" 
    123166 
    124 #: widget-authors.php:166 
     167#: inc/widget-authors.php:212 
    125168msgid "Exclude admin?" 
    126169msgstr "" 
    127170 
    128 #: widget-authors.php:170 
     171#: inc/widget-authors.php:216 
    129172msgid "Show full name?" 
    130173msgstr "" 
    131174 
    132 #: widget-authors.php:174 
    133 #: widget-categories.php:265 
    134 #: widget-tags.php:267 
     175#: inc/widget-authors.php:220 inc/widget-categories.php:298 
     176#: inc/widget-tags.php:318 
    135177msgid "Hide empty?" 
    136178msgstr "" 
    137179 
    138 #: widget-bookmarks.php:30 
    139 msgid "An advanced widget that gives you total control over the output of your bookmarks (links)." 
    140 msgstr "" 
    141  
    142 #: widget-bookmarks.php:32 
    143 #: widget-bookmarks.php:124 
     180#: inc/widget-bookmarks.php:32 
     181msgid "" 
     182"An advanced widget that gives you total control over the output of your " 
     183"bookmarks (links)." 
     184msgstr "" 
     185 
     186#: inc/widget-bookmarks.php:44 inc/widget-bookmarks.php:86 
     187#: inc/widget-bookmarks.php:150 
    144188msgid "Bookmarks" 
    145189msgstr "" 
    146190 
    147 #: widget-bookmarks.php:141 
    148 #: widget-bookmarks.php:143 
    149 #: widget-categories.php:142 
    150 #: widget-pages.php:117 
    151 #: widget-tags.php:148 
    152 msgid "Ascending" 
    153 msgstr "" 
    154  
    155 #: widget-bookmarks.php:141 
    156 #: widget-bookmarks.php:143 
    157 #: widget-categories.php:142 
    158 #: widget-pages.php:117 
    159 #: widget-tags.php:148 
    160 msgid "Descending" 
    161 msgstr "" 
    162  
    163 #: widget-bookmarks.php:142 
    164 #: widget-categories.php:143 
    165 #: widget-tags.php:149 
     191#: inc/widget-bookmarks.php:187 inc/widget-categories.php:176 
     192#: inc/widget-tags.php:192 
    166193msgid "Count" 
    167194msgstr "" 
    168195 
    169 #: widget-bookmarks.php:142 
    170 #: widget-bookmarks.php:144 
    171 #: widget-categories.php:143 
    172 #: widget-pages.php:118 
    173 msgid "ID" 
    174 msgstr "" 
    175  
    176 #: widget-bookmarks.php:142 
    177 #: widget-bookmarks.php:144 
    178 #: widget-categories.php:143 
    179 #: widget-tags.php:149 
     196#: inc/widget-bookmarks.php:189 inc/widget-bookmarks.php:202 
     197#: inc/widget-categories.php:178 inc/widget-tags.php:193 
    180198msgid "Name" 
    181199msgstr "" 
    182200 
    183 #: widget-bookmarks.php:142 
    184 #: widget-categories.php:143 
    185 #: widget-pages.php:118 
     201#: inc/widget-bookmarks.php:190 inc/widget-categories.php:179 
     202#: inc/widget-pages.php:162 
    186203msgid "Slug" 
    187204msgstr "" 
    188205 
    189 #: widget-bookmarks.php:144 
     206#: inc/widget-bookmarks.php:200 
    190207msgid "Description" 
    191208msgstr "" 
    192209 
    193 #: widget-bookmarks.php:144 
     210#: inc/widget-bookmarks.php:201 
    194211msgid "Length" 
    195212msgstr "" 
    196213 
    197 #: widget-bookmarks.php:144 
     214#: inc/widget-bookmarks.php:203 
    198215msgid "Notes" 
    199216msgstr "" 
    200217 
    201 #: widget-bookmarks.php:144 
     218#: inc/widget-bookmarks.php:204 
    202219msgid "Owner" 
    203220msgstr "" 
    204221 
    205 #: widget-bookmarks.php:144 
    206 #: widget-tags.php:148 
     222#: inc/widget-bookmarks.php:205 inc/widget-tags.php:188 
    207223msgid "Random" 
    208224msgstr "" 
    209225 
    210 #: widget-bookmarks.php:144 
     226#: inc/widget-bookmarks.php:206 
    211227msgid "Rating" 
    212228msgstr "" 
    213229 
    214 #: widget-bookmarks.php:144 
     230#: inc/widget-bookmarks.php:207 
    215231msgid "Rel" 
    216232msgstr "" 
    217233 
    218 #: widget-bookmarks.php:144 
    219 #: widget-categories.php:144 
     234#: inc/widget-bookmarks.php:208 inc/widget-categories.php:187 
    220235msgid "RSS" 
    221236msgstr "" 
    222237 
    223 #: widget-bookmarks.php:144 
     238#: inc/widget-bookmarks.php:209 
    224239msgid "Target" 
    225240msgstr "" 
    226241 
    227 #: widget-bookmarks.php:144 
     242#: inc/widget-bookmarks.php:210 
    228243msgid "Updated" 
    229244msgstr "" 
    230245 
    231 #: widget-bookmarks.php:144 
    232 msgid "URL" 
    233 msgstr "" 
    234  
    235 #: widget-bookmarks.php:252 
     246#: inc/widget-bookmarks.php:319 
    236247msgid "Categorize?" 
    237248msgstr "" 
    238249 
    239 #: widget-bookmarks.php:256 
     250#: inc/widget-bookmarks.php:323 
    240251msgid "Show description?" 
    241252msgstr "" 
    242253 
    243 #: widget-bookmarks.php:260 
     254#: inc/widget-bookmarks.php:327 
    244255msgid "Hide invisible?" 
    245256msgstr "" 
    246257 
    247 #: widget-bookmarks.php:264 
     258#: inc/widget-bookmarks.php:331 
    248259msgid "Show rating?" 
    249260msgstr "" 
    250261 
    251 #: widget-bookmarks.php:268 
     262#: inc/widget-bookmarks.php:335 
    252263msgid "Show updated?" 
    253264msgstr "" 
    254265 
    255 #: widget-bookmarks.php:272 
     266#: inc/widget-bookmarks.php:339 
    256267msgid "Show images?" 
    257268msgstr "" 
    258269 
    259 #: widget-bookmarks.php:276 
     270#: inc/widget-bookmarks.php:343 
    260271msgid "Show name?" 
    261272msgstr "" 
    262273 
    263 #: widget-bookmarks.php:280 
     274#: inc/widget-bookmarks.php:347 
    264275msgid "Show private?" 
    265276msgstr "" 
    266277 
    267 #: widget-calendar.php:30 
    268 msgid "An advanced widget that gives you total control over the output of your calendar." 
    269 msgstr "" 
    270  
    271 #: widget-calendar.php:32 
    272 #: widget-calendar.php:79 
     278#: inc/widget-calendar.php:32 
     279msgid "" 
     280"An advanced widget that gives you total control over the output of your " 
     281"calendar." 
     282msgstr "" 
     283 
     284#: inc/widget-calendar.php:44 inc/widget-calendar.php:99 
    273285msgid "Calendar" 
    274286msgstr "" 
    275287 
    276 #: widget-calendar.php:91 
     288#: inc/widget-calendar.php:113 
    277289msgid "One-letter abbreviation?" 
    278290msgstr "" 
    279291 
    280 #: widget-categories.php:30 
    281 msgid "An advanced widget that gives you total control over the output of your category links." 
    282 msgstr "" 
    283  
    284 #: widget-categories.php:32 
    285 #: widget-categories.php:126 
     292#: inc/widget-categories.php:32 
     293msgid "" 
     294"An advanced widget that gives you total control over the output of your " 
     295"category links." 
     296msgstr "" 
     297 
     298#: inc/widget-categories.php:44 inc/widget-categories.php:136 
    286299msgid "Categories" 
    287300msgstr "" 
    288301 
    289 #: widget-categories.php:143 
     302#: inc/widget-categories.php:180 
    290303msgid "Term Group" 
    291304msgstr "" 
    292305 
    293 #: widget-categories.php:144 
     306#: inc/widget-categories.php:185 
    294307msgid "Atom" 
    295308msgstr "" 
    296309 
    297 #: widget-categories.php:144 
     310#: inc/widget-categories.php:186 
    298311msgid "RDF" 
    299312msgstr "" 
    300313 
    301 #: widget-categories.php:144 
     314#: inc/widget-categories.php:188 
    302315msgid "RSS 2.0" 
    303316msgstr "" 
    304317 
    305 #: widget-categories.php:249 
    306 #: widget-pages.php:230 
     318#: inc/widget-categories.php:286 inc/widget-pages.php:277 
    307319msgid "Hierarchical?" 
    308320msgstr "" 
    309321 
    310 #: widget-categories.php:253 
     322#: inc/widget-categories.php:290 
    311323msgid "Use description?" 
    312324msgstr "" 
    313325 
    314 #: widget-categories.php:257 
    315 msgid "Show last update?" 
    316 msgstr "" 
    317  
    318 #: widget-categories.php:261 
     326#: inc/widget-categories.php:294 
    319327msgid "Show count?" 
    320328msgstr "" 
    321329 
    322 #: widget-nav-menu.php:29 
    323 msgid "An advanced widget that gives you total control over the output of your menus." 
    324 msgstr "" 
    325  
    326 #: widget-nav-menu.php:31 
     330#: inc/widget-nav-menu.php:32 
     331msgid "" 
     332"An advanced widget that gives you total control over the output of your " 
     333"menus." 
     334msgstr "" 
     335 
     336#: inc/widget-nav-menu.php:44 
    327337msgid "Navigation Menu" 
    328338msgstr "" 
    329339 
    330 #: widget-nav-menu.php:97 
     340#: inc/widget-nav-menu.php:108 
    331341msgid "Navigation" 
    332342msgstr "" 
    333343 
    334 #: widget-pages.php:30 
    335 msgid "An advanced widget that gives you total control over the output of your page links." 
    336 msgstr "" 
    337  
    338 #: widget-pages.php:32 
    339 #: widget-pages.php:104 
     344#: inc/widget-pages.php:32 
     345msgid "" 
     346"An advanced widget that gives you total control over the output of your page " 
     347"links." 
     348msgstr "" 
     349 
     350#: inc/widget-pages.php:44 inc/widget-pages.php:125 
    340351msgid "Pages" 
    341352msgstr "" 
    342353 
    343 #: widget-pages.php:118 
     354#: inc/widget-pages.php:157 
    344355msgid "Author" 
    345356msgstr "" 
    346357 
    347 #: widget-pages.php:118 
     358#: inc/widget-pages.php:158 
    348359msgid "Date" 
    349360msgstr "" 
    350361 
    351 #: widget-pages.php:118 
     362#: inc/widget-pages.php:160 
    352363msgid "Menu Order" 
    353364msgstr "" 
    354365 
    355 #: widget-pages.php:118 
    356 #: widget-pages.php:119 
     366#: inc/widget-pages.php:161 inc/widget-pages.php:169 
    357367msgid "Modified" 
    358368msgstr "" 
    359369 
    360 #: widget-pages.php:118 
     370#: inc/widget-pages.php:163 
    361371msgid "Title" 
    362372msgstr "" 
    363373 
    364 #: widget-pages.php:119 
     374#: inc/widget-pages.php:168 
    365375msgid "Created" 
    366376msgstr "" 
    367377 
    368 #: widget-search.php:30 
    369 msgid "An advanced widget that gives you total control over the output of your search form." 
    370 msgstr "" 
    371  
    372 #: widget-search.php:32 
    373 #: widget-search.php:101 
     378#: inc/widget-search.php:33 
     379msgid "" 
     380"An advanced widget that gives you total control over the output of your " 
     381"search form." 
     382msgstr "" 
     383 
     384#: inc/widget-search.php:45 inc/widget-search.php:132 
    374385msgid "Search" 
    375386msgstr "" 
    376387 
    377 #: widget-search.php:110 
     388#: inc/widget-search.php:148 
    378389msgid "Search Label:" 
    379390msgstr "" 
    380391 
    381 #: widget-search.php:114 
     392#: inc/widget-search.php:152 
    382393msgid "Search Text:" 
    383394msgstr "" 
    384395 
    385 #: widget-search.php:121 
     396#: inc/widget-search.php:159 
    386397msgid "Search Submit:" 
    387398msgstr "" 
    388399 
    389 #: widget-search.php:126 
     400#: inc/widget-search.php:164 
    390401msgid "Use theme's <code>searchform.php</code>?" 
    391402msgstr "" 
    392403 
    393 #: widget-tags.php:30 
    394 msgid "An advanced widget that gives you total control over the output of your tags." 
    395 msgstr "" 
    396  
    397 #: widget-tags.php:32 
    398 #: widget-tags.php:130 
     404#: inc/widget-tags.php:32 
     405msgid "" 
     406"An advanced widget that gives you total control over the output of your tags." 
     407msgstr "" 
     408 
     409#: inc/widget-tags.php:44 inc/widget-tags.php:146 
    399410msgid "Tags" 
    400411msgstr "" 
    401412 
    402 #: widget-tags.php:146 
     413#: inc/widget-tags.php:176 
    403414msgid "View" 
    404415msgstr "" 
    405416 
    406 #: widget-tags.php:146 
     417#: inc/widget-tags.php:177 
    407418msgid "Edit" 
    408419msgstr "" 
    409420 
    410 #: widget-tags.php:147 
     421#: inc/widget-tags.php:181 
    411422msgid "Flat" 
    412423msgstr "" 
    413424 
    414 #: widget-tags.php:263 
     425#: inc/widget-tags.php:314 
    415426msgid "Pad counts?" 
    416427msgstr "" 
    417  
  • widgets-reloaded/trunk/readme.txt

    r289652 r784815  
    11=== Widgets Reloaded === 
     2 
    23Contributors: greenshady 
    3 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3687060 
    4 Tags: Widgets 
    5 Requires at least: 3.0 
    6 Tested up to: 3.0.1 
    7 Stable tag: 0.4.1 
     4Donate link: http://themehybrid.com/donate 
     5Tags: sidebar, widget, widgets, archives, author, bookmarks, calendar, categories, links, menu, pages, tags 
     6Requires at least: 3.6 
     7Tested up to: 3.7 
     8Stable tag: 0.5.0 
     9License: GPLv2 or later 
     10License URI: http://www.gnu.org/licenses/gpl-2.0.html 
    811 
    912Replaces many of the default widgets with versions that allow much more control.  Widgets come with highly customizable control panels.  
     
    1114== Description == 
    1215 
    13 The default WordPress widgets don't offer much control over how they are output on the screen.  *Widgets Reloaded* seeks to correct this flaw in WordPress. 
     16The default WordPress widgets don't offer much control over how they are output on the screen.  Widgets Reloaded seeks to correct this problem. 
    1417 
    15 *Widgets Reloaded* replaces many of the default widgets with versions that allow much more control.  Widgets come with highly customizable control panels.  Each widget can also be used any number of times. 
     18This plugin replaces many of the default widgets with versions that allow much more control.  Widgets come with highly customizable control panels.  Each widget can also be used any number of times. 
    1619 
    17 Eight widgets are packaged for your convenience: 
     20### Features 
     21 
     22The plugin overwrites many of the default WordPress widgets.  The following is the list of custom widgets the plugin offers. 
    1823 
    1924* Archives 
     
    2732* Tags 
    2833 
     34### Professional Support 
     35 
     36If you need professional plugin support from me, the plugin author, you can access the support forums at [Theme Hybrid](http://themehybrid.com/support), which is a professional WordPress help/support site where I handle support for all my plugins and themes for a community of 40,000+ users (and growing). 
     37 
     38### Plugin Development 
     39 
     40If you're a theme author, plugin author, or just a code hobbyist, you can follow the development of this plugin on it's [GitHub repository](https://github.com/justintadlock/widgets-reloaded).  
     41 
     42### Donations 
     43 
     44Yes, I do accept donations.  If you want to buy me a beer or whatever, you can do so from my [donations page](http://themehybrid.com/donate).  I appreciate all donations, no matter the size.  Further development of this plugin is not contingent on donations, but they are always a nice incentive. 
     45 
    2946== Installation == 
    3047 
    31 1. Upload `widgets-reloaded.zip` to the `/wp-content/plugins/` directory. 
    32 2. Activate the plugin through the *Plugins* menu in WordPress. 
    33 3. Go to your *Widgets* control panel and configure your new widgets. 
    34  
    35 More detailed instructions can be found in the plugin's `readme.html` file. 
     481. Uzip the `widgets-reloaded.zip` folder. 
     492. Upload the `widgets-reloaded` folder to your `/wp-content/plugins` directory. 
     503. In your WordPress dashboard, head over to the *Plugins* section. 
     514. Activate *Widgets Reloaded*. 
    3652 
    3753== Frequently Asked Questions == 
    3854 
    39 = Why create this plugin? = 
     55### Why was this plugin created? 
    4056 
    41 I used to hardcode everything on my site because widgets didn't allow nearly enough control.  But, that got old after a while.  So, I decided to make the default widgets just as flexible as they would be if I were coding them by hand.  It was all about making widgets very powerful yet easy to use. 
     57For me and many of my theme users, we wanted the ability to have more control over the output of the default WordPress widgets, which didn't have enough flexibility. 
    4258 
    43 = What does this plugin do, exactly? = 
     59This functionality is easily done with PHP code.  But, for someone unfamiliar with editing theme files and working with PHP, it is not so easy and not nearly as fun as widgets. 
    4460 
    45 It removes most of the default WordPress widgets and replaces them with upgraded versions.  Each widget can be used any number of times.  Plus, you have loads of checkboxes, input boxes, and select boxes to choose from.  It's like having the power of a WordPress developer wrapped up in an easy-to-use form &mdash; widgets. 
     61Therefore, the original widgets for this plugin were created as a part of my theme framework, [Hybrid Core](http://themehybrid.com/hybrid-core), which is where they still live today.  However, I wanted to provide a way for users of my themes to also be able to use these widgets, even if they were no longer using my themes.  Plus, it would be cool if other WordPress users could use them too.  Thus, this plugin was born. 
    4662 
    47 = What widgets are available to use? = 
     63### How does this plugin work? 
     64 
     65Widgets Reloaded works by removing many of the default WordPress widgets and replacing them with customized versions.  Each widget is then given many more options to allow you to customize the output of widgets on your site.  You'll see many more checkboxes, input boxes, select boxes, and other options to choose from. 
     66 
     67### What custom widgets does the plugin provide? 
    4868 
    4969* Archives 
    5070* Authors 
    51 * Bookmarks (Links) 
     71* Bookmarks (only if you have the link manager enabled) 
    5272* Calendar 
    5373* Categories 
     
    5777* Tags 
    5878 
    59 = How do I list Recent Posts? = 
     79### What do all the widget options mean? 
    6080 
    61 You've probably noticed this widget has been removed and not replaced with anything else.  Actually, the **Archives** widget does just what you want.  Select `postbypost` as the `type`.  It'll list your most recent posts. 
     81First, you should understand that you don't have to use all of the widget options.  The defaults are already set up for you when you add a widget to the sidebar.  You only need to configure the options that you need. 
    6282 
    63 = I don't understand all of these options.  What should I do? = 
     83One thing many people don't realize is that most widgets are just "pretty" versions of WordPress template tags.  They allow you to use the widgets screen to configure the parameters of functions that are normally written in PHP code.  The Widgets Reloaded plugin merely exposes most, if not all, of these parameters in widget form.  That way, you don't have to worry about writing code. 
    6484 
    65 You should do a little reading.  The `readme.html` file included with the plugin has links to tons of resources.  Everything you need to know is there. 
     85The following is a list of the widgets and their associated template tag, which links to a Codex page that explains how each option (i.e., parameter) works. 
     86 
     87* **Archives:** [wp_get_archives](http://codex.wordpress.org/Template_Tags/wp_get_archives) 
     88* **Authors:** [wp_list_authors](http://codex.wordpress.org/Template_Tags/wp_list_authors) 
     89* **Bookmarks:** [wp_list_bookmarks](http://codex.wordpress.org/Template_Tags/wp_list_bookmarks) 
     90* **Calendar:** [get_calendar](http://codex.wordpress.org/Template_Tags/get_calendar) 
     91* **Categories:** [wp_list_categories](http://codex.wordpress.org/Template_Tags/wp_list_categories) 
     92* **Navigation Menu:** [wp_nav_menu](http://codex.wordpress.org/Template_Tags/wp_nav_menu) 
     93* **Pages:** [wp_list_pages](http://codex.wordpress.org/Template_Tags/wp_list_pages) 
     94* **Search:** [get_search_form](http://codex.wordpress.org/Function_Reference/get_search_form) 
     95* **Tags:** [wp_tag_cloud](http://codex.wordpress.org/Template_Tags/wp_tag_cloud) 
     96 
     97### Will this work with my theme? 
     98 
     99Yes.  The widgets are coded according to WordPress standards.  The HTML output by them is no different than the HTML output by the default WordPress widgets.  All correctly-coded themes will output the widgets perfectly. 
     100 
     101The one exception might be the Search widget.  If it doesn't look right with your theme, select the checkbox to use the theme's `searchform.php`. 
     102 
     103### I am using a Hybrid Core theme. Can I use this plugin? 
     104 
     105Yes.  Absolutely.  In fact, I encourage you to use this plugin.  By using the plugin, you can actually get quicker updates and bug fixes.  I can send a plugin update in minutes.  However, it could potentially take days or longer for a theme update. 
     106 
     107One of the major changes to version 0.5.0 of this plugin was to ensure that this plugin played nicely with Hybrid Core themes.  What the plugin does is make sure the widgets in Hybrid Core never get loaded.  You'll only be presented with the widgets from this plugin. 
     108 
     109### Are there plans for more widgets? 
     110 
     111I have a few ideas, but feel free to share your own.  If there are other widgets you'd like to see in this plugin, let me know.  I probably won't add every widget idea, but I'm more than willing to consider each one carefully. 
     112 
     113Also, remember that this plugin is meant to overwrite the default WordPress widgets.  If you'd like to see a new widget that's not in WordPress, it probably won't get added to this plugin.  However, I might be willing to code a new plugin just for that widget.  I love WordPress widgets and am always interested in creating new, fun stuff. 
    66114 
    67115== Screenshots == 
    68116 
    69 You can view screenshots of the plugin on the <a href="http://justintadlock.com/archives/2008/12/09/widgets-reloaded-wordpress-plugin" title="Widgets Reloaded">Widgets Reloaded plugin page</a>. 
     1171. Archives widget 
     1182. Authors widget 
     1193. Bookmarks widget 
     1204. Calendar widget 
     1215. Categories widget 
     1226. Navigation Menu widget 
     1237. Pages widget 
     1248. Search widget 
     1259. Tags widget 
    70126 
    71127== Changelog == 
    72128 
    73 **Version 0.4.1** 
     129### Version 0.5.0 
     130 
     131* Overhauled how the entire plugin works. 
     132* Ported in new versions of the widgets from the Hybrid Core framework. 
     133* Users of Hybrid Core-based themes can now use this plugin and the theme at the same time. 
     134* Recent Posts widget is no longer disabled. 
     135 
     136### Version 0.4.1 
    74137 
    75138* `WP_DEBUG` notices fixes so that the plugin is a bit cleaner and uses best practices. 
    76139 
    77 **Version 0.4** 
     140### Version 0.4.0 
    78141 
    79142* Revamped each of the widgets individually to be much easier to use (lots of pointing and clicking instead of typing in IDs). 
     
    83146* Note that you may need to re-save your widget settings upon upgrade. 
    84147 
    85 **Version 0.3** 
     148### Version 0.3.0 
    86149 
    87150* The widgets are now completely ported over from the Hybrid theme framework. This just makes more sense than dealing with two separate codebases. 
     
    93156* Fixed the `show_post_count` option in the Archives widget. 
    94157 
    95 **Version 0.2** 
     158### Version 0.2.0 
    96159 
    97160* Completely rewrote every line of code to work with the WordPress 2.8+ widget API. 
     
    99162* You'll likely have to re-add your widgets once you've upgraded because of the new widget system in WordPress. 
    100163 
    101 **Version 0.1.2** 
     164### Version 0.1.2 
    102165 
    103166* Code cleanup. 
    104167* Added the Calendar widget. 
    105168 
    106 **Version 0.1.1** 
     169### Version 0.1.1 
    107170 
    108171* Cleaned up a lot of the code. 
     
    110173* Added the Authors widget. 
    111174 
    112 **Version 0.1** 
     175### Version 0.1.0 
    113176 
    114177* Plugin launch. 
  • widgets-reloaded/trunk/widgets-reloaded.php

    r289652 r784815  
    22/** 
    33 * Plugin Name: Widgets Reloaded 
    4  * Plugin URI: http://justintadlock.com/archives/2008/12/08/widgets-reloaded-wordpress-plugin 
    5  * Description: Replaces many of the default widgets with versions that allow much more control.  Widgets come with highly-customizable control panels.  Each widget can also be used any number of times. 
    6  * Version: 0.4.1 
     4 * Plugin URI: http://themehybrid.com/plugins/widgets-reloaded 
     5 * Description: Replaces many of the default WordPress widgets with versions that allow much more control.  Widgets come with highly-customizable control panels that provide a ton of flexibility. 
     6 * Version: 0.5.0 
    77 * Author: Justin Tadlock 
    88 * Author URI: http://justintadlock.com 
    9  * 
    10  * Widgets Reloaded was designed to give users complete control over the output of the default  
    11  * WordPress widgets.  Each widget comes with a highly-customizable settings panel that takes out  
    12  * all of the work that usually comes with coding.  Each widget can also be used any number of times. 
    13  * Rather than recoding each widget, the widgets are ported over from the Hybrid theme framework. 
    14  * 
    15  * @copyright 2008 - 2010 
    16  * @version 0.4.1 
    17  * @author Justin Tadlock 
    18  * @link http://justintadlock.com/archives/2008/12/08/widgets-reloaded-wordpress-plugin 
    19  * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    20  * 
    21  * This program is distributed in the hope that it will be useful, 
    22  * but WITHOUT ANY WARRANTY; without even the implied warranty of 
    23  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
    24  * 
    25  * @package WidgetsReloaded 
     9 * Text Domain: widgets-reloaded 
     10 * 
     11 * This program is free software; you can redistribute it and/or modify it under the terms of the GNU  
     12 * General Public License as published by the Free Software Foundation; either version 2 of the License,  
     13 * or (at your option) any later version. 
     14 * 
     15 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without  
     16 * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
     17 * 
     18 * You should have received a copy of the GNU General Public License along with this program; if not, write  
     19 * to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 
     20 * 
     21 * @package   WidgetsReloaded 
     22 * @version   0.5.0 
     23 * @since     0.1.0 
     24 * @author    Justin Tadlock <justin@justintadlock.com> 
     25 * @copyright Copyright (c) 2008 - 2013, Justin Tadlock 
     26 * @link      http://themehybrid.com/plugins/widgets-reloaded 
     27 * @license   http://www.gnu.org/licenses/old-licenses/gpl-2.0.html 
    2628 */ 
    2729 
    28 /* Launch the plugin. */ 
    29 add_action( 'plugins_loaded', 'widgets_reloaded_plugin_init' ); 
    30  
    3130/** 
    32  * Initializes the plugin and it's features. 
    33  * 
    34  * @since 0.3 
     31 * Sets up the plugin 
     32 * 
     33 * @since 0.5.0 
    3534 */ 
    36 function widgets_reloaded_plugin_init() { 
    37  
    38     /* Set constant path to the members plugin directory. */ 
    39     define( WIDGETS_RELOADED_DIR, plugin_dir_path( __FILE__ ) ); 
    40  
    41     /* Set constant path to the members plugin directory. */ 
    42     define( WIDGETS_RELOADED_URL, plugin_dir_url( __FILE__ ) ); 
    43  
    44     /* Load the translation of the plugin. */ 
    45     load_plugin_textdomain( 'widgets-reloaded', false, 'widgets-reloaded/languages' ); 
    46  
    47     /* Unregisters the default widgets. */ 
    48     add_action( 'widgets_init', 'widgets_reloaded_unregister_widgets' ); 
    49  
    50     /* Loads and registers the new widgets. */ 
    51     add_action( 'widgets_init', 'widgets_reloaded_load_widgets' ); 
    52  
    53     /* Load the admin stylesheet for the widgets screen. */ 
    54     add_action( 'load-widgets.php', 'widgets_reloaded_enqueue_style' ); 
     35final class Widgets_Reloaded_Plugin { 
     36 
     37    /** 
     38     * Holds the instance of this class. 
     39     * 
     40     * @since  0.5.0 
     41     * @access private 
     42     * @var    object 
     43     */ 
     44    private static $instance; 
     45 
     46    /** 
     47     * Stores the directory path for this plugin. 
     48     * 
     49     * @since  0.5.0 
     50     * @access private 
     51     * @var    string 
     52     */ 
     53    private $directory_path; 
     54 
     55    /** 
     56     * Stores the directory URI for this plugin. 
     57     * 
     58     * @since  0.5.0 
     59     * @access private 
     60     * @var    string 
     61     */ 
     62    private $directory_uri; 
     63 
     64    /** 
     65     * Plugin setup. 
     66     * 
     67     * @since  0.5.0 
     68     * @access public 
     69     * @return void 
     70     */ 
     71    public function __construct() { 
     72 
     73        /* Set the properties needed by the plugin. */ 
     74        add_action( 'plugins_loaded', array( $this, 'setup' ), 1 ); 
     75 
     76        /* Load translation files. */ 
     77        add_action( 'plugins_loaded', array( $this, 'i18n' ), 2 ); 
     78 
     79        /* Set up theme support. */ 
     80        add_action( 'after_setup_theme', array( $this, 'theme_support' ), 12 ); 
     81 
     82        /* Load the plugin includes. */ 
     83        add_action( 'after_setup_theme', array( $this, 'includes' ), 95 ); 
     84 
     85        /* Register widgets. */ 
     86        add_action( 'widgets_init', array( $this, 'register_widgets' ) ); 
     87 
     88        /* Load admin scripts and styles. */ 
     89        add_action( 'admin_enqueue_scripts', array( $this, 'admin_enqueue_scripts' ) ); 
     90    } 
     91 
     92    /** 
     93     * Defines the directory path and URI for the plugin. 
     94     * 
     95     * @since  0.5.0 
     96     * @access public 
     97     * @return void 
     98     */ 
     99    public function setup() { 
     100        $this->directory_path = trailingslashit( plugin_dir_path( __FILE__ ) ); 
     101        $this->directory_uri  = trailingslashit( plugin_dir_url(  __FILE__ ) ); 
     102    } 
     103 
     104    /** 
     105     * Removes 'hybrid-core-widgets' theme support.  This is so that the plugin will take over the  
     106     * widgets instead of themes built on Hybrid Core.  Plugin updates can get out quicker to users,  
     107     * so the plugin should have priority. 
     108     * 
     109     * @since  0.5.0 
     110     * @access public 
     111     * @return void 
     112     */ 
     113    public function theme_support() { 
     114        remove_theme_support( 'hybrid-core-widgets' ); 
     115    } 
     116 
     117    /** 
     118     * Loads the initial files needed by the plugin. 
     119     * 
     120     * @since  0.5.0 
     121     * @access public 
     122     * @return void 
     123     */ 
     124    public function includes() { 
     125        require_once( $this->directory_path . 'inc/widget-archives.php' ); 
     126        require_once( $this->directory_path . 'inc/widget-authors.php' ); 
     127        require_once( $this->directory_path . 'inc/widget-bookmarks.php' ); 
     128        require_once( $this->directory_path . 'inc/widget-calendar.php' ); 
     129        require_once( $this->directory_path . 'inc/widget-categories.php' ); 
     130        require_once( $this->directory_path . 'inc/widget-nav-menu.php' ); 
     131        require_once( $this->directory_path . 'inc/widget-pages.php' ); 
     132        require_once( $this->directory_path . 'inc/widget-search.php' ); 
     133        require_once( $this->directory_path . 'inc/widget-tags.php' ); 
     134    } 
     135 
     136    /** 
     137     * Note that we're using the 'widgets-reloaded' textdomain here.  This is because the widgets  
     138     * are ported from the Hybrid Core framework. 
     139     * 
     140     * @since  0.5.0 
     141     * @access public 
     142     * @return void 
     143     */ 
     144    public function i18n() { 
     145        load_plugin_textdomain( 'widgets-reloaded', false, basename( dirname( __FILE__ ) ) . '/languages' ); 
     146    } 
     147 
     148    /** 
     149     * Registers widget files. 
     150     * 
     151     * @since  0.5.0 
     152     * @access public 
     153     * @return void 
     154     */ 
     155    public function register_widgets() { 
     156 
     157        /* Unregister the default WordPress widgets. */ 
     158        unregister_widget( 'WP_Widget_Archives' ); 
     159        unregister_widget( 'WP_Widget_Calendar' ); 
     160        unregister_widget( 'WP_Widget_Categories' ); 
     161        unregister_widget( 'WP_Widget_Links' ); 
     162        unregister_widget( 'WP_Nav_Menu_Widget' ); 
     163        unregister_widget( 'WP_Widget_Pages' ); 
     164        unregister_widget( 'WP_Widget_Search' ); 
     165        unregister_widget( 'WP_Widget_Tag_Cloud' ); 
     166 
     167        /* Register the archives widget. */ 
     168        register_widget( 'Hybrid_Widget_Archives' ); 
     169 
     170        /* Register the authors widget. */ 
     171        register_widget( 'Hybrid_Widget_Authors' ); 
     172 
     173        /* Register the bookmarks widget. */ 
     174        if ( get_option( 'link_manager_enabled' ) ) 
     175            register_widget( 'Hybrid_Widget_Bookmarks' ); 
     176 
     177        /* Register the calendar widget. */ 
     178        register_widget( 'Hybrid_Widget_Calendar' ); 
     179 
     180        /* Register the categories widget. */ 
     181        register_widget( 'Hybrid_Widget_Categories' ); 
     182 
     183        /* Register the nav menu widget. */ 
     184        register_widget( 'Hybrid_Widget_Nav_Menu' ); 
     185 
     186        /* Register the pages widget. */ 
     187        register_widget( 'Hybrid_Widget_Pages' ); 
     188 
     189        /* Register the search widget. */ 
     190        register_widget( 'Hybrid_Widget_Search' ); 
     191 
     192        /* Register the tags widget. */ 
     193        register_widget( 'Hybrid_Widget_Tags' ); 
     194    } 
     195 
     196    /** 
     197     * Loads admin CSS files. 
     198     * 
     199     * @since  0.5.0 
     200     * @access public 
     201     * @return void 
     202     */ 
     203    public function admin_enqueue_scripts( $hook_suffix ) { 
     204 
     205        if ( 'widgets.php' == $hook_suffix ) 
     206            wp_enqueue_style( 'widgets-reloaded', "{$this->directory_uri}css/admin.min.css" ); 
     207    } 
     208 
     209    /** 
     210     * Returns the instance. 
     211     * 
     212     * @since  0.5.0 
     213     * @access public 
     214     * @return object 
     215     */ 
     216    public static function get_instance() { 
     217 
     218        if ( !self::$instance ) 
     219            self::$instance = new self; 
     220 
     221        return self::$instance; 
     222    } 
    55223} 
    56224 
    57 /** 
    58  * Load the stylesheet needed for the widgets page. 
    59  * 
    60  * @since 0.4 
    61  */ 
    62 function widgets_reloaded_enqueue_style() { 
    63     wp_enqueue_style( hybrid_get_prefix() . '-admin', WIDGETS_RELOADED_URL . 'admin.css', false, 0.4, 'screen' ); 
    64 } 
    65  
    66 /** 
    67  * Compatibility function since the widgets are based off the Hybrid framework. 
    68  * 
    69  * @since 0.3 
    70  */ 
    71 function hybrid_get_prefix() { 
    72     return 'widgets-reloaded'; 
    73 } 
    74  
    75 /** 
    76  * Compatibility function since the widgets are based off the Hybrid framework. 
    77  * 
    78  * @since 0.3 
    79  */ 
    80 function hybrid_get_textdomain() { 
    81     return 'widgets-reloaded'; 
    82 } 
    83  
    84 /** 
    85  * Compatibility function since the widgets are based off the Hybrid framework. 
    86  * 
    87  * @since 0.4 
    88  */ 
    89 function hybrid_get_transient_expiration() { 
    90     return apply_filters( hybrid_get_prefix() . '_transient_expiration', 43200 ); 
    91 } 
    92  
    93 /** 
    94  * Unregister default WordPress widgets we don't need. The plugin adds its own versions  
    95  * of these widgets. 
    96  * 
    97  * @since 0.1 
    98  * @uses unregister_widget() Removes individual widgets. 
    99  * @link http://codex.wordpress.org/WordPress_Widgets_Api 
    100  */ 
    101 function widgets_reloaded_unregister_widgets() { 
    102     unregister_widget( 'WP_Widget_Pages' ); 
    103     unregister_widget( 'WP_Widget_Calendar' ); 
    104     unregister_widget( 'WP_Widget_Archives' ); 
    105     unregister_widget( 'WP_Widget_Links' ); 
    106     unregister_widget( 'WP_Widget_Categories' ); 
    107     unregister_widget( 'WP_Nav_Menu_Widget' ); 
    108     unregister_widget( 'WP_Widget_Recent_Posts' ); 
    109     unregister_widget( 'WP_Widget_Search' ); 
    110     unregister_widget( 'WP_Widget_Tag_Cloud' ); 
    111 } 
    112  
    113 /** 
    114  * Register the extra widgets. Each widget is meant to replace or extend the current default  
    115  * WordPress widgets. 
    116  * 
    117  * @since 0.1 
    118  * @uses register_widget() Registers individual widgets. 
    119  * @link http://codex.wordpress.org/WordPress_Widgets_Api 
    120  */ 
    121 function widgets_reloaded_load_widgets() { 
    122  
    123     /* Load each widget file. */ 
    124     require_once( WIDGETS_RELOADED_DIR . 'widget-archives.php' ); 
    125     require_once( WIDGETS_RELOADED_DIR . 'widget-authors.php' ); 
    126     require_once( WIDGETS_RELOADED_DIR . 'widget-bookmarks.php' ); 
    127     require_once( WIDGETS_RELOADED_DIR . 'widget-calendar.php' ); 
    128     require_once( WIDGETS_RELOADED_DIR . 'widget-categories.php' ); 
    129     require_once( WIDGETS_RELOADED_DIR . 'widget-nav-menu.php' ); 
    130     require_once( WIDGETS_RELOADED_DIR . 'widget-pages.php' ); 
    131     require_once( WIDGETS_RELOADED_DIR . 'widget-search.php' ); 
    132     require_once( WIDGETS_RELOADED_DIR . 'widget-tags.php' ); 
    133  
    134     /* Register each widget. */ 
    135     register_widget( 'Hybrid_Widget_Archives' ); 
    136     register_widget( 'Hybrid_Widget_Authors' ); 
    137     register_widget( 'Hybrid_Widget_Bookmarks' ); 
    138     register_widget( 'Hybrid_Widget_Calendar' ); 
    139     register_widget( 'Hybrid_Widget_Categories' ); 
    140     register_widget( 'Hybrid_Widget_Nav_Menu' ); 
    141     register_widget( 'Hybrid_Widget_Pages' ); 
    142     register_widget( 'Hybrid_Widget_Search' ); 
    143     register_widget( 'Hybrid_Widget_Tags' ); 
    144 } 
     225Widgets_Reloaded_Plugin::get_instance(); 
    145226 
    146227?> 
Note: See TracChangeset for help on using the changeset viewer.