Coder Social home page Coder Social logo

cabrerahector / wordpress-popular-posts Goto Github PK

View Code? Open in Web Editor NEW
279.0 13.0 83.0 7.84 MB

WordPress Popular Posts - A highly customizable WordPress widget that displays your most popular posts.

Home Page: https://wordpress.org/plugins/wordpress-popular-posts/

License: GNU General Public License v2.0

PHP 77.65% JavaScript 14.47% CSS 7.88%
wordpress wpp wordpress-widget popularity popular posts wordpress-plugin wordpress-block

wordpress-popular-posts's Introduction

WordPress Popular Posts

A highly customizable widget that displays your most popular posts.


Table of contents

Description

WordPress Popular Posts (from now on, just WPP) is a highly customizable widget to showcase the most commented / viewed entries on your WordPress powered site.

Features

  • Multi-widget capable - You can have several WordPress Popular Posts widgets on your blog, each with its own settings!
  • Time Range - List those posts of your blog that have been the most popular ones within a specific time range (eg. last 24 hours, last 7 days, last 30 days, etc)!
  • Custom Post-type support - Want to show other stuff than just posts and pages, eg. Popular Products? You can!
  • Thumbnails! - Display a thumbnail of your posts! (see the FAQ section for more details.)
  • Statistics dashboard - See how your popular posts are doing directly from your admin area.
  • Sorting options - Order your popular list by comments, views (default) or average views per day!
  • Custom themes - Out of the box, WordPress Popular Posts includes some themes so you can style your popular posts list (see Widget Themes for more details).
  • Use your own layout! - WPP is flexible enough to let you customize the look and feel of your popular posts! (see customizing WPP's HTML markup and How to style WordPress Popular Posts for more.)
  • Advanced caching features! - WordPress Popular Posts includes a few options to make sure your site's performance stays as good as ever! (see Performance for more details.)
  • REST API Support - Embed your popular posts in your (web) app! (see REST API Endpoints for more.)
  • Disqus support - Sort your popular posts by Disqus comments count!
  • Polylang & WPML 3.2+ support - Show the translated version of your popular posts!
  • WordPress Multisite support - Each site on the network can have its own popular posts list!
  • Shortcode support - Use the [wpp] shortcode to showcase your most popular posts on pages, too! For usage and instructions, please refer to the Usage section.
  • Template tags - Don't feel like using widgets? No problem! You can still embed your most popular entries on your theme using the wpp_get_mostpopular() template tag. Additionally, the wpp_get_views() template tag allows you to retrieve the views count for a particular post. For usage and instructions, please refer to the Usage section.
  • Localization - Translate WPP into your own language.
  • WP-PostRatings support - Show your visitors how your readers are rating your posts!

Looking for a Recent Posts widget just as featured-packed as WordPress Popular Posts? Try Recently!

Requirements

  • WordPress 5.3 or newer.
  • PHP 7.2 or newer.
  • Mbstring PHP Extension.
  • Since WordPress Popular Posts writes constantly to the database to keep track of page views, InnoDB support is required.

Installation

Automatic installation

  1. Log in into your WordPress dashboard.
  2. Go to Plugins > Add New.
  3. In the "Search Plugins" field, type in WordPress Popular Posts and hit Enter.
  4. Find the plugin in the search results list and click on the "Install Now" button.

Manual installation

  1. Download the plugin and extract its contents.
  2. Upload the wordpress-popular-posts folder to the /wp-content/plugins/ directory.
  3. Activate the WordPress Popular Posts plugin through the "Plugins" menu in WordPress.

Done! What's next?

  1. Go to Appearance > Widgets, drag and drop the WordPress Popular Posts widget to your sidebar. Once you're done configuring it, hit the Save button.
  2. If you have a caching plugin installed on your site, flush its cache now so WPP can start tracking your site.
  3. If you have a plugin that minifies JavaScript (JS) installed on your site please read this FAQ: Is WordPress Popular Posts compatible with plugins that minify/bundle JavaScript code?
  4. If you have a security / firewall plugin installed on your site, make sure you allow WPP access to the REST API so it can start tracking your site.
  5. Go to Appearance > Editor. Under "Templates", click on header.php and make sure that the <?php wp_head(); ?> tag is present (should be right before the closing </head> tag).
  6. (Optional but highly recommended) Are you running a medium/high traffic site? If so, it might be a good idea to check these suggestions to make sure your site's performance stays up to par.

That's it!

Usage

WordPress Popular Posts can be used in three different ways:

  1. If you're using the Block Editor you can insert a WordPress Popular Posts block on your sidebar and even anywhere within your posts and pages.
  2. As a template tag: you can place it anywhere on your theme with wpp_get_mostpopular().
  3. Via shortcode, so you can embed it inside a post or a page.

... and there's even more on the Wiki section, so make sure to stop by!

Support

Before submitting an issue, please:

  1. Read the documentation, it's there for a reason. Links: Requirements | Installation | Wiki | Frequently asked questions.
  2. If it's a bug, please check the issue tracker first make sure no one has reported it already.

When submitting an issue, please make sure to include the following:

  1. WordPress version.
  2. WPP version.
  3. Are you using the widget or the shortcode/template tag?
  4. Describe what the issue is (include steps to reproduce it, if necessary).

Contributing

License

GNU General Public License version 2 or later

Copyright (C) 2008-2024 Héctor Cabrera - https://cabrerahector.com

The WordPress Popular Posts plugin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

The WordPress Popular Posts plugin is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with the WordPress Popular Posts plugin; if not, see http://www.gnu.org/licenses.

wordpress-popular-posts's People

Contributors

artemgordinskiy avatar bftrick avatar blackwhitepanda avatar c2nprds avatar cabrerahector avatar cawa-93 avatar chouby avatar hansfn avatar ixkaito avatar johnwatkins0 avatar kurtpayne avatar limestreet avatar matsuoshi avatar phibo23 avatar quartarian avatar rilwis avatar serglopatin avatar thisislawatts avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wordpress-popular-posts's Issues

Plural form for "X comment(s)"

Hi there,

I just needed to translate the "X comment(s)" stats string in French, so I opened the .PO file and translated the string (singular and plural).

Unfortunately, when there is no (0) comment, the plural form is used instead of the singular.

Is there any easy way to fix that ?

Thanks for your work !

WPML | WPP is storing post/page ID as 0 when updating views count

From WordPress' forums (link):

There is also one "error" for WPML support line 1289, in the __update_views() function:
If no posts was created in the original/default language, the var $id = 0 so the function inserts 0 for postid in the WPP tables.

I think the line should be:
$id = icl_object_id( $id, get_post_type( $id ), true, $sitepress->get_default_language() );

Result would be different only when the widget was set to show based on "views"

Hi Hector

I noticed a weird behavior with WPP widget on our word press home page.

When the WPP widget set to show most popular "posts" of the week by pageviews , the result in admin area/our GA is different than the one shown in widget area and the widget result was incorrect.

Interestingly this wouldn't happen if instead of "posts" i put "posts,page" in the "post type" section. Or if the criteria is "comment" or "avg daily visit". This made me curious to see what's causing this, and I figured below:

-When post_type is "post,page" the query generated ends like this
WHERE p.post_type IN('post','page' AND p.post_password = '' AND p.post_status = 'publish' LIMIT 8

-When post_type is "post" the query generated ends like this
WHERE p.post_type= 'post' AND p.post_password = '' AND p.post_status = 'publish' LIMIT 8

The first one return result sorted by pageviews, hence gives the correct results, the second doesn't so it gives the first 8 rows of the join results which is useless, I am not sure why this happen!

I've checked wp_posts and there is no Null value in the post_type or any data inconsistency.

To resolve I've added the following under the line 1053 to the wordpress-popular-posts.php and this causes the result in admin page and widget page be alike.

                if ( $instance['order_by'] == "views" ) {
                    $from .= " ORDER BY pageviews DESC ";
                }

Would be great if you share your thoughts on this.

Thanks
Hassan Kakh

Two different blog and two different feedback

Hi,
Thank you for your awesome plugin!

So...I am using this on www.automotivespace.it and you can see I haven't any problems!

But in www.automotivespace.eu I am using in two different widget and I have two different problem.

  1. MOST COMMENTED WIDGET: I have 0 comments for every post...and this is not true

  2. THE MOST READ POST WIDGET: I have more visits than the real visits.

I have setted .eu like .it

Could you help me? I have this problem from many time and I tried different setting but without any positive feedback.

Thanks in advance

Widget text fields doesn't specify proper input type

Many widget input fields don't have the text HTML property specified, leading to inconsistent layout theming. You can see the image below for a comparison of a field with the correct HTML markup vs all other input fields.

wp-popular-posts-input

Not counting the posts view.

Hi, I tried you're plugin and I noticed on my site. It only records the stats for page views and not on every posts view, Can you help me with this? Thanks

Problem with the database

"Sorry. No data so far." always display.
I notice that the wp_popularpostsdata in my database receive nothing.
im using ajax to send my data to the database.
how and what is the problem?

Unique views across multiple languages

What about being able to have different popular posts across multiple languages (with different view dates, number of views, etc...). At the moment the plugin only supports a single "profile" and gets the appropriate translated metadata from WPML.

I am trying to think of a solution that would avoid changing the structure of the DB too much. What about on the plugin's first activation (or maybe a config setting), figuring out what languages the site supports, and dynamically create a table for each of them. When tracking views, just check for the active language. So basically the way it is currently setup in the DB, but then repeat for other languages?

Use a sampling rate for high traffic sites

I worked with this plugin on a high traffic site and the database locking was a bottleneck. The ajax update views was getting hit with ~15 requests / second and the response times were ~13 seconds (up to 4 minutes).

What do you think about introducing a sample rate (e.g. 10% of views) to allow compatibility with high traffic sites?

qTranslate-x titles are doubled up

Hi There:

First and foremost - thank you for this great plugin! I use it and love it!

I am currently trying to get your plugin to work with qTranslate-x - a fork of qTranslate. However, the titles of the posts show up as EnglishChinese. Meaning - it is showing all languages in a long list. I have tried to go through the code and fix the issue and contribute it back - but I can't seem to make it work. I see you have code for qTrans - which is great. However, for some reason it doesn't work with qTranslate-x. qTranslate-x is supposed too have legacy support and still support the qtrans_ functions. However, it doesn't appear to actually work for some reason.

From my understanding - I should be able to wrap __() around your $title and it should translate automatically. I have done this in another plugin and it worked. However, it doesn't seem to work when I change it in your code. Keep in mind - I may not even be changing it in the right location. :/ Any ideas or pointers in the right direction? Please see attached image for an example of what i am seeing in case I am not clear.

Thanks again for all your work!

Daren
screen shot 2015-01-14 at 11 36 05 am

Remove the static "pipe" character in stats output

Hi! thanks for your plugin,

I just got frustrated seeing that the "pipe" character between the stats displayed on the output of the posts is "hardcoded" here.

Don't you think you should make this as an option?
or
Even simplier, just remove the character of the output and leave the styling take care of adding a character if needed with a CSS :after selector and using the content: '|'; property

PHP process for WPP 3.1.0

Hi Hector,
I would report to you that I upgraded to new release of your great plugin, but from one hour I came back to 3.0.3 ver.

This because my provvider to advise to me:
"il sito contenuto in /httpdocs/eng, apre processi php maggiori di 15 minuti quasi tutto il giorno, si prega di verificare, e' probabile che sia hackerato."

In other (english) word the blog in .it/eng opens php process for more 15 min.

If you need to access my dashboard as admin, feel free to ask me.

Thanks

Plugin stats appear to be incorrect / old

I've been using your plugin on my company's website for about a year now, it was working great but recently it's stopped recording counting hits. I've been checking both tables in the database and it doesn't seem to be recoding anything. So the only popluar pages it that show up are old.

Any thoughts of what I should be looking for.

If it helps I'm currently on WP 3.8.1, I'm running W3 Total Cache on the front and and I'm using a Child Theme. Also I'm not seeing any error messages on the server so there's no code issues as far as I can tell.

Thanks so much in advance,

Floyd

Widget AJAX functionality missing?

Version 3 is looking great so far, looks like a big restructure but I depend on this functionality so in my impatience I have added it back :D

Thumbnails outside widget

Hello, this code
<?php wpp_get_mostpopular( 'limit=4&range=all&stats_views=0&post_html="<li>{thumb}{thumb_img} <a href=\'{url}\'>{text_title}</a></li>"&cat="59"' ) ?>
some how produces this
<li><a href="xxxxx/" title="Tabata – intervalový trénink pro spalování tuků" target="_self"></a> <a href="xxxx">Tabata – intervalový trénink pro spalování tuků</a></li>
without the thumbnails

Count by IP

Is it possible that the view counter is based by IP and not by everytime the page loads? Perhaps also give it a timer, so that we can choose the interval from when it should log the IP or not. So if it was set for 10 minutes, the same IP wouldn't count as a view in the same post more than once.

Adds theme support to customize the output of the widget

Hello, first of all thank you for the fantastic widget you created. It would be useful to have the ability to override totally the HTML markup generated by the widget. Many plugins usually offers a way to override their templates in the theme directory. Is this something planned for the next version, or can it be done?

Encoding issues on format_content()

Within the format_content() function (used when the Custom HTML featured is enabled) the character encoding is missing, causing issues on the front-end.

This:

return html_entity_decode( $string );

... should be:

return html_entity_decode( $string, ENT_QUOTES, $this->charset );

Italian translations

Hi!
Compliments for your great plugin!
I had some problem with italian translation of "view" and "views", please may you insert and publish on wordpress svn this po it files or give me contributor permission to your repo?

msgid ""
msgstr ""
"Project-Id-Version: Wordpress Popular Posts in italiano\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-12-06 08:20+0100\n"
"PO-Revision-Date: \n"
"Last-Translator: Fabio Brunelli <[email protected]>\n"
"Language-Team: Gianni Diurno | gidibao.net & charmingpress.com\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: __;_e;_n\n"
"X-Poedit-Basepath: .\n"
"Language: it_IT\n"
"X-Generator: Poedit 1.5.4\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-SearchPath-0: .\n"

#: maintenance.php:58
msgid ""
"This operation will delete all entries from Wordpress Popular Posts' cache "
"table and cannot be undone."
msgstr ""
"Questa operazione (irreversibile) cancellerà tutte le pubblicazioni presenti "
"nella tabella per la cache di Wordpress Popular Posts."

#: maintenance.php:58 maintenance.php:66
msgid "Do you want to continue?"
msgstr "Desideri proseguire?"

#: maintenance.php:66
msgid ""
"This operation will delete all stored info from Wordpress Popular Posts' "
"data tables and cannot be undone."
msgstr ""
"Questa operazione (irreversibile) cancellerà tutte le info allocate nella "
"tabella per la cache di Wordpress Popular Posts."

#: maintenance.php:78
msgid "Whoa! What just happened in here?!"
msgstr "Oh oh! Cosa é successo?!"

#: maintenance.php:79
msgid ""
"Previous users of Wordpress Popular Posts will remember that earlier "
"versions of my plugin used to display a Settings page over here. However, "
"from version 2.0 and on things will be slightly different."
msgstr ""
"Gli utenti di vecchia data di Wordpress Popular Posts ricorderanno "
"sicuramente che nelle precedenti versioni del mio plugin veniva qui mostrata "
"la pagina delle impostazioni: dalla versione 2.0 le cose sono un po' "
"cambiate..."

#: maintenance.php:80
msgid ""
"Wordpress Popular Posts has gone multi-widget so now you'll be able to "
"install multiple instances of my plugin on your sidebars, each with its own "
"unique settings! Because of that, having a General Settings page to handle "
"all instances is simply not a good idea. Fear not, my friend, since you "
"still can set each instance's configuration via"
msgstr ""
"Grazie ai multi-widget di Wordpress Popular Posts potrai installare nella "
"sidebar più richieste ogniuna delle quali con delle proprie impostazioni! In "
"ragione di questo, nella pagina delle impostazioni generali potrai gestire "
"tutte  le richieste. Niente paura amico mio: puoi operare sulle impostazioni "
"anche dalla pagina dei"

#: maintenance.php:80
msgid "Widgets page"
msgstr "Widget"

#: maintenance.php:84
msgid "Help"
msgstr "Info aiuto"

#: maintenance.php:85
msgid "What does \"Include pages\" do?"
msgstr "A cosa serve \"Includi pagine\"?"

#: maintenance.php:87
msgid ""
"If checked, Wordpress Popular Posts will also list the most viewed pages on "
"your blog. Enabled by default."
msgstr ""
"Se attiva, Wordpress Popular Posts includerà anche la lista delle pagine più "
"viste del tuo blog. Attiva da predefinite."

#: maintenance.php:89
msgid "What does \"Display post rating\" do?"
msgstr "A cosa serve \"Mostra valutazione articoli\"?"

#: maintenance.php:91
msgid ""
"If checked, Wordpress Popular Posts will show how your readers are rating "
"your most popular posts. This feature requires having WP-PostRatings plugin "
"installed and enabled on your blog for it to work. Disabled by default."
msgstr ""
"Se attiva, Wordpress Popular Posts mostrerà il voto espresso dai tuoi "
"lettori. Affinché questa opzione possa funzionare sarà necessario che tu "
"abbia installato ed attivato il plugin WP-PostRatings. Non attiva da "
"predefinite."

#: maintenance.php:93
msgid "What does \"Shorten title output\" do?"
msgstr "A cosa serve \"Abbreviazione titoli\"?"

#: maintenance.php:95
msgid ""
"If checked, all posts titles will be shortened to \"n\" characters. A new "
"\"Shorten title to\" option will appear so you can set it to whatever you "
"like. Disabled by default."
msgstr ""
"Se attiva, tutti i titoli degli articoli saranno abbreviati in \"n\" "
"caratteri. Apparirà una nuova opzione a nome \"Abbrevia il titolo in\" così "
"potrai impostare a tuo piacere. Non attiva da predefinite."

#: maintenance.php:97
msgid "What does \"Display post excerpt\" do?"
msgstr "A cosa serve \"Mostra estratto articolo\"?"

#: maintenance.php:99
msgid ""
"If checked, Wordpress Popular Posts will also include a small extract of "
"your posts in the list. Similarly to the previous option, you will be able "
"to decide how long the post excerpt should be. Disabled by default."
msgstr ""
"Se attivo, Wordpress Popular Posts includerà anche nella lista un breve "
"estratto dei tuoi articoli. Così come per l'opzione precedente, avrai la "
"possibilità di scegliere la lunghezza dell'estratto. Non attiva da "
"predefinite."

#: maintenance.php:101
msgid "What does \"Keep text format and links\" do?"
msgstr "A cosa serve \"Mantieni il formato del testo e lascia i link\"?"

#: maintenance.php:103
msgid ""
"If checked, and if the Post Excerpt feature is enabled, Wordpress Popular "
"Posts will keep the styling tags (eg. bold, italic, etc) that were found in "
"the excerpt. Hyperlinks will remain intact, too."
msgstr ""
"Se attiva e nel caso in cui la funzione \"Mostra estratto articolo\" fosse "
"operativa, Wordpress Popular Posts manterrà i tag di stile (ad es. bold, "
"italic, etc) presenti nell'estratto. Anche i link non verranno rimossi."

#: maintenance.php:105
msgid "What does \"Exclude Categories\" do?"
msgstr "A cosa serve \"Escludi categorie\"?"

#: maintenance.php:107
msgid ""
"If checked, Wordpress Popular Posts will exclude from the listing all those "
"entries that belong to specific categories. When entering more than one "
"Category ID, you need to use commas to separate them (eg. 1,5,12 - no "
"spaces!). Disabled by default."
msgstr ""
"Se attiva, Wordpress Popular Posts escluderà dall'elenco tutte le "
"pubblicazioni relative a quella specifica categoria. Volessi in serire una o "
"più ID categoria, ricordati che dovrai separarle con una virgola (es. 1,5,12 "
"- nessuna spaziatura!). Non attiva da predefinite."

#: maintenance.php:109
msgid "What does \"Display post thumbnail\" do?"
msgstr "A cosa serve \"Mostra miniature articolo\"?"

#: maintenance.php:111
msgid ""
"If checked, Wordpress Popular Posts will attempt to use the thumbnail you "
"have selected for each post on the Post Edit Screen under Featured Image "
"(this also requires including add_theme_support(\"post-thumbnails\") to your "
"theme's functions.php file). Disabled by default."
msgstr ""
"Se attivo, Wordpress Popular Posts proverà ad utilizzare la miniatura da te "
"indicata nella sezione \"Immagine in evidenza\" dell'editor (è necessario "
"che il file functions.php tuo tema contenga add_theme_support(\"post-"
"thumbnails\")). Disattivazione predefinita."

#: maintenance.php:113
msgid "What does \"Display comment count\" do?"
msgstr "A cosa serve \"Mostra totale commenti\"?"

#: maintenance.php:115
msgid ""
"If checked, Wordpress Popular Posts will display how many comments each "
"popular post has got until now. Enabled by default."
msgstr ""
"Se attiva, Wordpress Popular Posts mostrerà il numero attuale dei commenti "
"ricevuti da ogni articolo più popolare. Attiva da predefinite."

#: maintenance.php:117
msgid "What does \"Display views\" do?"
msgstr "A cosa serve \"Mostra letture\"?"

#: maintenance.php:119
msgid ""
"If checked, Wordpress Popular Posts will show how many pageviews a single "
"post has gotten so far since this plugin was installed. Disabled by default."
msgstr ""
"Se attiva, Wordpress Popular Posts mostrerà quante volte é stato "
"visualizzato l'articolo dalla prima installazione del plugin in poi. Non "
"attiva da predefinite."

#: maintenance.php:121
msgid "What does \"Display author\" do?"
msgstr "A cosa serve \"Mostra autore\"?"

#: maintenance.php:123
msgid ""
"If checked, Wordpress Popular Posts will display the name of the author of "
"each entry listed. Disabled by default."
msgstr ""
"Se attiva, Wordpress Popular Posts mostrerà nell'elenco delle pubblicazioni "
"il nome dell'autore. Non attiva da predefinite."

#: maintenance.php:125
msgid "What does \"Display date\" do?"
msgstr "A cosa serve \"Mostra la data\"?"

#: maintenance.php:127
msgid ""
"If checked, Wordpress Popular Posts will display the date when each popular "
"posts was published. Disabled by default."
msgstr ""
"Se attiva, Wordpress Popular Posts mostrerà la data di pubblicazione di ogni "
"articolo più popolare. Non attiva da predefinite."

#: maintenance.php:129
msgid "What does \"Use custom HTML Markup\" do?"
msgstr "A cosa serve \"Usa markup HTML personale\"?"

#: maintenance.php:131
msgid ""
"If checked, you will be able to customize the HTML markup of your popular "
"posts listing. For example, you can decide whether to wrap your posts in an "
"unordered list, an ordered list, a div, etc. If you know xHTML/CSS, this is "
"for you! Disabled by default."
msgstr ""
"Se attiva, avrai la possibilità di personalizzare il markup HTML dell'elenco "
"degli articoli più popolari. Ad esempio, volessi disporre gli articoli con "
"un elenco puntato o numerato, con un div, etc. Utilizzare questa opzione "
"solo in caso di esperienza con il xHTML/CSS. Non attiva da predefinite."

#: maintenance.php:133
msgid "What does \"Use content formatting tags\" do?"
msgstr "A cosa serve \"Utilizza tag formattazione contenuto\"?"

#: maintenance.php:135
msgid ""
"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."
msgstr ""
"Se attiva, potrai decidere la disposizione dei termini per ogni articolo. Ad "
"esempio, impostando a \"{title}: {summary}\" (senza le virgolette) verrà "
"mostrato \"Nome dell'articolo: qui l'estratto dell'articolo\". Tag "
"disponibili: {image}, {title}, {summary}, {stats} e {rating}. Non attivo da "
"predefinite."

#: maintenance.php:137
msgid "What are \"Template Tags\"?"
msgstr "Cosa sono i \"Template Tags\"?"

#: maintenance.php:139
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()."
msgstr ""
"I Template Tags sono delle semplici funzioni php che ti permettono di "
"eseguire delle date azioni. Ad esempio, per il momento Wordpress Popular "
"Posts supporta due distinti template tags: get_mostpopular() e wpp_get_views"
"()."

#: maintenance.php:141
msgid "What are the template tags that Wordpress Popular Posts supports?"
msgstr "Quali sono i template tags supportati da Wordpress Popular Posts?"

#: maintenance.php:143
msgid ""
"The following are the template tags supported by Wordpress Popular Posts:"
msgstr "A seguire, i template tags supportati Wordpress Popular Posts:"

#: maintenance.php:146
msgid "Template tag"
msgstr "Template tag"

#: maintenance.php:147 maintenance.php:175
msgid "What it does "
msgstr "A cosa serve?"

#: maintenance.php:148
msgid "Parameters"
msgstr "Parametri"

#: maintenance.php:149 maintenance.php:178
msgid "Example"
msgstr "Esempio"

#: maintenance.php:153
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."
msgstr ""
"Simile alla funzionalità del widget, questo tag estrarrà gli articoli più "
"popolari del tuo blog. Sebbene esso possa essere personalizzato grazie ai "
"parametri, questi ultimi non ne determinano il funzionamento in sè."

#: maintenance.php:154
msgid ""
"Please refer to \"What attributes does Wordpress Popular Posts shortcode "
"[wpp] have?\""
msgstr ""
"Fai riferimento a \"Quali attributi ha lo shortcode [wpp] di Wordpress "
"Popular Posts?\""

#: maintenance.php:159
msgid ""
"Displays the number of views of a single post. Post ID required, or it will "
"return false."
msgstr ""
"Mostra il numero delle visualizzazioni di un singolo articolo. E' necessaria "
"la ID dell'articolo affinché questa opzione possa funzionare."

#: maintenance.php:160
msgid "Post ID"
msgstr "ID articolo"

#: maintenance.php:165
msgid "What are \"shortcodes\"?"
msgstr "Cosa sono gli \"shortcodes\"?"

#: maintenance.php:167
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"
msgstr ""
"Gli Shortcodes sono degli hooks che ti permettono di richiamare una funzione "
"php inserendo nell'articolo un qualcosa del tipo [shortcode]. Con Wordpress "
"Popular Posts, lo shortcode [wpp] farà sì che tu possa inserire gli articoli "
"più popolari direttamente nel contenuto degli articoli/pagine! Per maggiori "
"informazioni, visita la pagina"

#: maintenance.php:169
msgid "What attributes does Wordpress Popular Posts shortcode [wpp] have?"
msgstr "Quali attributi ha lo shortcode [wpp] di Wordpress Popular Posts?"

#: maintenance.php:171
msgid ""
"There are a number of attributes Wordpress Popular Posts currently supports:"
msgstr ""
"Ecco il numero degli attributi al momento supportati da Wordpress Popular "
"Posts:"

#: maintenance.php:174
msgid "Attributes"
msgstr "Attributi"

#: maintenance.php:176
msgid "Possible values"
msgstr "Valore"

#: maintenance.php:177
msgid "Defaults to"
msgstr "Predefinita"

#: maintenance.php:182
msgid "Sets a heading for the list"
msgstr "Imposta un titolo per l'elenco"

#: maintenance.php:183 maintenance.php:190 maintenance.php:197
#: maintenance.php:253 maintenance.php:316 maintenance.php:323
#: maintenance.php:330 maintenance.php:337 maintenance.php:344
msgid "Text string"
msgstr "Stringa di testo"

#: maintenance.php:184 wordpress-popular-posts.php:198
msgid "Popular Posts"
msgstr "Gli articoli più popolari"

#: maintenance.php:189
msgid "Set the opening tag for the heading of the list"
msgstr "Imposta un tag di apertura per il titolo dell'elenco"

#: maintenance.php:196
msgid "Set the closing tag for the heading of the list"
msgstr "Imposta un tag di chiusura per il titolo dell'elenco"

#: maintenance.php:203
msgid "Sets the maximum number of popular posts to be shown on the listing"
msgstr ""
"Imposta il numero massimo di articoli più popolari da mostrare nell'elenco"

#: maintenance.php:204 maintenance.php:232 maintenance.php:239
#: maintenance.php:260 maintenance.php:267
msgid "Positive integer"
msgstr "Intero positivo"

#: maintenance.php:210
msgid ""
"Tells Wordpress Popular Posts to retrieve the most popular entries within "
"the time range specified by you"
msgstr ""
"Richiedi a Wordpress Popular Posts di recuperare gli articoli più popolari "
"in relazione all'intervallo di tempo da te specificato"

#: maintenance.php:217
msgid "Sets the sorting option of the popular posts"
msgstr "Imposta l'opzione per la disposizione degli articoli più popolari"

#: maintenance.php:218
msgid "(for average views per day)"
msgstr "(per media letture giornaliere)"

#: maintenance.php:224
msgid ""
"Tells Wordpress Popular Posts whether to consider or not pages while "
"building the popular list"
msgstr ""
"Richiedi a Wordpress Popular Posts di considerare oppure no se inserire le "
"pagine nell'elenco"

#: maintenance.php:231
msgid ""
"If set, Wordpress Popular Posts will shorten each post title to \"n\" "
"characters whenever possible"
msgstr ""
"Se attiva, Wordpress Popular Posts ridurrà a \"n\" caratteri il titolo di "
"ogni articolo (se posibile)"

#: maintenance.php:238
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"
msgstr ""
"Se attiva, Wordpress Popular Posts preparerà ed inserirà un estratto "
"composto da \"n\" ricavato da ogni articolo presente nell'elenco dei più "
"popolari"

#: maintenance.php:245
msgid ""
"If set, Wordpress Popular Posts will maintaing all styling tags (strong, "
"italic, etc) and hyperlinks found in the excerpt"
msgstr ""
"Se attiva, Wordpress Popular Posts non modificherà i tag di stile "
"(grassetto, corsivo, etc) ed i link presenti negli estratti"

#: maintenance.php:252
msgid ""
"If set, Wordpress Popular Posts will exclude all entries that belong to the "
"specified category(ies)."
msgstr ""
"Se attiva, Wordpress Popular Posts escluderà tutte le pubblicazioni "
"appartenenti a quella data categoria/e."

#: maintenance.php:254
msgid "None"
msgstr "Nessuna"

#: maintenance.php:259
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"
msgstr ""
"Se attiva e nel caso in cui la configurazione del server lo permettesse, "
"avrai la possibilità di mostrare le miniature dei tuoi articoli. Questa voce "
"imposta la larghezza delle miniature"

#: maintenance.php:266
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"
msgstr ""
"Se attiva e nel caso in cui la configurazione del server lo permettesse, "
"avrai la possibilità di mostrare le miniature dei tuoi articoli. Questa voce "
"imposta l'altezza delle miniature"

#: maintenance.php:273
msgid ""
"Wordpress Popular Posts will use the thumbnails selected by you. *Requires "
"enabling The Post Thumbnail feature on your theme*"
msgstr ""
"Wordpress Popular Posts utilizzerà le miniature da te selezionate. *E' "
"necessario che il tuo tema supporti la funzione Post Thumbnail*"

#: maintenance.php:280
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"
msgstr ""
"Se attiva e nel caso in cui il plugin WP-PostRatings fosse stato installato "
"ed attivato nel tuo blog, Wordpress Popular Posts ti mostrerà come i "
"visitatori hanno votato le tue pubblicazioni"

#: maintenance.php:287
msgid ""
"If set, Wordpress Popular Posts will show how many comments each popular "
"post has got until now"
msgstr ""
"Se attiva, Wordpress Popular Posts mostrerà il numero attuale dei commenti "
"ricevuti da ogni articolo più popolare"

#: maintenance.php:294
msgid ""
"If set, Wordpress Popular Posts will show how many views each popular post "
"has got since it was installed"
msgstr ""
"Se attiva, Wordpress Popular Posts mostrerà quante volte é stato letto ogni "
"singolo articolo più popolare dal momento in cui é stato attivato il plugin"

#: maintenance.php:301
msgid ""
"If set, Wordpress Popular Posts will show who published each popular post on "
"the list"
msgstr ""
"Se attiva, Wordpress Popular Posts mostrerà l'autore di ogni singola "
"pubblicazione presente nella lista"

#: maintenance.php:308
msgid ""
"If set, Wordpress Popular Posts will when each popular post on the list was "
"published"
msgstr ""
"Se attiva, Wordpress Popular Posts mostrerà la data di pubblicazione di ogni "
"articolo presente nella lista"

#: maintenance.php:315
msgid "Sets the date format"
msgstr "Imposta formato data"

#: maintenance.php:322
msgid "Sets the opening tag for the listing"
msgstr "Imposta il tag di apertura per l'elenco"

#: maintenance.php:329
msgid "Sets the closing tag for the listing"
msgstr "Imposta il tag di chiusura per l'elenco"

#: maintenance.php:336
msgid "Sets the opening tag for each item on the list"
msgstr "Imposta il tag di apertura per ogni termine nell'elenco"

#: maintenance.php:343
msgid "Sets the closing tag for each item on the list"
msgstr "Imposta il tag di chiusura per ogni termine nell'elenco"

#: maintenance.php:350
msgid ""
"If set, this option will allow you to decide the order of the contents "
"within each item on the list."
msgstr ""
"Se attiva, questa opzione ti permetterà di scegliere la disposizione dei "
"contenuti presenti in ogni singolo termine dell'elenco."

#: maintenance.php:357
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\". This attribute requires "
"do_pattern to be true."
msgstr ""
"Se attiva, potrai scegliere la disposizione del contenuto presente in ogni "
"singolo termine dell'elenco. Ad esempio, impostando a \"{title}: {summary}\" "
"l'output dovrebbe risultare come \"Il titolo dell'articolo: il riassunto qui"
"\". Questa opzione richiede che il do_pattern sia stato impostato a true."

#: maintenance.php:358
msgid "Available tags"
msgstr "Tag disponibili"

#: maintenance.php:367
msgid "Maintenance Settings"
msgstr "Impostazioni manutenzione"

#: maintenance.php:368
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."
msgstr ""
"Wordpress Popular Posts conserverà per un periodo massimo di 30 giorni uno "
"storico dei dati relativo agli articoli più popolari. Utilizza i pulsanti "
"qui sotto nel caso in cui dovessi svuotare la tabella della cache oppure "
"tanto la tabella dello storico quanto quella della cache."

#: maintenance.php:371
msgid "Empty cache"
msgstr "Svuota la cache"

#: maintenance.php:372
msgid "Use this button to manually clear entries from WPP cache only"
msgstr ""
"Usa questo pulsante per svuotare manualmente la sola cache di Wordpress "
"Popular Posts per gli articoli"

#: maintenance.php:378
msgid "Clear all data"
msgstr "Svuota tutti i dati"

#: maintenance.php:379
msgid "Use this button to manually clear entries from all WPP data tables"
msgstr ""
"Usa questo pulsante per svuotare manualmente i dati da tutte le tabelle di "
"Wordpress Popular Posts"

#: maintenance.php:387
msgid "Do you like this plugin?"
msgstr "Ti é piaciuto questo plugin?"

#: maintenance.php:387
msgid "Rate Wordpress Popular Posts!"
msgstr "Vota per Wordpress Popular Posts!"

#: maintenance.php:387
msgid "Rate it 5"
msgstr "Vota 5 stelle"

#: maintenance.php:387
msgid "on the official Plugin Directory!"
msgstr "nella Plugin Directory ufficiale!"

#: maintenance.php:388
msgid "Do you love this plugin?"
msgstr "Questo plugin ti é stato utile?"

#: maintenance.php:388 maintenance.php:389
msgid "Buy me a beer!"
msgstr "Offrimi una birra!"

#: maintenance.php:388
msgid ""
"Each donation motivates me to keep releasing free stuff for the Wordpress "
"community!"
msgstr ""
"Ogni donazione sarà per me un incentivo a proseguire lo sviluppo di questo "
"plugin gratuito!"

#: stats.php:90
msgid ""
"Click on each tab to see what are the most popular entries on your blog "
"today, this week, last 30 days or all time since Wordpress Popular Posts was "
"installed."
msgstr ""
"Clicca su ogni tab per vedere quali sono state le più lette pubblicazioni "
"del tuo blog per oggi, per gli ultimi 30 giorni oppure dal primo momento in "
"cui é stato attivato Wordpress Popular Posts."

#: stats.php:92
msgid "Yesterday"
msgstr "Ieri"

#: stats.php:93
msgid "Today"
msgstr "Oggi"

#: stats.php:94
msgid "Weekly"
msgstr "Settimanale"

#: stats.php:95
msgid "Monthly"
msgstr "Mensile"

#: stats.php:96 wordpress-popular-posts.php:260
msgid "All-time"
msgstr "Complessivo"

#: wordpress-popular-posts.php:251
msgid "Title:"
msgstr "Titolo:"

#: wordpress-popular-posts.php:253
msgid "Show up to:"
msgstr "Mostra sino a:"

#: wordpress-popular-posts.php:254
msgid "posts"
msgstr "articoli"

#: wordpress-popular-posts.php:255
msgid "Time Range:"
msgstr "Intervallo di tempo:"

#: wordpress-popular-posts.php:257
msgid "Last 24 hours"
msgstr "Ultime 24 ore"

#: wordpress-popular-posts.php:258
msgid "Last 7 days"
msgstr "Ultimi 7 giorni"

#: wordpress-popular-posts.php:259
msgid "Last 30 days"
msgstr "Ultimi 30 giorni"

#: wordpress-popular-posts.php:263
msgid "Sort posts by:"
msgstr "Mostra articoli in relazione a:"

#: wordpress-popular-posts.php:265
msgid "Comments"
msgstr "Commenti"

#: wordpress-popular-posts.php:266
msgid "Total views"
msgstr "Letture complessive"

#: wordpress-popular-posts.php:267
msgid "Avg. daily views"
msgstr "Media letture giornaliere"

#: wordpress-popular-posts.php:270
msgid "Include pages"
msgstr "Includi pagine"

#: wordpress-popular-posts.php:272
msgid "Display post rating"
msgstr "Mostra valutazione articoli"

#: wordpress-popular-posts.php:274
msgid "Shorten title output"
msgstr "Output titolo abbreviato"

#: wordpress-popular-posts.php:276
msgid "Shorten title to"
msgstr "Abbrevia il titolo in"

#: wordpress-popular-posts.php:276 wordpress-popular-posts.php:283
msgid "characters"
msgstr "caratteri"

#: wordpress-popular-posts.php:278
msgid "Display post excerpt"
msgstr "Mostra estratto articolo"

#: wordpress-popular-posts.php:281
msgid "Excerpt Properties"
msgstr "Proprietà estratto"

#: wordpress-popular-posts.php:282
msgid "Keep text format and links"
msgstr "Mantieni il formato del testo e lascia i link"

#: wordpress-popular-posts.php:283
msgid "Excerpt length:"
msgstr "Lunghezza estratto:"

#: wordpress-popular-posts.php:287
msgid "Exclude categories"
msgstr "Esclusione categorie"

#: wordpress-popular-posts.php:290
msgid "Categories to exclude"
msgstr "Categorie da escludere"

#: wordpress-popular-posts.php:291
msgid "ID(s) (comma separated, no spaces):"
msgstr "ID (separa con una virgola, nessuna spaziatura):"

#: wordpress-popular-posts.php:297
msgid "Thumbnail settings"
msgstr "Impostazioni miniatura"

#: wordpress-popular-posts.php:298
msgid "Display post thumbnail"
msgstr "Mostra miniatura articolo"

#: wordpress-popular-posts.php:300
msgid "Width:"
msgstr "Larghezza:"

#: wordpress-popular-posts.php:301 wordpress-popular-posts.php:303
msgid "px"
msgstr "px"

#: wordpress-popular-posts.php:302
msgid "Height:"
msgstr "Altezza:"

#: wordpress-popular-posts.php:309
msgid "Stats Tag settings"
msgstr "Impostazioni tag statistiche"

#: wordpress-popular-posts.php:310
msgid "Display comment count"
msgstr "Mostra totale commenti"

#: wordpress-popular-posts.php:311
msgid "Display views"
msgstr "Mostra letture"

#: wordpress-popular-posts.php:312
msgid "Display author"
msgstr "Mostra autore"

#: wordpress-popular-posts.php:313
msgid "Display date"
msgstr "Mostra la data"

#: wordpress-popular-posts.php:316
msgid "Date Format"
msgstr "Formato data"

#: wordpress-popular-posts.php:327
msgid "HTML Markup settings"
msgstr "Impostazioni markup HTML"

#: wordpress-popular-posts.php:328
msgid "Use custom HTML Markup"
msgstr "Usa markup HTML personale"

#: wordpress-popular-posts.php:331
msgid "Before / after title:"
msgstr "Prima / dopo titolo:"

#: wordpress-popular-posts.php:333
msgid "Before / after Popular Posts:"
msgstr "Prima / dopo Popular Posts:"

#: wordpress-popular-posts.php:335
msgid "Before / after each post:"
msgstr "Prima / dopo ogni articolo:"

#: wordpress-popular-posts.php:339
msgid "Use content formatting tags"
msgstr "Utilizza tag formattazione"

#: wordpress-popular-posts.php:342
msgid "Content format:"
msgstr "Formato contenuti:"

#: wordpress-popular-posts.php:420
msgid "Success! The cache table has been cleared!"
msgstr "Ottimo! La tabella della cache é stata svuotata!"

#: wordpress-popular-posts.php:422
msgid "Error: cache table does not exist."
msgstr "Errore: la tabella per la cache non esiste."

#: wordpress-popular-posts.php:428
msgid "Success! All data have been cleared!"
msgstr "Ottimo! Sono stati svuotati tutti i dati!"

#: wordpress-popular-posts.php:430
msgid "Error: one or both data tables are missing."
msgstr "Errore: una od entrambe le tabelle non esistono."

#: wordpress-popular-posts.php:433
msgid "Invalid action."
msgstr "Azione non valida."

#: wordpress-popular-posts.php:436
msgid ""
"Sorry, you do not have enough permissions to do this. Please contact the "
"site administrator for support."
msgstr ""
"Non hai i permessi necessari per potere compiere questa operazione. Contatta "
"l'amministratore del sito."

#: wordpress-popular-posts.php:627
msgid "Sorry. No data so far."
msgstr "Nessun dato ancora."

#: wordpress-popular-posts.php:674
msgid " comment(s)"
msgstr " commento/i"

#: wordpress-popular-posts.php:677
msgid " view(s)"
msgstr " lettura/e"

#: wordpress-popular-posts.php:683
msgid " view(s) per day"
msgstr " lettura/e al giorno"

#: wordpress-popular-posts.php:696 wordpress-popular-posts.php:698
msgid "by"
msgstr "di"

#: wordpress-popular-posts.php:703 wordpress-popular-posts.php:705
msgid "posted on"
msgstr "pubblicato sotto"

#: wordpress-popular-posts.php:1000
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 &gt; Upgrade."
msgstr ""
"La tua versione di WordPress é datata. Affinché il plugin Wordpress Popular "
"Posts possa funzionare correttamente, sarà necessaria una versione 2.8 o "
"superiore. Aggiorna via Strumenti &gt; Upgrade."

#: wordpress-popular-posts.php:1127
msgid "Wordpress Popular Posts Stats"
msgstr "Statistiche Wordpress Popular Posts"

#: wordpress-popular-posts.php:1128
msgid "comments"
msgstr "commenti"

#: wordpress-popular-posts.php:1129
msgid "comment"
msgstr "commento"

#: wordpress-popular-posts.php:1130
msgid "Comment"
msgstr "Commento"

msgid "1 view"
msgid_plural "%s views"
msgstr[0] "1 visualizzazione"
msgstr[1] "%s visualizzazioni"

#~ msgid ""
#~ "If checked, Wordpress Popular Posts will attempt to find the very first "
#~ "image of each post in the listing and turn it into a thumbnail. Note that "
#~ "for this option to work you must check that: your current web host is "
#~ "running PHP 4.3+ or higher and the GD Library is installed and enabled; "
#~ "also that your \"wordpress-popular-posts/scripts/cache\" directory exists "
#~ "and is writable. Disabled by default."
#~ msgstr ""
#~ "Se attiva, Wordpress Popular Posts proverà a trovare la prima immagine di "
#~ "ogni articolo presente nell'elenco quindi, la renderà una miniatura. Ti "
#~ "ricordo che affinché questa opzione possa funzionare sarà necessario che "
#~ "tu l'abbia attivata: il tuo web host deve utilizzare PHP 4.3+ o superiore "
#~ "ed avere installata ed attiva la Libreria GD inoltre, dovrà essere "
#~ "presente nonché scrivibile la cartella \"wordpress-popular-posts/scripts/"
#~ "cache\". Non attiva da predefinite."

#~ msgid ""
#~ "What does \"Generate all thumbnails for me\" and \"Use thumbnails "
#~ "selected by me\" do?"
#~ msgstr ""
#~ "A cosa servono \"Genera tutte le miniature\" e  \"Usa le miniature da me "
#~ "indicate\"?"

#~ msgid "Generate all thumbnails for me"
#~ msgstr "Genera tutte le miniature"

#~ msgid "Use thumbnails selected by me"
#~ msgstr "Uso le miniature da me indicate"

Wiki: Parameters

So you display the option to use the code directly at my theme page. 😢

But you don't display what types of parameters I can enter. For example:

<?php
 if (function_exists('wpp_get_mostpopular'))
wpp_get_mostpopular("range=yearly&order_by=comments&stats_views=0");
?>

I think you can improve the wiki to display the parameters. For example: I need to put the range to the whole blog existence, but I don't have any idea how can I do this.

Inflating view counts to game post popularity

Is there anything preventing a person from inflating view counts?

It seems to be that any post could be gamed as a popular post by anyone determined to refresh the page enough times.

Use WordPress thumbnails instead of generating own cache folder

After enabling the widget option to show the thumbnail image, I can select the dimension of the thumb. As a user, I would expect that the image is the one generated by WordPress core, not a copy stored under the wp-content\uploads\wordpress-popular-posts directory. I would suggest to use the standard WordPress functions to generate the thumbnail, like many other plugins do. As far as I know, WordPress still accepts custom dimensions for the images, so backward supports should be possible.

Using style sheet class with post_html

Hi,

I have been using the following example with class from style sheet into li but it doesn't seem to output the class.

wpp_get_mostpopular( "range=weekly&limit=8&order_by=views&title_length=8&title_by_words=1&thumbnail_width=237&thumbnail_height=177&stats_views=0&freshness=1&post_html="<li class="col-md-3">{thumb} {text_title} "" );

What I'm mistaking here?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.