Beschrijving
WordPress Popular Posts is een zeer aanpasbare widget die je meest populaire berichten weergeeft.
Belangrijkste functies
- Multi-widget geschikt – je kunt verschillende widgets van WordPress Popular Posts op je blog hebben, elk met zijn eigen instellingen!
- 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.
- Sorteeropties – Sorteer je populaire lijst op reacties, weergaven (standaard) of gemiddelde weergaven per dag!
- 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 ondersteuning – Sorteer je populaire berichten door Disqus reacties telling!
- Polylang & WPML 3.2+ ondersteuning – Toon de vertaalde versie van je populaire berichten!
- WordPress multisite ondersteuning – Elke site op het netwerk kan zijn eigen lijst met populaire berichten hebben!
Andere functies
- Shortcode support – Use the [wpp] shortcode to showcase your most popular posts on pages, too! For usage and instructions, please refer to the Installation 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, thewpp_get_views()
template tag allows you to retrieve the views count for a particular post. For usage and instructions, please refer to the Installation section. - Localization – Translate WPP into your own language.
- WP-PostRatings support – Show your visitors how your readers are rating your posts!
PSA: gebruik niet de klassieke WordPress Popular Posts widget met het nieuwe widgets scherm!
De klassieke WordPress Popular Posts widget werkt niet erg goed / helemaal niet met het nieuwe widgets scherm dat met WordPress 5.8 werd geïntroduceerd.
This new Widgets screen expects WordPress blocks instead of regular WordPress widgets. If you’re using the WordPress Popular Posts widget on your block-based Widgets screen please consider replacing it with the WordPress Popular Posts block instead – it has the same features as the “classic” widget and will likely end up replacing it entirely in the future.
Bjorn van wplearninglab.com was zo vriendelijk om een video te maken waarin werd uitgelegd hoe het nieuwe blok te gebruiken voor alle visuele leerlingen:
If for some reason you prefer using the “classic” WordPress Popular Posts widget with WordPress 5.8 and beyond please install the Classic Widgets plugin.
Steun het project!
Als je mijn werk en inspanningen om meer open source projecten te maken en te onderhouden wil steunen, betekenen je donaties en steunbetuigingen veel voor me!
WordPress Popular Posts staat nu ook op GitHub !
Looking for a Recent Posts widget just as featured-packed as WordPress Popular Posts? Try Recently!
Credits
- Vlammen graphics door freevector/Vecteezy.com.
Schermafdrukken
Blokken
Deze plugin heeft 1 blok.
- WordPress Popular Posts
Installatie
Please make sure your site meets the minimum requirements before proceeding.
Automatische installatie
- Login op je WordPress dashboard.
- Ga naar plugins > Nieuwe toevoegen.
- Typ in het veld “Plugins zoeken” WordPress Popular Posts en druk op enter.
- Zoek de plugin in de lijst met zoekresultaten en klik op de knop “Nu installeren”.
Handmatige installatie
- Download de plugin en pak de inhoud ervan uit.
- Upload de
wordpress-popular-posts
map naar de/wp-content/plugins/
folder. - Activeer de WordPress Popular Posts plugin via het menu “Plugins” in WordPress.
Klaar! Wat is de volgende stap?
- 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.
- Als je een caching plugin geïnstalleerd hebt op je site, schoon dan nu de cache op zodat WPP kan beginnen met het volgen van je site.
- 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?
- 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.
- 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). - (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.
Dat is het!
GEBRUIK
WordPress Popular Posts kan op drie verschillende manieren worden gebruikt:
- As a widget: simply drag and drop it into your theme’s sidebar and configure it or, if you’re using the Block Editor, you can also add it to your posts and pages.
- As a template tag: you can place it anywhere on your theme with
wpp_get_mostpopular()
. - Via shortcode , zodat je het kan insluiten in een bericht of een pagina.
Make sure to stop by the Wiki as well, you’ll find even more info there!
FAQ
De FAQ sectie is hierheen verplaatst.
Beoordelingen
Bijdragers & ontwikkelaars
“WordPress Popular Posts” is open source software. De volgende personen hebben bijgedragen aan deze plugin.
Bijdragers“WordPress Popular Posts” is vertaald in 15 talen. Dank voor de vertalers voor hun bijdragen.
Vertaal “WordPress Popular Posts” naar jouw taal.
Interesse in ontwikkeling?
Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.
Changelog
6.3.4
If you’re using a caching plugin on your website, clearing its cache after installing / updating to this version is highly recommended.
- Patches issue affecting non-HTML5 friendly WordPress themes after the WP 6.4 update.
- Adds a button to reset the default thumbnail.
- Minor fixes and improvements.
6.3.3
- Security enhancements (props to the Patchstack team!)
- Werkt afhankelijkheden bij.
6.3.2
- Fixes a PHP notice coming from the [wpp] shortcode.
- Removes legacy AJAX code from the plugin.
6.3.1
If you’re using a caching plugin on your website, clearing its cache after installing / updating to this version is highly recommended.
- Improves compatibility with newer versions of PHP 8 (thanks ispreview and dimal for the heads-up!)
- Introduces new shortcode to render views count (see Release notes for more details).
- Shares post_id value with render_image filter hook for more flexibility.
- Fixes a fatal error when the PHP extension mbstring is not installed.
- Updates wpp.min.js.
6.2.1
- Fixes an issue where the [wpp] shortcode would get stuck at the loading animation.
6.2.0
If you’re using a caching plugin on your website, clearing its cache after installing / updating to this version is highly recommended.
- The [wpp] shortcode has now the ability to load itself via AJAX.
- Fixes an issue where for certain server configurations the popular posts list would output garbled text.
- Fixes an issue where PHP would throw notices due to the usage of HTML5 tags.
6.1.4
If you’re using a caching plugin on your website, clearing its cache after installing / updating to this version is highly recommended.
- Fixes an issue where the [wpp] shortcode might output empty paragraphs under certain conditions.
- Reverts “uglification” of wpp.min.js which caused popular post list(s) not to load under certain conditions.
- Widget’s deprecation notice has been reworded for clarity.
- Updates dependencies + minor code cleanup.
6.1.3
- Hotfix: Fixes rare PHP fatal error in Admin.php (props to winetravelista and scotttripatrek!)
6.1.2
If you’re using a caching plugin on your website, clearing its cache after installing / updating to this version is highly recommended.
- Deprecation Notice: The WordPress Popular Posts “classic” widget is going away! If you’re using the classic widget please replace it with the WordPress Popular Posts block or the [wpp] shortcode as soon as possible. See release notes for more details.
- Plugin now uses the Tax_Query class to filter popular posts by taxonomy, pretty much similar to how WP_Query does it.
- Fixes an issue where selecting the Tiny theme would override the heading of the popular posts list.
- Fixes an issue where taxonomy links would render an extra whitespace for some browsers.
- Fixes issue where when using a theme (eg. Cards) post titles would be unintentionally truncated.
- Adds decoding=async property to WPP’s thumbnail.
- General PHPCS/WPCS code improvements.
6.1.1
- Opgelost een zeldzame PHP fatale fout die kan optreden tijdens de activatie van de plugin.
- Blok: voegt links toe naar documentatie binnen het blok formulier voor gemakkelijke toegang.
- Werkt afhankelijkheden bij.
6.1.0
- Verbetert de ondersteuning van PHP 8.1.
- Adds new filter to modify the post date.
- Adds check to prevent the misuse of the Data Sampling feature (props to the JPCERT/CC team for reporting this issue).
- Werkt afhankelijkheden bij.