Changeset 196376
- Timestamp:
- 01/21/2010 08:00:42 PM (16 years ago)
- Location:
- wordpress-popular-posts
- Files:
-
- 17 added
- 8 edited
-
tags/2.0.1 (added)
-
tags/2.0.1/btn_donateCC_LG_global.gif (added)
-
tags/2.0.1/maintenance.php (added)
-
tags/2.0.1/readme.txt (added)
-
tags/2.0.1/screenshot-1.gif (added)
-
tags/2.0.1/screenshot-2.gif (added)
-
tags/2.0.1/screenshot-3.gif (added)
-
tags/2.0.1/scripts (added)
-
tags/2.0.1/scripts/cache (added)
-
tags/2.0.1/scripts/timthumb.php (added)
-
tags/2.0.1/style (added)
-
tags/2.0.1/style/wpp.css (added)
-
tags/2.0.1/wordpress-popular-posts-es_ES.mo (added)
-
tags/2.0.1/wordpress-popular-posts-es_ES.po (added)
-
tags/2.0.1/wordpress-popular-posts.mo (added)
-
tags/2.0.1/wordpress-popular-posts.php (added)
-
tags/2.0.1/wordpress-popular-posts.po (added)
-
trunk/maintenance.php (modified) (8 diffs)
-
trunk/readme.txt (modified) (6 diffs)
-
trunk/style/wpp.css (modified) (3 diffs)
-
trunk/wordpress-popular-posts-es_ES.mo (modified) (previous)
-
trunk/wordpress-popular-posts-es_ES.po (modified) (3 diffs)
-
trunk/wordpress-popular-posts.mo (modified) (previous)
-
trunk/wordpress-popular-posts.php (modified) (19 diffs)
-
trunk/wordpress-popular-posts.po (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wordpress-popular-posts/trunk/maintenance.php
r194265 r196376 24 24 .wpp-ans {display:none; width:100%;} 25 25 26 #attr_table {26 .attr_table { 27 27 width:99%; 28 28 border-top:#ccc 1px solid; … … 31 31 } 32 32 33 #attr_table td {33 .attr_table td { 34 34 padding:3px; 35 35 font-size:11px; … … 128 128 <p><?php _e('If checked, you can decide the order of the items displayed on each entry. For example, setting it to "{title}: {summary}" (without the quotes) would display "Post title: excerpt of the post here". Available tags: {image}, {title}, {summary}, {stats} and {rating}. Disabled by default.', 'wordpress-popular-posts'); ?></p> 129 129 </div> 130 <h4><a href="#" rel="q-15"><?php _e('What are "Template Tags"?', 'wordpress-popular-posts'); ?></a></h4> 131 <div class="wpp-ans" id="q-15"> 132 <p><?php _e('Template Tags are simply php functions that allow you to perform certain actions. For example, Wordpress Popular Posts currently supports two different template tags: get_mostpopular() and wpp_get_views().', 'wordpress-popular-posts'); ?></p> 133 </div> 134 <h4><a href="#" rel="q-16"><?php _e('What are the template tags that Wordpress Popular Posts supports?', 'wordpress-popular-posts'); ?></a></h4> 135 <div class="wpp-ans" id="q-16"> 136 <p><?php _e('The following are the template tags supported by Wordpress Popular Posts:', 'wordpress-popular-posts'); ?></p> 137 <table cellpadding="0" cellspacing="0" class="attr_table"> 138 <tr> 139 <td class="attr_heading"><?php _e('Template tag', 'wordpress-popular-posts'); ?></td> 140 <td class="attr_heading"><?php _e('What it does ', 'wordpress-popular-posts'); ?></td> 141 <td class="attr_heading"><?php _e('Parameters', 'wordpress-popular-posts'); ?></td> 142 <td class="attr_heading"><?php _e('Example', 'wordpress-popular-posts'); ?></td> 143 </tr> 144 <tr> 145 <td><strong>get_mostpopular()</strong></td> 146 <td><?php _e('Similar to the widget functionality, this tag retrieves the most popular posts on your blog. While it can be customized via parameters, these are not needed for it to work.', 'wordpress-popular-posts'); ?></td> 147 <td><?php _e('Please refer to "What attributes does Wordpress Popular Posts shortcode [wpp] have?"', 'wordpress-popular-posts'); ?></td> 148 <td><?php get_mostpopular(); ?><br /><?php get_mostpopular("range=weekly&limit=7"); ?></td> 149 </tr> 150 <tr> 151 <td><strong>wpp_get_views()</strong></td> 152 <td><?php _e('Displays the number of views of a single post. Post ID required, or it will return false.', 'wordpress-popular-posts'); ?></td> 153 <td><?php _e('Post ID', 'wordpress-popular-posts'); ?></td> 154 <td><?php wpp_get_views($post->ID); ?><br /><?php wpp_get_views(15); ?></td> 155 </tr> 156 </table> 157 </div> 130 158 <h4><a href="#" rel="q-12"><?php _e('What are "shortcodes"?', 'wordpress-popular-posts'); ?></a></h4> 131 159 <div class="wpp-ans" id="q-12"> … … 134 162 <h4><a href="#" rel="q-13"><?php _e('What attributes does Wordpress Popular Posts shortcode [wpp] have?', 'wordpress-popular-posts'); ?></a></h4> 135 163 <div class="wpp-ans" id="q-13"> 136 <p><?php _e('There are a number of attributes Wordpress Popular Posts currently supports ', 'wordpress-popular-posts'); ?>:</p>137 <table cellpadding="0" cellspacing="0" id="attr_table">164 <p><?php _e('There are a number of attributes Wordpress Popular Posts currently supports:', 'wordpress-popular-posts'); ?>:</p> 165 <table cellpadding="0" cellspacing="0" class="attr_table"> 138 166 <tr> 139 167 <td class="attr_heading"><?php _e('Attributes', 'wordpress-popular-posts'); ?></td> … … 181 209 <td><strong>pages</strong></td> 182 210 <td><?php _e('Tells Wordpress Popular Posts whether to consider or not pages while building the popular list', 'wordpress-popular-posts'); ?></td> 183 <td> true,false</td>184 <td>pages= true</td>211 <td>1 (true), (0) false</td> 212 <td>pages=1</td> 185 213 </tr> 186 214 <tr> … … 217 245 <td><strong>rating</strong></td> 218 246 <td><?php _e('If set, and if the WP-PostRatings plugin is installed and enabled on your blog, Wordpress Popular Posts will show how your visitors are rating your entries', 'wordpress-popular-posts'); ?></td> 219 <td> true,false</td>220 <td>rating= true</td>247 <td>1 (true), (0) false</td> 248 <td>rating=1</td> 221 249 </tr> 222 250 <tr> 223 251 <td><strong>stats_comments</strong></td> 224 252 <td><?php _e('If set, Wordpress Popular Posts will show how many comments each popular post has got until now', 'wordpress-popular-posts'); ?></td> 225 <td> true, false</td>226 <td>stats_comments= true</td>253 <td>1 (true), 0 (false)</td> 254 <td>stats_comments=1</td> 227 255 </tr> 228 256 <tr> 229 257 <td><strong>stats_views</strong></td> 230 258 <td><?php _e('If set, Wordpress Popular Posts will show how many views each popular post has got since it was installed', 'wordpress-popular-posts'); ?></td> 231 <td> true,false</td>232 <td>stats_views= true</td>259 <td>1 (true), (0) false</td> 260 <td>stats_views=1</td> 233 261 </tr> 234 262 <tr> 235 263 <td><strong>stats_author</strong></td> 236 264 <td><?php _e('If set, Wordpress Popular Posts will show who published each popular post on the list', 'wordpress-popular-posts'); ?></td> 237 <td> true,false</td>238 <td>stats_author= true</td>265 <td>1 (true), (0) false</td> 266 <td>stats_author=1</td> 239 267 </tr> 240 268 <tr> 241 269 <td><strong>stats_date</strong></td> 242 270 <td><?php _e('If set, Wordpress Popular Posts will when each popular post on the list was published', 'wordpress-popular-posts'); ?></td> 243 <td> true,false</td>244 <td>stats_date= true</td>271 <td>1 (true), (0) false</td> 272 <td>stats_date=1</td> 245 273 </tr> 246 274 <tr> … … 271 299 <td><strong>do_pattern</strong></td> 272 300 <td><?php _e('If set, this option will allow you to decide the order of the contents within each item on the list.', 'wordpress-popular-posts'); ?></td> 273 <td> true,false</td>274 <td>do_pattern= true</td>301 <td>1 (true), (0) false</td> 302 <td>do_pattern=1</td> 275 303 </tr> 276 304 <tr> … … 307 335 <p><?php _e('Do you like this plugin?', 'wordpress-popular-posts'); ?> <a title="<?php _e('Rate Wordpress Popular Posts!', 'wordpress-popular-posts'); ?>" href="http://wordpress.org/extend/plugins/wordpress-popular-posts/#rate-response" target="_blank"><strong><?php _e('Rate it 5', 'wordpress-popular-posts'); ?></strong></a> <?php _e('on the official Plugin Directory!', 'wordpress-popular-posts'); ?></p> 308 336 <p><?php _e('Do you love this plugin?', 'wordpress-popular-posts'); ?> <a title="<?php _e('Buy me a beer!', 'wordpress-popular-posts'); ?>" href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=dadslayer%40gmail%2ecom&lc=GB&item_name=Wordpress%20Popular%20Posts%20Plugin¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG_global%2egif%3aNonHosted" target="_blank"><strong><?php _e('Buy me a beer!', 'wordpress-popular-posts'); ?></strong></a>. <?php _e('Each donation motivates me to keep releasing free stuff for the Wordpress community!', 'wordpress-popular-posts'); ?></p> 309 <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=dadslayer%40gmail%2ecom&lc=GB&item_name=Wordpress%20Popular%20Posts%20Plugin¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG_global%2egif%3aNonHosted" target="_blank" rel="external nofollow"><img src="<?php echo get_bloginfo('url') . "/" . PLUGINDIR; ?>/wordpress-popular-posts/btn_donateCC_LG_global.gif" width="122" height="47" alt="<?php _e('Buy me a beer!', 'wordpress-popular-posts'); ?>" border="0" /></a> 337 <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=dadslayer%40gmail%2ecom&lc=GB&item_name=Wordpress%20Popular%20Posts%20Plugin¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG_global%2egif%3aNonHosted" target="_blank" rel="external nofollow"><img src="<?php echo get_bloginfo('url') . "/" . PLUGINDIR; ?>/wordpress-popular-posts/btn_donateCC_LG_global.gif" width="122" height="47" alt="<?php _e('Buy me a beer!', 'wordpress-popular-posts'); ?>" border="0" /></a> 338 <?php 339 340 ?> 310 341 </div> -
wordpress-popular-posts/trunk/readme.txt
r194270 r196376 5 5 Requires at least: 2.8 6 6 Tested up to: 2.9.1 7 Stable tag: 2.0. 07 Stable tag: 2.0.1 8 8 9 9 With Wordpress Popular Posts, you can show your visitors what are the most popular entries on your blog. … … 11 11 == Description == 12 12 13 Wordpress Popular Posts is a sidebar widget that displays the most popular posts on your blog. 13 Wordpress Popular Posts is a sidebar widget that displays the most popular posts on your blog. You can use it as a template tag, too! 14 14 15 15 **IMPORTANT ANNOUNCEMENT:** from **version 2.0** and on, **Wordpress Popular Posts** requires at least **Wordpress 2.8** in order to function correctly. If you are not running Wordpress 2.8 or can't update your blog right now, please don't upgrade to/install version 2.x! … … 25 25 * **[WP-PostRatings](http://wordpress.org/extend/plugins/wp-postratings/)** support added! Show your visitors how your readers are rating your posts! 26 26 * **Database improvements** - Wordpress Popular Posts will now use a lot less space to cache your most popular posts! 27 * **Template tags** - Don't feel like using widgets? No problem! You can still embed your most popular entries on your theme using the **get_mostpopular()** template tag. Additionally, a *new* tag has been included on this release: **wpp_gets_views()**. For usage and instructions, please refer to the [instalation section](http://wordpress.org/extend/plugins/wordpress-popular-posts/installation/). 27 28 * Use **your own layout**! Control how your most popular posts are shown on your templates. 28 29 * You can now include a **thumbnail** of your posts! (*see the [FAQ section](http://wordpress.org/extend/plugins/wordpress-popular-posts/faq/) for technical requirements*) 29 30 30 ** Other features**31 **Other features** 31 32 32 33 * Post excerpts feature is also available! … … 50 51 If you want to use Wordpress Popular Posts on your pages (a "Hall of Fame" page, for example) please use the shortcode `[wpp]`. Attributes are **optional**, however you can use them if needed. You can find a complete list of the attributes Wordpress Popular Posts currently supports at your *wp-admin > Settings > Wordpress Popular Posts* page. 51 52 52 **Usage s:**53 **Usage:** 53 54 54 55 `[wpp]` 55 56 56 57 `[wpp attribute='value']` 58 59 = Template Tags = 60 61 ***get_mostpopular()*** 62 63 Due to the fact that some themes are not widget-ready, or that some blog users don't like widgets at all, there's another choice: the **get_mostpopular** template tag. With it, you can embed the most popular posts of your blog on your site's sidebar without using a widget. This function also accepts parameters (optional) so you can customize the look and feel of the listing. 64 65 **Usage:** 66 67 Without any parameters: 68 69 `<?php get_mostpopular(); ?>` 70 71 Using parameters: 72 73 `<?php get_mostpopular("range=weekly&order_by=comments"); ?>` 74 75 For a complete list of parameters (also known as "attributes"), please check your wp-admin > Settings > Wordpress Popular Posts page. 76 77 ***wpp_get_views()*** 78 79 The **wpp_get_views** template tag retrieves the views count of a single post since the plugin was installed. It only accepts one parameter: the post ID (eg. wpp_get_views(15)). If no parameter is passed to the function, it will return false. 80 81 **Usage:** 82 83 `<?php wpp_get_views(YOUR_POST_ID_HERE); ?>` 57 84 58 85 == Frequently Asked Questions == … … 62 89 63 90 * *I'm unable to activate the "Display post thumbnail" option. Why?* 64 You should check that: your host is running **PHP 4.3+**; the GD library is installed and enabled by your host; your "wordpress-popular-posts/scripts/cache" directory **exists** and is **writable**; there are images on your posts. 91 You should check that: your host is running **PHP 4.3+**; the **GD library** is installed and enabled by your host; your "wordpress-popular-posts/scripts/cache" directory **exists** and is **writable**; there are images on your posts. 92 93 * *What are the parameters that the get_popularpost() template tag accepts?* 94 You can find a complete list of parameters via wp-admin > Settings > Wordpress Popular Posts under the section "What attributes does Wordpress Popular Posts shortcode [wpp] have?". 65 95 66 96 * *Does your plugin include any css stylesheets?* … … 86 116 87 117 == Changelog == 118 119 = 2.0.1 = 120 * Post title excerpt now includes html entities. Characters like ÄÖ should display properly now. 121 * Post excerpt has been improved. Now it supports the following HTML tags: <a><b><i><strong><em>. 122 * Template tag wpp_get_views() added. Retrieves the views count of a single post. 123 * Template tag get_mostpopular() re-added. Parameter support included. 124 * Shortcode bug fixed (range was always "daily" no matter what option was being selected by the user). 88 125 89 126 = 2.0.0 = -
wordpress-popular-posts/trunk/style/wpp.css
r194265 r196376 7 7 8 8 /* title styles */ 9 .wpp-post-title {} 9 .wpp-post-title { 10 } 10 11 11 12 /* thumbnail styles */ 12 img.wpp-thumbnail {} 13 img.wpp-thumbnail { 14 } 13 15 14 16 /* excerpt styles */ 15 .wpp-excerpt {} 17 .wpp-excerpt { 18 } 16 19 17 20 /* Stats tag styles */ … … 21 24 } 22 25 23 .wpp-comments {} 26 .wpp-comments { 27 } 24 28 25 .wpp-views {} 29 .wpp-views { 30 } 26 31 27 32 .wpp-author { … … 29 34 } 30 35 31 .wpp-date {} 36 .wpp-date { 37 } 32 38 33 39 /* WP-PostRatings styles */ 34 .wpp-rating {} 40 .wpp-rating { 41 } -
wordpress-popular-posts/trunk/wordpress-popular-posts-es_ES.po
r194265 r196376 3 3 "Project-Id-Version: Wordpress Popular Posts\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 2010-01- 15 11:07-0430\n"5 "POT-Creation-Date: 2010-01-21 15:15-0430\n" 6 6 "PO-Revision-Date: \n" 7 7 "Last-Translator: Héctor Cabrera <[email protected]>\n" … … 147 147 148 148 #: maintenance.php:130 149 msgid "What are \"Template Tags\"?" 150 msgstr "¿Qué son los \"Template Tags\"?" 151 152 #: maintenance.php:132 153 msgid "Template Tags are simply php functions that allow you to perform certain actions. For example, Wordpress Popular Posts currently supports two different template tags: get_mostpopular() and wpp_get_views()." 154 msgstr "Los Template Tags son simplemente funciones php que te permiten realizar ciertas acciones. Por ejemplo, Wordpress Popular Posts actualmante soporte dos template tags diferentes: get_mostpopular y wpp_get_views()." 155 156 #: maintenance.php:134 157 msgid "What are the template tags that Wordpress Popular Posts supports?" 158 msgstr "¿Cuáles template tags soporta Wordpress Popular Posts?" 159 160 #: maintenance.php:136 161 msgid "The following are the template tags supported by Wordpress Popular Posts:" 162 msgstr "Los siguientes son los template tags soportados por Wordpress Popular Posts:" 163 164 #: maintenance.php:139 165 msgid "Template tag" 166 msgstr "Template tag" 167 168 #: maintenance.php:140 169 #: maintenance.php:168 170 msgid "What it does " 171 msgstr "Qué hace" 172 173 #: maintenance.php:141 174 msgid "Parameters" 175 msgstr "Parámetros" 176 177 #: maintenance.php:142 178 #: maintenance.php:170 179 msgid "Example" 180 msgstr "Ejemplo" 181 182 #: maintenance.php:146 183 msgid "Similar to the widget functionality, this tag retrieves the most popular posts on your blog. While it can be customized via parameters, these are not needed for it to work." 184 msgstr "Al igual que la funcionalidad tipo widget, este tag obtiene los posts más populares de tu blog. Puede ser personalizado via parámetros, pero no son necesarios para que funcione." 185 186 #: maintenance.php:147 187 msgid "Please refer to \"What attributes does Wordpress Popular Posts shortcode [wpp] have?\"" 188 msgstr "Favor leer \"¿Cuáles template tags soporta Wordpress Popular Posts?\"" 189 190 #: maintenance.php:152 191 msgid "Displays the number of views of a single post. Post ID required, or it will return false." 192 msgstr "Muestra el número de vistas de un post. Se requiere el ID del post, o la función retornará falso." 193 194 #: maintenance.php:153 195 msgid "Post ID" 196 msgstr "ID del Post" 197 198 #: maintenance.php:158 149 199 msgid "What are \"shortcodes\"?" 150 200 msgstr "¿Qué son los \"shortcodes\"?" 151 201 152 #: maintenance.php:1 32202 #: maintenance.php:160 153 203 msgid "Shortcodes are hooks that allow us to call a php function by simply typing something like [shortcode]. With Wordpress Popular Posts, the shortcode [wpp] will let you insert a list of the most popular posts in posts content and pages too! For more information about shortcodes, please visit" 154 204 msgstr "Los shortcodes son hooks que nos permiten llamar a una función php simplemente escribiendo algo como [shortcode]. Con Wordpress Popular Posts, el shortcode [wpp] te permitirá insertar una lista de los posts más populares en páginas y en los contenidos de los posts. Para más informació visita" 155 205 156 #: maintenance.php:1 34206 #: maintenance.php:162 157 207 msgid "What attributes does Wordpress Popular Posts shortcode [wpp] have?" 158 208 msgstr "¿Qué atributos tiene el shortcode [wpp] de Wordpress Popular Posts?" 159 209 160 #: maintenance.php:1 36161 msgid "There are a number of attributes Wordpress Popular Posts currently supports "162 msgstr "Hay un número de atributos que Wordpress Popular Posts actualmente soporta "163 164 #: maintenance.php:1 39210 #: maintenance.php:164 211 msgid "There are a number of attributes Wordpress Popular Posts currently supports:" 212 msgstr "Hay un número de atributos que Wordpress Popular Posts actualmente soporta:" 213 214 #: maintenance.php:167 165 215 msgid "Attributes" 166 216 msgstr "Atributos" 167 217 168 #: maintenance.php:140 169 msgid "What it does " 170 msgstr "Qué hace" 171 172 #: maintenance.php:141 218 #: maintenance.php:169 173 219 msgid "Possible values" 174 220 msgstr "Valores Posibles" 175 221 176 #: maintenance.php:142 177 msgid "Example" 178 msgstr "Ejemplo" 179 180 #: maintenance.php:146 222 #: maintenance.php:174 181 223 msgid "Sets a heading for the list" 182 224 msgstr "Setea el encabezado de la lista" 183 225 184 #: maintenance.php:1 47185 #: maintenance.php:1 53186 #: maintenance.php:1 59187 #: maintenance.php:2 01188 #: maintenance.php:2 49189 #: maintenance.php:2 55190 #: maintenance.php:2 61191 #: maintenance.php:2 67226 #: maintenance.php:175 227 #: maintenance.php:181 228 #: maintenance.php:187 229 #: maintenance.php:229 230 #: maintenance.php:277 231 #: maintenance.php:283 232 #: maintenance.php:289 233 #: maintenance.php:295 192 234 msgid "Text string" 193 235 msgstr "Cadena de texto" 194 236 195 #: maintenance.php:1 52237 #: maintenance.php:180 196 238 msgid "Set the opening tag for the heading of the list" 197 239 msgstr "Setea la etiqueta html de apertura del encabezado de la lista" 198 240 199 #: maintenance.php:1 58241 #: maintenance.php:186 200 242 msgid "Set the closing tag for the heading of the list" 201 243 msgstr "Setea la etiqueta de cierre del encabezado de la lista" 202 244 203 #: maintenance.php:1 64245 #: maintenance.php:192 204 246 msgid "Sets the maximum number of popular posts to be shown on the listing" 205 247 msgstr "Setea el número máximo de posts populares a mostrarse en la lista" 206 248 207 #: maintenance.php:1 65208 #: maintenance.php: 189209 #: maintenance.php: 195210 #: maintenance.php:2 07211 #: maintenance.php:2 13249 #: maintenance.php:193 250 #: maintenance.php:217 251 #: maintenance.php:223 252 #: maintenance.php:235 253 #: maintenance.php:241 212 254 msgid "Positive integer" 213 255 msgstr "Entero positivo" 214 256 215 #: maintenance.php:1 70257 #: maintenance.php:198 216 258 msgid "Tells Wordpress Popular Posts to retrieve the most popular entries within the time range specified by you" 217 259 msgstr "Le dice a Wordpress Popular Posts que debe traer los posts más populares que estén dentro del tiempo especificado por tí." 218 260 219 #: maintenance.php: 176261 #: maintenance.php:204 220 262 msgid "Sets the sorting option of the popular posts" 221 263 msgstr "Setea el valor por el cual deben ordenarse los posts populares" 222 264 223 #: maintenance.php: 177265 #: maintenance.php:205 224 266 msgid "(for average views per day)" 225 267 msgstr "(vistas promedio por día)" 226 268 227 #: maintenance.php: 182269 #: maintenance.php:210 228 270 msgid "Tells Wordpress Popular Posts whether to consider or not pages while building the popular list" 229 271 msgstr "Le dice a Wordpress Popular Posts si debe considerar o no las páginas mientras construye la lista popular" 230 272 231 #: maintenance.php: 188273 #: maintenance.php:216 232 274 msgid "If set, Wordpress Popular Posts will shorten each post title to \"n\" characters whenever possible" 233 275 msgstr "Si se setea, Wordpress Popular Posts acortará cada título a \"n\" caracteres cuando sea posible" 234 276 235 #: maintenance.php: 194277 #: maintenance.php:222 236 278 msgid "If set, Wordpress Popular Posts will build and include an excerpt of \"n\" characters long from the content of each post listed as popular" 237 279 msgstr "Si se setea, Wordpress Popular Posts construirá e insertará un extracto de \"n\" caracteres de largo del contenido de cada post listado como popular" 238 280 239 #: maintenance.php:2 00281 #: maintenance.php:228 240 282 msgid "If set, Wordpress Popular Posts will exclude all entries that belong to the specified category(ies)." 241 283 msgstr "Si se setea, Wordpress Popular Posts excluirá todas las entradas que pertenezcan a las categorías especificadas." 242 284 243 #: maintenance.php:2 06285 #: maintenance.php:234 244 286 msgid "If set, and if your current server configuration allows it, you will be able to display thumbnails of your posts. This attribute sets the width for thumbnails" 245 287 msgstr "Si se setea, y si la configuración actual de tu servidor lo permite, podrás mostrar miniaturas (thumbnails) de tus posts. Este atributo setea el ancho de las miniaturas" 246 288 247 #: maintenance.php:2 12289 #: maintenance.php:240 248 290 msgid "If set, and if your current server configuration allows it, you will be able to display thumbnails of your posts. This attribute sets the height for thumbnails" 249 291 msgstr "Si se setea, y si la configuración actual de tu servidor lo permite, podrás mostrar miniaturas (thumbnails) de tus posts. Este atributo setea el alto de las miniaturas" 250 292 251 #: maintenance.php:2 18293 #: maintenance.php:246 252 294 msgid "If set, and if the WP-PostRatings plugin is installed and enabled on your blog, Wordpress Popular Posts will show how your visitors are rating your entries" 253 295 msgstr "Si se setea, y si el plugin WP-PostRatings está instalado y activo en tu blog, Wordpress Popular Posts mostrará cómo tus visitantes califican tus entradas" 254 296 255 #: maintenance.php:2 24297 #: maintenance.php:252 256 298 msgid "If set, Wordpress Popular Posts will show how many comments each popular post has got until now" 257 299 msgstr "Si se setea, Wordpress Popular Posts mostrará cuántos comentarios ha obtenido cada post popular hasta ahora" 258 300 259 #: maintenance.php:2 30301 #: maintenance.php:258 260 302 msgid "If set, Wordpress Popular Posts will show how many views each popular post has got since it was installed" 261 303 msgstr "Si se setea, Wordpress Popular Posts mostrará cuántas vistas ha obtenido cada post popular desde que se instaló el plugin" 262 304 263 #: maintenance.php:2 36305 #: maintenance.php:264 264 306 msgid "If set, Wordpress Popular Posts will show who published each popular post on the list" 265 307 msgstr "Si se setea, Wordpress Popular Posts mostrará quién publicó cada uno de los posts populares de la lista" 266 308 267 #: maintenance.php:2 42309 #: maintenance.php:270 268 310 msgid "If set, Wordpress Popular Posts will when each popular post on the list was published" 269 311 msgstr "Si se setea, Wordpress Popular Posts mostraá cuando fue publicado cada post en la lista" 270 312 271 #: maintenance.php:2 48313 #: maintenance.php:276 272 314 msgid "Sets the opening tag for the listing" 273 315 msgstr "Setea la etiqueta de apertura de la lista" 274 316 275 #: maintenance.php:2 54317 #: maintenance.php:282 276 318 msgid "Sets the closing tag for the listing" 277 319 msgstr "Setea la etiqueta de cierre de la lista" 278 320 279 #: maintenance.php:2 60321 #: maintenance.php:288 280 322 msgid "Sets the opening tag for each item on the list" 281 323 msgstr "Setea la etiqueta de apertura de cada item en la lista" 282 324 283 #: maintenance.php:2 66325 #: maintenance.php:294 284 326 msgid "Sets the closing tag for each item on the list" 285 327 msgstr "Setea la etiqueta de cierre de cada item en la lista" 286 328 287 #: maintenance.php: 272329 #: maintenance.php:300 288 330 msgid "If set, this option will allow you to decide the order of the contents within each item on the list." 289 331 msgstr "Si se setea, esta opción te permitirá decidir el orden de los contenidos de cada item en la lista" 290 332 291 #: maintenance.php: 278333 #: maintenance.php:306 292 334 msgid "If set, you can decide the order of each content inside a single item on the list. For example, setting it to \"{title}: {summary}\" would output something like \"Your Post Title: summary here\"" 293 335 msgstr "Si se setea, puedes decidir el orden de los contenidos de cada item en la lista. Por ejemplo, configurarlo como \"{title}: {summary}\" mostraría algo como \"Tu título: extracto del post aquí\" " 294 336 295 #: maintenance.php: 279337 #: maintenance.php:307 296 338 msgid "Available tags" 297 339 msgstr "Etiquetas disponibles" 298 340 299 #: maintenance.php: 287341 #: maintenance.php:315 300 342 msgid "Maintenance Settings" 301 343 msgstr "Opciones de Mantenimiento" 302 344 303 #: maintenance.php: 288345 #: maintenance.php:316 304 346 msgid "Wordpress Popular Posts keeps historical data of your most popular entries for up to 30 days. If for some reason you need to clear the cache table, or even both historical and cache tables, please use the buttons below to do so." 305 347 msgstr "Wordpress Popular Posts guarda data histórica de tus posts más populares por hasta 30 días. Si por alguna razón necesitas limpiar el cache, o inclusive tanto el cache como la tabla histórica, por favor utiliza los botones de abajo." 306 348 307 #: maintenance.php: 291349 #: maintenance.php:319 308 350 msgid "Empty cache" 309 351 msgstr "Vaciar cache" 310 352 311 #: maintenance.php: 292353 #: maintenance.php:320 312 354 msgid "Use this button to manually clear entries from WPP cache only" 313 355 msgstr "Utiliza este botón para limpiar manualmente todas las entradas del cache de Wordpress Popular Posts" 314 356 315 #: maintenance.php: 298357 #: maintenance.php:326 316 358 msgid "Clear all data" 317 359 msgstr "Eliminar toda la data" 318 360 319 #: maintenance.php: 299361 #: maintenance.php:327 320 362 msgid "Use this button to manually clear entries from all WPP data tables" 321 363 msgstr "Utiliza este botón para limpiar toda la data de Wordpress Popular Posts" 322 364 323 #: maintenance.php:3 07365 #: maintenance.php:335 324 366 msgid "Do you like this plugin?" 325 367 msgstr "¿Te gusta este plugin?" 326 368 327 #: maintenance.php:3 07369 #: maintenance.php:335 328 370 msgid "Rate Wordpress Popular Posts!" 329 371 msgstr "¡Califica Wordpress Popular Posts!" 330 372 331 #: maintenance.php:3 07373 #: maintenance.php:335 332 374 msgid "Rate it 5" 333 375 msgstr "¡Dale un 5" 334 376 335 #: maintenance.php:3 07377 #: maintenance.php:335 336 378 msgid "on the official Plugin Directory!" 337 379 msgstr "en el directorio oficial de plugins!" 338 380 339 #: maintenance.php:3 08381 #: maintenance.php:336 340 382 msgid "Do you love this plugin?" 341 383 msgstr "¿Te encanta este plugin?" 342 384 343 #: maintenance.php:3 08344 #: maintenance.php:3 09385 #: maintenance.php:336 386 #: maintenance.php:337 345 387 msgid "Buy me a beer!" 346 388 msgstr "¡Cómprame una cerveza!" 347 389 348 #: maintenance.php:3 08390 #: maintenance.php:336 349 391 msgid "Each donation motivates me to keep releasing free stuff for the Wordpress community!" 350 392 msgstr "¡Cada donativo me motiva a seguir contribuyendo con la comunidad Wordpress!" … … 532 574 msgstr "Lo lamento, no hay información aún." 533 575 534 #: wordpress-popular-posts.php:55 0576 #: wordpress-popular-posts.php:552 535 577 msgid " comment(s)" 536 578 msgstr "comentario(s)" 537 579 538 #: wordpress-popular-posts.php:55 3580 #: wordpress-popular-posts.php:555 539 581 msgid " view(s)" 540 582 msgstr "vista(s)" 541 583 542 #: wordpress-popular-posts.php:5 58584 #: wordpress-popular-posts.php:560 543 585 msgid " view(s) per day" 544 586 msgstr "vista(s) por día" 545 587 546 #: wordpress-popular-posts.php: 740588 #: wordpress-popular-posts.php:865 547 589 msgid "Your Wordpress version is too old. Wordpress Popular Posts Plugin requires at least version 2.8 to function correctly. Please update your blog via Tools > Upgrade." 548 590 msgstr "Tu versión de Wordpress es muy antigua. El plugin Wordpress Popular Posts requiere al menos la versión 2.8 para funcionar correctamente. Por favor actualiza tu blog via Herramientas > Actualizar." -
wordpress-popular-posts/trunk/wordpress-popular-posts.php
r194270 r196376 4 4 Plugin URI: http://rauru.com/wordpress-popular-posts 5 5 Description: Retrieves the most active entries of your blog and displays them with your own formatting (<em>optional</em>). Use it as a widget or place it in your templates using <strong><?php get_mostpopular(); ?></strong> 6 Version: 2.0. 06 Version: 2.0.1 7 7 Author: Héctor Cabrera 8 8 Author URI: http://rauru.com/ … … 26 26 class WordpressPopularPosts extends WP_Widget { 27 27 // plugin global variables 28 var $version = "2.0. 0";28 var $version = "2.0.1"; 29 29 var $qTrans = false; 30 30 var $postRating = false; … … 399 399 </script> 400 400 <!-- End Wordpress Popular Posts v<?php echo $this->version; ?> --> 401 <?php 401 <?php 402 402 } 403 403 } … … 527 527 $data = array(); 528 528 529 // qTranslate integration check 529 // get post title 530 /* qTranslate integration check */ 530 531 ($this->qTrans) ? $tit = qtrans_useCurrentLanguageIfNotFoundUseDefaultLanguage($wppost->post_title) : $tit = $wppost->post_title; 531 532 532 533 if ( $instance['shorten_title']['active'] && (strlen($tit) > $instance['shorten_title']['length'])) { 533 $post_title = "<span class=\"wpp-post-title\">" . substr(htmlspecialchars(stripslashes($tit)),0,$instance['shorten_title']['length']) . "...</span>"; 534 } else { 535 $post_title = "<span class=\"wpp-post-title\">" . htmlspecialchars(stripslashes($tit)) . "</span>"; 536 } 534 $tit = $this->truncate($tit, $instance['shorten_title']['length'] + 3, '', true, true) . "..."; 535 } 536 $post_title = "<span class=\"wpp-post-title\">" . stripslashes($tit) . "</span>"; 537 537 538 // get post excerpt 538 539 if ( $instance['post-excerpt']['active'] ) { 539 540 if ($instance['markup']['pattern']['active']) { … … 546 547 } 547 548 549 // build stats tag 548 550 if ( $instance['stats_tag']['comment_count'] ) { 549 551 $comment_count = (int) $wppost->comment_count; … … 561 563 } 562 564 563 if ($post_stats != " ") {565 if ($post_stats != "") { 564 566 $post_stats .= " | <span class=\"wpp-views\">$pageviews $views_text</span>"; 565 567 } else { … … 568 570 } 569 571 if ( $instance['stats_tag']['author'] ) { 570 if ($post_stats != " ") {572 if ($post_stats != "") { 571 573 $post_stats .= " | by <span class=\"wpp-author\">".$wppost->display_name."</span>"; 572 574 } else { … … 575 577 } 576 578 if ( $instance['stats_tag']['date'] ) { 577 if ($post_stats != " ") {579 if ($post_stats != "") { 578 580 $post_stats .= " | <span class=\"wpp-date\">posted on ".date("F, j",strtotime($wppost->date_gmt))."</span>"; 579 581 } else { … … 586 588 } 587 589 590 // get thumbnail 588 591 if ($instance['thumbnail']['active'] && $this->thumb ) { 589 592 // let's try to retrieve the first image of the current post … … 597 600 } 598 601 602 // get rating 599 603 if ($instance['rating'] && $this->postRating) { 600 604 $rating = '<span class="wpp-rating">'.the_ratings_results($wppost->ID).'</span>'; … … 611 615 ); 612 616 613 617 // build custom layout 614 618 if ($instance['markup']['custom_html']) { 615 619 if ($instance['markup']['pattern']['active']) { … … 637 641 function get_summary($id, $instance){ 638 642 if (!is_numeric($id)) return false; 639 global $wpdb; 640 $excerpt = $wpdb->get_results("SELECT post_excerpt FROM $wpdb->posts WHERE ID = " . $id, ARRAY_A); 641 if (empty($excerpt[0]['post_excerpt'])) { 642 $excerpt = $wpdb->get_results("SELECT post_content FROM $wpdb->posts WHERE ID = " . $id, ARRAY_A); 643 $excerpt[0]['post_content'] = preg_replace("/\[caption.*\[\/caption\]/", "", $excerpt[0]['post_content']); 644 return substr(strip_tags($excerpt[0]['post_content']), 0, $instance['post-excerpt']['length']); 643 global $wpdb; 644 $excerpt = ""; 645 $result = ""; 646 647 $result = $wpdb->get_results("SELECT post_excerpt FROM $wpdb->posts WHERE ID = " . $id, ARRAY_A); 648 649 if (empty($result[0]['post_excerpt'])) { 650 // no custom excerpt defined, how lazy of you! 651 652 $result = $wpdb->get_results("SELECT post_content FROM $wpdb->posts WHERE ID = " . $id, ARRAY_A); 653 $excerpt = preg_replace("/\[caption.*\[\/caption\]/", "", $result[0]['post_content']); 645 654 } else { 646 $excerpt[0]['post_excerpt'] = preg_replace("/\[caption.*\[\/caption\]/", "", $excerpt[0]['post_excerpt']);; 647 return substr(strip_tags($excerpt[0]['post_excerpt']), 0, $instance['post-excerpt']['length']); 648 } 655 // user has defined a custom excerpt, yay! 656 $excerpt = preg_replace("/\[caption.*\[\/caption\]/", "", $result[0]['post_excerpt']); 657 } 658 659 if (strlen($excerpt) <= $instance['post-excerpt']['length']) { 660 $excerpt = strip_tags($excerpt, '<a><b><i><strong><em>'); 661 } else { 662 $excerpt = $this->truncate($excerpt, $instance['post-excerpt']['length'], '', true, true); 663 } 664 665 return $excerpt; 649 666 } 650 667 … … 660 677 $source = strip_tags($raw[0]["post_content"], "<img>"); 661 678 662 $count = substr_count($source, '<img'); 679 $count = substr_count($source, '<img'); 663 680 664 681 if ($count > 0) { // images have been found 665 $p = substr( $source, strpos($source, "<img", 0), (strpos($source, '>') - strpos($source, "<img", 0) + 1) ); 682 $p = substr( $source, strpos($source, "<img", 0), (strpos($source, '>') - strpos($source, "<img", 0) + 1) ); 666 683 667 684 $img_pattern = '/<\s*img [^\>]*src\s*=\s*[\""\']?([^\""\'\s>]*)/i'; … … 716 733 717 734 return $string; 735 } 736 737 // code seen at http://www.gsdesign.ro/blog/cut-html-string-without-breaking-the-tags/ 738 // slightly modified by Hector Cabrera 739 // Since 2.0.1 740 /** 741 * Truncates text. 742 * 743 * Cuts a string to the length of $length and replaces the last characters 744 * with the ending if the text is longer than length. 745 * 746 * @param string $text String to truncate. 747 * @param integer $length Length of returned string, including ellipsis. 748 * @param string $ending Ending to be appended to the trimmed string. 749 * @param boolean $exact If false, $text will not be cut mid-word 750 * @param boolean $considerHtml If true, HTML tags would be handled correctly 751 * @return string Trimmed string. 752 */ 753 function truncate($text, $length = 100, $ending = '...', $exact = true, $considerHtml = false) { 754 if ($considerHtml) { 755 // if the plain text is shorter than the maximum length, return the whole text 756 if (strlen(preg_replace('/<.*?>/', '', $text)) <= $length) { 757 return $text; 758 } 759 // splits all html-tags to scanable lines 760 preg_match_all('/(<.+?>)?([^<>]*)/s', $text, $lines, PREG_SET_ORDER); 761 $total_length = strlen($ending); 762 $open_tags = array(); 763 $truncate = ''; 764 foreach ($lines as $line_matchings) { 765 // if there is any html-tag in this line, handle it and add it (uncounted) to the output 766 if (!empty($line_matchings[1])) { 767 // if it's an "empty element" with or without xhtml-conform closing slash (f.e. <br/>) 768 if (preg_match('/^<(\s*.+?\/\s*|\s*(img|br|input|hr|area|base|basefont|col|frame|isindex|link|meta|param)(\s.+?)?)>$/is', $line_matchings[1])) { 769 // do nothing 770 // if tag is a closing tag (f.e. </b>) 771 } else if (preg_match('/^<\s*\/([^\s]+?)\s*>$/s', $line_matchings[1], $tag_matchings)) { 772 // delete tag from $open_tags list 773 $pos = array_search($tag_matchings[1], $open_tags); 774 if ($pos !== false) { 775 unset($open_tags[$pos]); 776 } 777 // if tag is an opening tag (f.e. <b>) 778 } else if (preg_match('/^<\s*([^\s>!]+).*?>$/s', $line_matchings[1], $tag_matchings)) { 779 // add tag to the beginning of $open_tags list 780 array_unshift($open_tags, strtolower($tag_matchings[1])); 781 } 782 // add html-tag to $truncate'd text 783 $truncate .= $line_matchings[1]; 784 } 785 // calculate the length of the plain text part of the line; handle entities as one character 786 $content_length = strlen(preg_replace('/&[0-9a-z]{2,8};|&#[0-9]{1,7};|&#x[0-9a-f]{1,6};/i', ' ', $line_matchings[2])); 787 if ($total_length+$content_length> $length) { 788 // the number of characters which are left 789 $left = $length - $total_length; 790 $entities_length = 0; 791 // search for html entities 792 if (preg_match_all('/&[0-9a-z]{2,8};|&#[0-9]{1,7};|&#x[0-9a-f]{1,6};/i', $line_matchings[2], $entities, PREG_OFFSET_CAPTURE)) { 793 // calculate the real length of all entities in the legal range 794 foreach ($entities[0] as $entity) { 795 if ($entity[1]+1-$entities_length <= $left) { 796 $left--; 797 $entities_length += strlen($entity[0]); 798 } else { 799 // no more characters left 800 break; 801 } 802 } 803 } 804 $truncate .= substr($line_matchings[2], 0, $left+$entities_length); 805 // maximum lenght is reached, so get off the loop 806 break; 807 } else { 808 $truncate .= $line_matchings[2]; 809 $total_length += $content_length; 810 } 811 // if the maximum length is reached, get off the loop 812 if($total_length>= $length) { 813 break; 814 } 815 } 816 } else { 817 if (strlen($text) <= $length) { 818 return $text; 819 } else { 820 //$truncate = substr($text, 0, $length - strlen($ending)); 821 $truncate = substr($text, 0, $length); // modified by Hector Cabrera 822 } 823 } 824 // if the words shouldn't be cut in the middle... 825 if (!$exact) { 826 // ...search the last occurance of a space... 827 $spacepos = strrpos($truncate, ' '); 828 if (isset($spacepos)) { 829 // ...and cut the text in this position 830 $truncate = substr($truncate, 0, $spacepos); 831 } 832 } 833 // add the defined ending to the text 834 $truncate .= $ending; 835 if($considerHtml) { 836 // close all unclosed html-tags 837 foreach ($open_tags as $tag) { 838 $truncate .= '</' . $tag . '>'; 839 } 840 $truncate = strip_tags($truncate, '<a><b><i><strong><em>'); // added by Hector Cabrera 841 } 842 return $truncate; 718 843 } 719 844 … … 790 915 'do_pattern' => false, 791 916 'pattern_form' => '{image} {title}: {summary} {stats}' 792 ), $atts ) ); 917 ), $atts ) ); 793 918 794 919 $shortcode_ops = array( 795 920 'title' => strip_tags($header), 796 921 'limit' => empty($limit) ? 10 : (is_numeric($limit)) ? (($limit > 0) ? $limit : 10) : 10, 797 'range' => empty($range) ? 'daily' : ($range != 'daily' || $range =! 'weekly' || $range =! 'monthly' || $range = 'all') ? 'daily' :$range,922 'range' => empty($range) ? 'daily' : $range, 798 923 'order_by' => empty($order_by) ? 'comments' : ($order_by != 'comments' || $order_by =! 'views' || $order_by =! 'avg') ? 'comments' : $range, 799 924 'pages' => empty($pages) ? false : $pages, … … 817 942 'rating' => empty($rating) ? false : is_bool($rating) ? $rating : false, 818 943 'stats_tag' => array( 819 'comment_count' => empty($stats_comments) ? true : $stats_comments,944 'comment_count' => empty($stats_comments) ? false : $stats_comments, 820 945 'views' => empty($stats_views) ? false : $stats_views, 821 946 'author' => empty($stats_author) ? false : $stats_author, … … 843 968 844 969 // print popular posts list 845 echo $this->get_popular_posts($shortcode_ops, false); 970 echo $this->get_popular_posts($shortcode_ops, false); 846 971 847 972 } … … 850 975 851 976 /** 852 * Wordpress Popular Posts functions for use in themes.977 * Wordpress Popular Posts template tags for use in themes. 853 978 */ 854 979 … … 872 997 } 873 998 999 // gets popular posts 1000 function get_mostpopular($args = NULL) { 1001 1002 if (is_null($args)) { 1003 return do_shortcode('[wpp]'); 1004 } else { 1005 $atts = trim(str_replace("&", " ", $args)); 1006 return do_shortcode('[wpp '.$atts.']'); 1007 } 1008 } 1009 1010 874 1011 /** 875 * Wordpress Popular Posts 2.0. 0Changelog.1012 * Wordpress Popular Posts 2.0.1 Changelog. 876 1013 */ 877 878 /* 879 = 2.0.0 = 880 * Plugin rewritten to support Multi-Widget capabilities 881 * Cache table implemented 882 * Shortcode support added 883 * Category exclusion feature added 884 * Ajax update added - plugin is now compatible with caching plugins such as WP Super Cache 885 * Thumbnail feature improved - some bugs were fixed, too 886 * Maintenance page added 1014 1015 /* 1016 = 2.0.1 = 1017 * Post title excerpt now includes html entities. Characters like AÄÖ should display properly now. 1018 * Post excerpt has been improved. Now it supports the following HTML tags: <a><b><i><strong><em>. 1019 * Template tag wpp_get_views() added. Retrieves the views count of a single post. 1020 * Template tag get_mostpopular() re-added. Parameter support included. 1021 * Shortcode bug fixed (range was always "daily" no matter what option was being selected by the user). 887 1022 */ -
wordpress-popular-posts/trunk/wordpress-popular-posts.po
r194265 r196376 3 3 "Project-Id-Version: Wordpress Popular Posts\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 2010-01- 15 11:07-0430\n"5 "POT-Creation-Date: 2010-01-21 15:15-0430\n" 6 6 "PO-Revision-Date: \n" 7 7 "Last-Translator: Héctor Cabrera <[email protected]>\n" … … 147 147 148 148 #: maintenance.php:130 149 msgid "What are \"Template Tags\"?" 150 msgstr "" 151 152 #: maintenance.php:132 153 msgid "Template Tags are simply php functions that allow you to perform certain actions. For example, Wordpress Popular Posts currently supports two different template tags: get_mostpopular() and wpp_get_views()." 154 msgstr "" 155 156 #: maintenance.php:134 157 msgid "What are the template tags that Wordpress Popular Posts supports?" 158 msgstr "" 159 160 #: maintenance.php:136 161 msgid "The following are the template tags supported by Wordpress Popular Posts:" 162 msgstr "" 163 164 #: maintenance.php:139 165 msgid "Template tag" 166 msgstr "" 167 168 #: maintenance.php:140 169 #: maintenance.php:168 170 msgid "What it does " 171 msgstr "" 172 173 #: maintenance.php:141 174 msgid "Parameters" 175 msgstr "" 176 177 #: maintenance.php:142 178 #: maintenance.php:170 179 msgid "Example" 180 msgstr "" 181 182 #: maintenance.php:146 183 msgid "Similar to the widget functionality, this tag retrieves the most popular posts on your blog. While it can be customized via parameters, these are not needed for it to work." 184 msgstr "" 185 186 #: maintenance.php:147 187 msgid "Please refer to \"What attributes does Wordpress Popular Posts shortcode [wpp] have?\"" 188 msgstr "" 189 190 #: maintenance.php:152 191 msgid "Displays the number of views of a single post. Post ID required, or it will return false." 192 msgstr "" 193 194 #: maintenance.php:153 195 msgid "Post ID" 196 msgstr "" 197 198 #: maintenance.php:158 149 199 msgid "What are \"shortcodes\"?" 150 200 msgstr "" 151 201 152 #: maintenance.php:1 32202 #: maintenance.php:160 153 203 msgid "Shortcodes are hooks that allow us to call a php function by simply typing something like [shortcode]. With Wordpress Popular Posts, the shortcode [wpp] will let you insert a list of the most popular posts in posts content and pages too! For more information about shortcodes, please visit" 154 204 msgstr "" 155 205 156 #: maintenance.php:1 34206 #: maintenance.php:162 157 207 msgid "What attributes does Wordpress Popular Posts shortcode [wpp] have?" 158 208 msgstr "" 159 209 160 #: maintenance.php:1 36161 msgid "There are a number of attributes Wordpress Popular Posts currently supports "162 msgstr "" 163 164 #: maintenance.php:1 39210 #: maintenance.php:164 211 msgid "There are a number of attributes Wordpress Popular Posts currently supports:" 212 msgstr "" 213 214 #: maintenance.php:167 165 215 msgid "Attributes" 166 216 msgstr "" 167 217 168 #: maintenance.php:140 169 msgid "What it does " 170 msgstr "" 171 172 #: maintenance.php:141 218 #: maintenance.php:169 173 219 msgid "Possible values" 174 220 msgstr "" 175 221 176 #: maintenance.php:142 177 msgid "Example" 178 msgstr "" 179 180 #: maintenance.php:146 222 #: maintenance.php:174 181 223 msgid "Sets a heading for the list" 182 224 msgstr "" 183 225 184 #: maintenance.php:1 47185 #: maintenance.php:1 53186 #: maintenance.php:1 59187 #: maintenance.php:2 01188 #: maintenance.php:2 49189 #: maintenance.php:2 55190 #: maintenance.php:2 61191 #: maintenance.php:2 67226 #: maintenance.php:175 227 #: maintenance.php:181 228 #: maintenance.php:187 229 #: maintenance.php:229 230 #: maintenance.php:277 231 #: maintenance.php:283 232 #: maintenance.php:289 233 #: maintenance.php:295 192 234 msgid "Text string" 193 235 msgstr "" 194 236 195 #: maintenance.php:1 52237 #: maintenance.php:180 196 238 msgid "Set the opening tag for the heading of the list" 197 239 msgstr "" 198 240 199 #: maintenance.php:1 58241 #: maintenance.php:186 200 242 msgid "Set the closing tag for the heading of the list" 201 243 msgstr "" 202 244 203 #: maintenance.php:1 64245 #: maintenance.php:192 204 246 msgid "Sets the maximum number of popular posts to be shown on the listing" 205 247 msgstr "" 206 248 207 #: maintenance.php:1 65208 #: maintenance.php: 189209 #: maintenance.php: 195210 #: maintenance.php:2 07211 #: maintenance.php:2 13249 #: maintenance.php:193 250 #: maintenance.php:217 251 #: maintenance.php:223 252 #: maintenance.php:235 253 #: maintenance.php:241 212 254 msgid "Positive integer" 213 255 msgstr "" 214 256 215 #: maintenance.php:1 70257 #: maintenance.php:198 216 258 msgid "Tells Wordpress Popular Posts to retrieve the most popular entries within the time range specified by you" 217 259 msgstr "" 218 260 219 #: maintenance.php: 176261 #: maintenance.php:204 220 262 msgid "Sets the sorting option of the popular posts" 221 263 msgstr "" 222 264 223 #: maintenance.php: 177265 #: maintenance.php:205 224 266 msgid "(for average views per day)" 225 267 msgstr "" 226 268 227 #: maintenance.php: 182269 #: maintenance.php:210 228 270 msgid "Tells Wordpress Popular Posts whether to consider or not pages while building the popular list" 229 271 msgstr "" 230 272 231 #: maintenance.php: 188273 #: maintenance.php:216 232 274 msgid "If set, Wordpress Popular Posts will shorten each post title to \"n\" characters whenever possible" 233 275 msgstr "" 234 276 235 #: maintenance.php: 194277 #: maintenance.php:222 236 278 msgid "If set, Wordpress Popular Posts will build and include an excerpt of \"n\" characters long from the content of each post listed as popular" 237 279 msgstr "" 238 280 239 #: maintenance.php:2 00281 #: maintenance.php:228 240 282 msgid "If set, Wordpress Popular Posts will exclude all entries that belong to the specified category(ies)." 241 283 msgstr "" 242 284 243 #: maintenance.php:2 06285 #: maintenance.php:234 244 286 msgid "If set, and if your current server configuration allows it, you will be able to display thumbnails of your posts. This attribute sets the width for thumbnails" 245 287 msgstr "" 246 288 247 #: maintenance.php:2 12289 #: maintenance.php:240 248 290 msgid "If set, and if your current server configuration allows it, you will be able to display thumbnails of your posts. This attribute sets the height for thumbnails" 249 291 msgstr "" 250 292 251 #: maintenance.php:2 18293 #: maintenance.php:246 252 294 msgid "If set, and if the WP-PostRatings plugin is installed and enabled on your blog, Wordpress Popular Posts will show how your visitors are rating your entries" 253 295 msgstr "" 254 296 255 #: maintenance.php:2 24297 #: maintenance.php:252 256 298 msgid "If set, Wordpress Popular Posts will show how many comments each popular post has got until now" 257 299 msgstr "" 258 300 259 #: maintenance.php:2 30301 #: maintenance.php:258 260 302 msgid "If set, Wordpress Popular Posts will show how many views each popular post has got since it was installed" 261 303 msgstr "" 262 304 263 #: maintenance.php:2 36305 #: maintenance.php:264 264 306 msgid "If set, Wordpress Popular Posts will show who published each popular post on the list" 265 307 msgstr "" 266 308 267 #: maintenance.php:2 42309 #: maintenance.php:270 268 310 msgid "If set, Wordpress Popular Posts will when each popular post on the list was published" 269 311 msgstr "" 270 312 271 #: maintenance.php:2 48313 #: maintenance.php:276 272 314 msgid "Sets the opening tag for the listing" 273 315 msgstr "" 274 316 275 #: maintenance.php:2 54317 #: maintenance.php:282 276 318 msgid "Sets the closing tag for the listing" 277 319 msgstr "" 278 320 279 #: maintenance.php:2 60321 #: maintenance.php:288 280 322 msgid "Sets the opening tag for each item on the list" 281 323 msgstr "" 282 324 283 #: maintenance.php:2 66325 #: maintenance.php:294 284 326 msgid "Sets the closing tag for each item on the list" 285 327 msgstr "" 286 328 287 #: maintenance.php: 272329 #: maintenance.php:300 288 330 msgid "If set, this option will allow you to decide the order of the contents within each item on the list." 289 331 msgstr "" 290 332 291 #: maintenance.php: 278333 #: maintenance.php:306 292 334 msgid "If set, you can decide the order of each content inside a single item on the list. For example, setting it to \"{title}: {summary}\" would output something like \"Your Post Title: summary here\"" 293 335 msgstr "" 294 336 295 #: maintenance.php: 279337 #: maintenance.php:307 296 338 msgid "Available tags" 297 339 msgstr "" 298 340 299 #: maintenance.php: 287341 #: maintenance.php:315 300 342 msgid "Maintenance Settings" 301 343 msgstr "" 302 344 303 #: maintenance.php: 288345 #: maintenance.php:316 304 346 msgid "Wordpress Popular Posts keeps historical data of your most popular entries for up to 30 days. If for some reason you need to clear the cache table, or even both historical and cache tables, please use the buttons below to do so." 305 347 msgstr "" 306 348 307 #: maintenance.php: 291349 #: maintenance.php:319 308 350 msgid "Empty cache" 309 351 msgstr "" 310 352 311 #: maintenance.php: 292353 #: maintenance.php:320 312 354 msgid "Use this button to manually clear entries from WPP cache only" 313 355 msgstr "" 314 356 315 #: maintenance.php: 298357 #: maintenance.php:326 316 358 msgid "Clear all data" 317 359 msgstr "" 318 360 319 #: maintenance.php: 299361 #: maintenance.php:327 320 362 msgid "Use this button to manually clear entries from all WPP data tables" 321 363 msgstr "" 322 364 323 #: maintenance.php:3 07365 #: maintenance.php:335 324 366 msgid "Do you like this plugin?" 325 367 msgstr "" 326 368 327 #: maintenance.php:3 07369 #: maintenance.php:335 328 370 msgid "Rate Wordpress Popular Posts!" 329 371 msgstr "" 330 372 331 #: maintenance.php:3 07373 #: maintenance.php:335 332 374 msgid "Rate it 5" 333 375 msgstr "" 334 376 335 #: maintenance.php:3 07377 #: maintenance.php:335 336 378 msgid "on the official Plugin Directory!" 337 379 msgstr "" 338 380 339 #: maintenance.php:3 08381 #: maintenance.php:336 340 382 msgid "Do you love this plugin?" 341 383 msgstr "" 342 384 343 #: maintenance.php:3 08344 #: maintenance.php:3 09385 #: maintenance.php:336 386 #: maintenance.php:337 345 387 msgid "Buy me a beer!" 346 388 msgstr "" 347 389 348 #: maintenance.php:3 08390 #: maintenance.php:336 349 391 msgid "Each donation motivates me to keep releasing free stuff for the Wordpress community!" 350 392 msgstr "" … … 532 574 msgstr "" 533 575 534 #: wordpress-popular-posts.php:55 0576 #: wordpress-popular-posts.php:552 535 577 msgid " comment(s)" 536 578 msgstr "" 537 579 538 #: wordpress-popular-posts.php:55 3580 #: wordpress-popular-posts.php:555 539 581 msgid " view(s)" 540 582 msgstr "" 541 583 542 #: wordpress-popular-posts.php:5 58584 #: wordpress-popular-posts.php:560 543 585 msgid " view(s) per day" 544 586 msgstr "" 545 587 546 #: wordpress-popular-posts.php: 740588 #: wordpress-popular-posts.php:865 547 589 msgid "Your Wordpress version is too old. Wordpress Popular Posts Plugin requires at least version 2.8 to function correctly. Please update your blog via Tools > Upgrade." 548 590 msgstr ""
Note: See TracChangeset
for help on using the changeset viewer.