我在messenger中共享了该网站,并注意到生成的框中没有特色图片。我知道,如果我想分享帖子,我可以使用WordPress功能,如
the_post_thumbnail()
等。但是,如果我分享整个网站怎么办? p.s我在Google上没有找到关于共享整个网站的任何内容。 我认为这样的事情会有所帮助:
if ( has_post_thumbnail() ) {
the_post_thumbnail();
}
the_content();
任何帮助将不胜感激
答案 0 :(得分:1)