Skip to main content

I found where the problem was. The code was attached to the "the_content"the_content hook which runs after the thumbnail is generated.

Attached the code to "post_thumbnail_html"post_thumbnail_html and it works now.

I found where the problem was. The code was attached to the "the_content" hook which runs after the thumbnail is generated.

Attached the code to "post_thumbnail_html" and it works now.

I found where the problem was. The code was attached to the the_content hook which runs after the thumbnail is generated.

Attached the code to post_thumbnail_html and it works now.

Source Link
Gadzhev
  • 181
  • 5

I found where the problem was. The code was attached to the "the_content" hook which runs after the thumbnail is generated.

Attached the code to "post_thumbnail_html" and it works now.