sdaveCL
Forum Replies Created
-
This is caused by an incompatibility with PHP 7.1 and higher. Upgrading my old sites from 7.0 to 7.4 made my admin section go wonky. This is the fix.
If your Installed Plugins page was not showing all plugins, you could not select all, and buttons under plugin names were missing, replacing the line as OP states does the trick.
$data = array(); is still working in August 2020. Thank you!
Deactivating a plugin without admin access can be done by renaming the plugin folder under wp-content/plugins.
- This reply was modified 5 years, 9 months ago by sdaveCL.
marvin_edward the concern is not how to set a default og:image.
The problem is a bunch of og:images automatically added to the <head> which prevents social networks from picking up the one you want when sharing a page/post.
This post describes how to strip all but the featured image og:image tag of the post from the <head>:
http://webgilde.com/en/wordpress-seo-facebook-image-open-graph/
Takes a snippet of code added to your theme’s functions.php to do it.
The exact snippet I added was this:
add_filter('wpseo_pre_analysis_post_content', 'mysite_opengraph_content'); function mysite_opengraph_content($val) { return preg_replace("/<img[^>]+>/i", "", $val); }This post describes how to strip all but the featured image og:image tag of the post from the <head>:
http://webgilde.com/en/wordpress-seo-facebook-image-open-graph/
Takes a snippet of code added to your theme’s functions.php to do it.
The exact snippet I added was this:
add_filter('wpseo_pre_analysis_post_content', 'mysite_opengraph_content'); function mysite_opengraph_content($val) { return preg_replace("/<img[^>]+>/i", "", $val); }I think this has something to do with how WordPress SEO is implementing Open Graph image tags now. Every single image featured in a post now has an og:image tag in the <head> section.
I just tried posting to Google+ and I can’t select the Featured Image because there are too many og:image tags and G+ wont allow me to select from all of them.
Another thread about this issue here:
http://ww.wp.xz.cn/support/topic/change-the-og-image-propertySame problem here. With an image heavy post that I have I can’t get Google+ to pick up the Featured Image because there are too many og:image tags in the <head>.
Forum: Plugins
In reply to: [W3 Total Cache] Timestamp removed in 0.9.2.10?WP version 3.8
W3 Total Cache version 0.9.3I’m having the same problem, but even after turning off the minify option there still aren’t any timestamps.
Cache flushed. Different browsers tried. Turned off all plugins but W3 Total Cache. Switched to a default WordPress theme. No timestamps to be found.
It’s doing the same thing with paginated galleries, where you get the “Not Found” error when clicking to go to the next page.
It’s the URL that it tries to load which is faulty. It looks like it is trying to link to another WordPress installation inside the gallery folder.
This would be a very nice feature.
According to another user, adding the following to your theme’s functions.php does the trick:
add_filter('wpseo_locale', 'override_og_locale'); function override_og_locale($locale) { return "en_GB"; }Of course, you would replace “en_GB” with your country code.
http://ww.wp.xz.cn/support/topic/plugin-wordpress-seo-by-yoast-how-do-you-set-the-oglocale-value
Seems quite a few people are having this problem.
http://ww.wp.xz.cn/support/topic/page-seo-section-not-saving
I started a thread about this while back but no solution or response from Yoast yet.
http://ww.wp.xz.cn/support/topic/cant-change-titles-and-descriptions
In my case, it is not a plugin conflict as I have tried disabling all plugins but WordPress SEO and it did not fix the problem.
What does work is switching to a default WordPress theme then switching back to the site’s regular theme. This only works temporarily and the problem comes back after a few days.
Problem exists in all browsers.
I don’t see any errors in Chrome console, and WordPress debug mode offers no clues that I see.
Works fine for me. I’d advise you to add a longer description though.
WordPress SEO does automatically insert valid Google Authorship markup, but not when the user enters their profile URL incorrectly.
You must insert your FULL Google+ profile URL into “Your Profile” in WordPress, not just the number. You need to have the “https://plus.google.com/” in there as well.
Currently, the author meta in the <head> of your site looks like this:
<link rel="author" href="103093506223212784034">That is acting as a relative URL, so it’s just tacking that number onto the page’s current permalink.
What you’re actually linking to in this case is http://www.interactiontalks.com/teen-looks/teen-acne/teen-acne-home-acne-care/103093506223212784034
Thing is, you haven’t even filled out your Google+ profile so Authorship is going to do just about nothing for you. At the very least you should add a profile picture and a little bit to the “About” section, even if you’re not posting.
Having same problem with a UK website.
Changed the language in wp-config.php to “en_uk” which changes the meta language tag but the og:locale does not follow suit.
Changes made in meta box are not saving again.
I’m not seeing any errors in Chrome or in the WordPress Debug console.
Again tried deactivating all plugins but WordPress SEO to no avail. Problem occurs in all browsers.
I’m having a hard time understanding how this problem could come and go, why changing the themes back and forth from default would fix it but only temporarily.
I should also mention that I have other websites hosted with the same hosting company that are not having this problem.