WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: Open Graph] How to resolve has_post_thumbnail fatal error (2 posts)

  1. Leia Scofield
    Member
    Posted 4 years ago #

    If you receive a Fatal error: Call to undefined function has_post_thumbnail() warning, add the following to your theme's functions.php file:

    add_theme_support( 'post-thumbnails' );

    http://wordpress.org/extend/plugins/opengraph/

  2. bottomlessinc
    Member
    Posted 4 years ago #

    For an Open Graph implementation, use this plugin instead:
    http://wordpress.org/extend/plugins/like

    It has complete support for the Open Graph protocol, and you can (optionally) display Facebook's new Like button on your posts.

Topic Closed

This topic has been closed to new replies.

About this Topic