Thread Starter
jenseo
(@jenseo)
No problem, glad I could help!
Take care!
// Jens.
This is very encouraging. I just logged back on to this thread after receiving a notice to check the thread.
I found the code that Hector named, selected it and replaced it.
He wrote: Please open wordpress-popular-posts.php, find this code (around line 717):
$thumb = “ID).”\” title=\””. $title_attr .”\”>” . get_the_post_thumbnail($wppost->ID, array($tbWidth), array(‘class’ => ‘wpp-thumbnail’, ‘alt’ => $title_attr, ‘title’ => $title_attr) ) .” <!– $tbWidth $tbHeight–>”;
… and change it for:
$thumb = “ID).”\” title=\””. $title_attr .”\”>” . get_the_post_thumbnail($wppost->ID, ‘thumbnail’, array(‘class’ => ‘wpp-thumbnail’, ‘alt’ => $title_attr, ‘title’ => $title_attr) ) .”“;
I did that, however, there are still no thumbnails visible.
One of the entries above said to be sure to enable thumbnails. I checked and my theme is Twenty Ten, which has this line near the top:
// This theme uses post thumbnails
add_theme_support( ‘post-thumbnails’ );
Do I need to add a size line of code as well? (You said for example,// Enable post thumbnails
add_theme_support(‘post-thumbnails’);
set_post_thumbnail_size(80, 80, true);
Now I am going to check this which was suggested by Jens:
http://ww.wp.xz.cn/extend/plugins/regenerate-thumbnails/
It is a bit late so maybe I’ll sleep on it. Maybe things will be different tomorrow.
Cheers// Ralph
One final question: What size were the thumbnails prior to the deletion of Tim Thumb?
I found those to be good. If I do a custom size, I’d like to have it be what you used to have, because it left room for enough text (though I’d like an option for more text if possible).
Thanks!
Default size was 15×15 if I remember correctly.
Thanks, Hector. As I noted above, I changed the code:
I found the code that Hector named, selected it and replaced it as I described above:
He wrote: Please open wordpress-popular-posts.php, find this code (around line 717):
$thumb = “ID).”\” title=\””. $title_attr .”\”>” . get_the_post_thumbnail($wppost->ID, array($tbWidth), array(‘class’ => ‘wpp-thumbnail’, ‘alt’ => $title_attr, ‘title’ => $title_attr) ) .” <!– $tbWidth $tbHeight–>”;
… and change it for:
$thumb = “ID).”\” title=\””. $title_attr .”\”>” . get_the_post_thumbnail($wppost->ID, ‘thumbnail’, array(‘class’ => ‘wpp-thumbnail’, ‘alt’ => $title_attr, ‘title’ => $title_attr) ) .””;
I did that, however, there are still no thumbnails visible.
I just downloaded and used the Regenerate Thumbnails plug-in that had been mentioned above, and I then uploaded one of the posts, and still no thumbnails appear.
Should I make other changes?
Thank you for your managing this big event.
//Ralph
Hey Ralph,
You gotta add each thumbnail using the Featured Image functionality on each post listed as popular by my plugin. Otherwise, WPP will keep displaying the default thumbnail image.
Thanks for the rapid feedback. I will have time in a short while to check and see if I can find a designated image link on all my posts. I looked earlier and could not find that control (I had seen it earlier on postings).
My question is that WPP is not displaying any thumbnail image.
Here is the site: http://naturalconnectionshealthcare.com/blog/
I looked in the Media folder and perhaps I do not have permission to even see where the thumbnails are located. They are being generated because that media list is constructed of thumbnails.
I will delete the image on one of my postings and then reinstall and maybe that will do the trick. Gotta eat dinner first. This is like a video game, invigorating. Thanks for the wisdom, Héctor!
No luck. I deleted the image on the Play As Medicine entry. Then uploaded it again, designated it as the featured image, then clicked save and it showed where it was supposed to show.
But on the Popular Posts menu it does not show up.
Sigh. Ready for new ideas.
Oh… I just read the text and it says timthumb.php
So an exorcism is in order. Right? How do I clean up the landscape?
I already replied to this in another thread, however just in case someone else read this thread: the issue described by drwilson is resolved with WPP v2.1.6.
For the sake of completion and to compliment Héctor:
The Exorcism is complete. No more “ghost” thumbnails; TimThumb has disappeared and my blog is now alive and functioning perfectly now that I updated with WPP v2.1.6.
Best of the Fall and Year-End to all.
Hi jenseo,
A short update on the original issue posted here (avg. views not displaying data). Today I finally sat down in front of my computer, found out why that setting wasn’t working and fixed it. I will continue to test the patch in the next couple of days to make sure everything works as expected and then push a plugin update. Shouldn’t take too long.
hi everyone
this post is related to my issue
i add more then one pic in post and when i share post on facebook via sharethis buttons,i only see 1 pic in thumbnail….mostly 1st pic of the post..its happend with my 2 sites
my other site showing all pics in thumbnail
plz its serious issue for me…i hope someone help me
Site link: fbgamingzoon.com
Thankyou
Hi gaming zone,
I’m sorry, how is that related with the topic of the thread (“All-time average daily views problem”)? Also, what does that have to do with the WordPress Popular Posts plugin?