sadhaka
Forum Replies Created
-
+1 for this. Doesn’t appear on my featured images, either, which rather makes it pointless, because those are the very images I’d like visitors to pin.
Forum: Plugins
In reply to: [WordPress-Amazon-Associate] Link cloaking possible?The reason I ask this is because another amazon associates plugin cloaks amazon affiliate links from Google – is this even necessary? Is there a URL reference for a Google policy to downgrade SEO rankings for pages containing amazon affiliate links? If there isn’t I’ll delete the other plugin and go with this one.
Anyone?
I’d like to know why this happens, too.
Forum: Plugins
In reply to: [W3 Total Cache] CDN works on home page, but not on post pagesInteresting. I’m just now thinking of integrating a CDN, and your experience doesn’t bode well for using it in conjunction with W3 Total Cache. Think I’ll take a look at WP Super Cache, thanks.
Forum: Plugins
In reply to: [W3 Total Cache] Site got slower after using plugin with Amazon CloudfrontWell, it could be CloudFront. Some people like CloudFront, but I tried it, found it super-whizzo fast for 24 hours, then my site crawled for a week. Discontinued it, waited for the name server addresses to resolve back (seemed to take ages), and when they did, my site speeded up again. I wouldn’t touch CloudFront again.
Having said all that, I do agree that there seems little support for W3TC or any sign of further updates.
I’m getting this problem, where I get the PHP error reported by jamieskella.
It’s related to one single post. Accessing that one post causes the PHP error, and nothing renders in the page after the first part of the breadcrumbs code.The PHP error points to a line referring to the “get_category_parents” function in the dimox_breadcrumbs() function in the theme’s functions.php
I found on a hunch that if I changed the offending post’s permalink name, the whole page would suddenly render OK again.
Because the search engines wouldn’t find my old permalink, I set up a 301 redirect in my .htaccess file so that requests for the old permalink would get redirected to the new one. But of course really I’d like to use the permalink I choose – the “old” one.
Unfortunately jonathan’s fix didn’t work for me.
Without exhaustive searching, I can’t be sure that the problem isn’t happening on other posts, and of course I’d like to be able to use the permalink name that I choose.
What can be possibly causing the page to stop rendering unless I edit the permalink name?
Florence I find it impossible to leave comments on your site – they’re not working – error 403 every time (is this jetpack causing problems?). You can email me at: [email protected] – I’ll delete this email account after I hear from you. Cheers
Hey Florence – not sure how to contact you via your site – was going to ask you if the jetpack plugin plays OK with your theme…
Ah, I thought so – good idea. It’s a great site, I like it a lot. I will leave some comments on it! Thanks.
Thanks for taking the time to go through that step by step. In fact, it looks like I did make exactly the changes you describe.
I was getting confused (and I probably confused everyone here as well) because I thought the plugin somehow changed the smaller thumbnails on other pages (e.g., the home page “latest” loop) as well – but of course it doesn’t!
I was under that impression because the home page thumbnails on your site looked just like the video preview/keyframe in your post page. So was that coincidence, or did you ‘fake it’ and match the two images as well?
I think I understand what’s going on. This plugin does not change the smaller thumbnails on the home page or anywhere else; it only overrides the featured image on the post page into a video. And, I guess, the only way to match the smaller thumbnails on other pages like the home page to the appearance of the video picture is to ‘fake it’ by matching the “real” featured image to the video keyframe.
If I’ve got this wrong, then someone please enlighten me.
@florence – the second instance of that code snippet is to do with the “related posts” thumbnails.
I still can’t get the “video thumbnail” to show in the main loop. I can only get a “normal” still image featured image to show there, if I insert one as well as the video embed code.
I have the same theme as Florence. I updated the /replace-featured-image-with-video/pt-page-featured-video.php file as “disagree” suggested and got the box to insert the video embed code – great.
But then I was in the same situation as Florence. In single.php, I replaced:
<?php if ( (function_exists('has_post_thumbnail')) && (has_post_thumbnail()) ) { /* if post has a thumbnail */ ?> <?php the_post_thumbnail('post-thumb', array('class' => 'post-thumb')); ?> <?php } ?>
… with Mikkel’s code suggestion (not the one Florence initially tried), i.e., this:
<?php if(get_post_meta(get_the_ID(), "_related-video", true) != ''){ // show the video embed code if there is one echo get_post_meta(get_the_ID(), "_related-video", true); }else{ if ( (function_exists('has_post_thumbnail')) && (has_post_thumbnail()) ) { // show the image thumb if there is one, and the post does not have a video the_post_thumbnail('post-thumb', array('class' => 'post-thumb')); } } ?>
… but now, although the post itself shows the video OK as the featured image, the thumbnail image in the home loop shows the other featured image – the still picture one (not the video thumbnail). If I remove that still featured image, but keep the embed code, the home loop shows no thumbnail at all. (I suppose I could make a still featured image picture shot of the video, but I’d like to get it done properly.)
So Florence, how did you get the home loop thumbnail to work (as well as the post featured image) with the foodpress theme?
I notice that in foodpress’s single.php, there is more than one instance of:
<?php if ( (function_exists('has_post_thumbnail')) && (has_post_thumbnail()) ) ?>
The first is in the code chunk that Florence replaced. The second looks like this:
<?php if ( (function_exists('has_post_thumbnail')) && (has_post_thumbnail()) ) { /* if post has a thumbnail */ ?> <a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_post_thumbnail('grid-thumb'); ?></a> <?php } ?>
… should that be changed as well, to show the home loop thumbnail? (Though do I get the impression that Florence managed to show the home loop thumbnail without changing that extra bit of code?).
So near yet so far!
A big thanks for that, efikim !
And yes, how strange that the bug should still be evident in a plugin which we are assured is still being maintained …
This is a tad ridiculous: the logs of millions of users of this plugin must be filling with these errors, yet the plugin author can’t reply to address the issue?
I’d be tempted to place a dummy function for w3_url_format() at the top of:
wp-content/plugins/w3-total-cache/lib/W3/Plugin/PgCacheAdmin.php
… but I can’t be sure the function isn’t being called some other way.