Good morning. You see, this is bringing me head. First the problem. I have tried with 2 plugins of social networks of those that add buttons to share articles or posts in Wordpress. When you give it to share on Facebook choose an image that does not correspond with which you should choose which would be the main image of the entry although title and the Excerpt if it takes them well.
I have tried with the solution to try simply to put in the header
<meta property="og:image" content="[enlace-imagen]" /> (sin los corchetes).
This did not work.
I searched the following link and tried the 2 link The first one is with the Yoast SEO plugin upload in each entry individually the image you want Facebook to take when sharing the post and it does not work either. I have tried the last option that is to use the Facebook Debugger Tool and it has not helped.
I do not know how to make the image of the article. Do I have to specify something in the wordpress theme code?