Twitter card type and WP galleries
-
Hi guys,
Just wanted to point out that I’m using a custom shortcode for the WP galleries (rewriting it / replacing the original with stuff) and this gives problems with the plugin’s 7.7.3 and WP 4.9.7.
I have lots of plugins installed so it may contribute to the trouble.
The case is that the post gallery (in my case in a custom post type), will be output on the
head
HTML section, where the twitter metadatas should go (bad thing).To fix it, at least provisionally, I went to
/wp-content/plugins/wordpress-seo/frontend/class-twitter.php
and on line 100 commented out the galleries thing. It worked.Additionally, I have encountered problems saving fields on the Social area of the plugin, admin-side.
I may return over that later on, but for now I just wanted to give some clues about this, if this is going to be reviewed on the future.
Cheers,
- The topic ‘Twitter card type and WP galleries’ is closed to new replies.