Twitter:text:description Missing


#1

Hi! I already have working twitter cards in one site. Now i want to have them in other site. But is not working!!! :frowning:

http://alehlatam.org/2016/12/aleh-presente-en-semana-mexicana-de-gastroenterologia/

The error is ERROR: Required meta tag missing (twitter:text:description)
I see the HTML and meta description is blank.

Here is my code (Don’t recommend my to use Plugins):


#2

Does your Wordpress post / page have an excerpt? If the meta description is blank, it looks like $twitter_desc is not being populated via the get_the_excerpt() PHP function. If the excerpt is empty, that would explain it.


#3

Any update? if not this thread will be closed. Thanks.


#4

Oh! Sorry for not reply this before.

It has <?php the_content();?>, but i tried put that in the “$twitter_desc” variable. And nothing.
Then i tried to replace content for the excerpt, and nothing happened :frowning:


#5

This sounds like your Wordpress site doesn’t have an excerpt set for each post then.


#6

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.