dmldml
Forum Replies Created
-
Forum: Plugins
In reply to: [Inline Google Spreadsheet Viewer] Nested ShortcodesTHANK YOU !!
I actually did spend hours searching for a solution, including reading your instructions and support tickets, but I didn’t manage to find the post that you shared.
I’ve managed to get this working. Super happy about it, thanks so much.
cheers
Forum: Plugins
In reply to: [Yoast SEO] Yoast SEO and NaNI am having this problem running Yoast Version 3.1.2 – have to deactivate Yoast in order to be able to crop images.
This is still broken for me even with Yoast Version 3.1.2 – deactivating Yoast makes the image crop function work again.
Forum: Plugins
In reply to: [WP Super Cache] SCARY wp-cache keys: have we been hacked ??Is this happening because of the XSS vulnerability?
Please respond – this is really important, not sure why this thread is being overlooked.
Forum: Plugins
In reply to: [Yoast SEO] Filter to change rel=canonical tag on some pagesps again … after trying the above, I then tried the following:
add_filter( 'wpseo_canonical', 'remove_pagination' , 1); function remove_pagination($canonical) { if (strpos($canonical,'/page/') !== false) { return substr($canonical, 0, -8); } else { return ($canonical);} }
and this seems to work!! Does this look right to you?
thanks
Forum: Plugins
In reply to: [Yoast SEO] Filter to change rel=canonical tag on some pagesps, I have tried using the following code in the main functions.php file:
add_filter( 'wpseo_canonical', 'remove_pagination' , 1); function remove_pagination($canonical) { if (strpos($canonical,'/page/') !== false) { return substr($canonical, 0, -8); } }
This has the desired result when the string “/page/” is included in the URL, but when the string “/page/” is not in the URL, this is now not returning any rel=canonical tag at all.