Support » Plugins and Hacks » Set featured image

Set featured image

  • Hi, Im have installed the plugin to my server in the plugin folder of wordpress. I now have access to it in the admin site but everytime I select the ‘Featured Image’ nothing is displaying. It was working fine yesterday but no joy today. Does anyone know why this is happening? I have tried updating all the plugin files and creating new PNG but still no luck.



Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author davelester


    Hi Ben,

    Did you recently change the theme that you’re using on your WordPress site? It’s possible that the theme you switched to doesn’t have post-thumbnails enabled, which adds the ability to set a Featured Image. You should be able to solve this one of two ways:

    1. Switching back to the theme you originally had active when you installed the plugin
    2. Adding the following code to your theme’s functions.php file:

      add_theme_support( ‘post-thumbnails’ );

      , which was similar advice to what I shared in this ticket.

    Let me know how it goes!


    I have recently changed the theme and it work with the default. Rather than change back Ive tried adding the code but still no luck. Which part of the functions.php do I need to paste it into?

    Plugin Author davelester


    Make sure you add it to the functions.php of the theme you wish to use — this will be in the /wp-content/themes/themename/ folder

    You should be able to add the code below the <?php in your file

    Excellent, ive managed to get the badge to display in the thumbnail. Thanks. New problem though, now when I create an award and hit ‘Publish’, I get this message –

    Fatal error: Call to undefined function wpbadger_template() in /home/a1632350/public_html/wp-content/plugins/wpbadger/includes/awards.php on line 893

    Any ideas??

    Cheers 🙂

    This is what is on line 893

    $subject = wpbadger_template(
    get_option( ‘wpbadger_awarded_email_subject’ ),
    ‘BADGE_TITLE’ => $badge_title,
    ‘AWARD_TITLE’ => $award_title


    Plugin Author davelester


    Can you let me know what version of WordPress you’re running? 3.4.2 or higher is required

    Im running version 3.5.1. I can give you the login details so you can take a look if you dont mind. Im so close I can taste it 🙂

    Hi, I deleted the plugin and then reinstalled it and it seems to work fine. The only slight issue is that it pushes the badges in the spam folder of my email. Is there any way it can go into the main inbox?


    Plugin Author davelester


    Hi Ben,

    Happy to hear that you’ve got the plugin working. In your email client, you may need to whitelist the domain name the notice was sent from — the plugin uses WordPress’ default way of sending emails, so I’m not sure how else to fix this problem. I would assume that if the badge creation email is being caught in your spam folder, then other wordpress emails would also be trapped there.


Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Set featured image’ is closed to new replies.