risen
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
Forum: Plugins
In reply to: [Autoptimize] Page with WP Google Maps shortcode won’t loadWhat could cause another plugin to fail in this way? Does the page source give you any clues as to what could be causing the issue?
I got this to work with a little experimentation and, honestly, guessing.
$sanitizer = new AMPFORWP_Content( wp_get_attachment_image( get_field('image'), 'full' ), array(), apply_filters( 'ampforwp_content_sanitizers', array( 'AMP_Img_Sanitizer' => array() ) ) ); echo $sanitizer->get_amp_content();My image field is set to output the ID. If you’re not doing that, you’ll have to adjust your input to wp_get_attachment_image accordingly.
Forum: Fixing WordPress
In reply to: Update to WP 4.7 is corrupting databasegonniac’s solution of restoring AUTO INCREMENT on the posts table worked for me, except that I had to restore it on EVERY table.
Thanks, ASandage!
I found that only noindex is necessary; it doesn’t check for nofollow as well.
Forum: Plugins
In reply to: [WP SEO HTML Sitemap] Authors show up even if disabled in Yoast SEOSame issue here. A workaround is to enable author archives, then open XML Sitemap settings and disable authors on the sitemap. Once saved, go back and disable author archives again.
Viewing 5 replies - 1 through 5 (of 5 total)