Twitter cards not showing - Wordpress Divi theme


#1

On my Wordpress site which uses the Divi theme, some posts successfully generate a Twitter card, others don’t.

For example, http://news.umary.edu/st-gregorys-university-surprises-monsignor-shea-with-honorary-degree/ does generate a Twitter card.

http://news.umary.edu/bioethics-seminar/ does not. I get the following error from the card validator:

INFO: Page fetched successfully
INFO: 25 metatags were found
INFO: twitter:card = summary_large_image tag found
ERROR: Invalid value (message: Field description failed to validate because: text expects tag property, but not found in Map().)

I can’t figure out why some pages successfully generate the card/description metadata while others don’t. One notable difference I’ve noticed is that http://news.umary.edu/bioethics-seminar/ actually utilizes the Divi Builder whereas the others are just text with images inserted.

Any suggestions?


#2

Yes this is happening, even I am facing same issue.
here is example page https://bestvacationrentalstips.com/vacation-rentals-in-las-vegas/
I tried to disable DIVI builder on this page so it shows the twitter card, but once I again used DIVI, twitter card disappeared .
its strange. googled a lot, but didn’t found any solution yet.

awaiting solutions


#3

We are not able to support the Divi code via these developer forums - if it is somehow not correctly populating the Twitter card metadata then you should probably raise that with the author of the code.