Archived topic
Someone know a good lightweight widget plugin?
7 replies · Started by infotbd on March 4, 2018
Hello all,
i have setup my website and it seems all fine (German website).
I want to use a good lightweight widget about popular posts and recent posts with the option of thumbnail but all plugins which i have tested are not that lightweight. I would love if both plugins from the same author so that they share ressources like thumbnails.
With the actual plugin about popular posts i get the message from gtmetrix: "The following images served from untrust.de should be combined into as few images as possible using CSS sprites."
Any idea?
Best
Hi there,
You could try WP Show Posts: https://en-ca.wordpress.org/plugins/wp-show-posts/
Or Recent Posts Extended: https://en-ca.wordpress.org/plugins/recent-posts-widget-extended/
Let me know if that helps or not :)
WP Show Posts seems pretty cool. Is there a option to display posts about most viewed or popular?
There isn't unfortunately. You would need to implement some custom code for that. Likely a custom field with a counter that increases each time the page is loaded.
Can you make maybe a code improvement that the thumbnails will be set with width and height in the code.
Best,
Dominic
I'm not sure what you mean? Can you explain a bit more?
Sure. I have set in the plugin "WP Show Posts" the images with the size 45px/45px.
Actual the plugin generate the following code:
"<img src="https://*****/wp-content/uploads/2018/03/bla_bla_735-45x45.png" alt="bla bla bla bla" />"
Can you improve this that the following code will be generated:
"<img width="45" height="45" src="https://*****/wp-content/uploads/2018/03/bla_bla_735-45x45.png" alt="bla bla bla bla" itemprop="image" class="left" />"
The Logo of the generatepress Theme have the same topic - no width and height entries...
Best
Ah I understand - I'll see if I can work those into the next updates :)