- This topic has 7 replies, 2 voices, and was last updated 8 years, 1 month ago by
Tom.
-
AuthorPosts
-
March 4, 2018 at 12:07 pm #511479
infotbd
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
March 4, 2018 at 8:37 pm #511676Tom
Lead DeveloperLead DeveloperHi 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 🙂
March 5, 2018 at 1:03 am #511767infotbd
WP Show Posts seems pretty cool. Is there a option to display posts about most viewed or popular?
March 5, 2018 at 4:31 pm #512426Tom
Lead DeveloperLead DeveloperThere 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.
March 7, 2018 at 8:57 am #514032infotbd
Can you make maybe a code improvement that the thumbnails will be set with width and height in the code.
Best,
DominicMarch 7, 2018 at 8:33 pm #514352Tom
Lead DeveloperLead DeveloperI’m not sure what you mean? Can you explain a bit more?
March 8, 2018 at 12:53 am #514436infotbd
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
March 8, 2018 at 10:23 am #514947Tom
Lead DeveloperLead DeveloperAh I understand – I’ll see if I can work those into the next updates 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.