Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #19280

    I just updated a site using Coherence to WordPress 3.5 and it looks like the easy method in the Add Media editor to “Set as featured image” is gone. I did a search and found some other threads about this.

    One of the solutions was to add one image to the slideshow and it would be set as the featured image (to show as thumbnail in recent posts widget) and not show as a slide in the blog overview or single post. This worked for setting a thumbnail, but the one added photo also showed as a slide in the blog overview and single post. What I did to correct this was remove the photo from the slideshow, so this removed the slide from the blog overview and single post, and kept the featured thumbnail.

    This is a solution, but required extra steps and isn’t intuitive to users. Will there or could there be an update or code modification to Coherence so that a single step to “set as featured image” will work?

    #103012

    Hey wildrays,

    This was just pointed out to me earlier today actually :)

    I made this post for Choices but it should hold the same for Coherence though the function starts on line 297 in functions-coherence.php.

    **removed**

    If for some reason this does not work for you, can you post here and let me know. Otherwise I’ll add this as a sticky to each of the applicable theme forums this evening.

    Thanks,

    Devin

    #103013

    I’m using the latest version of Coherence (1.3) and that section of code is actually on lines 324-347 as well. I followed the direction to comment out, it removed all the thumbnails from the recent posts widget (which I don’t want) and I didn’t see the “set featured image” option return to the “Add Media” area.

    Thoughts? Thanks for your help,

    Brian

    #103014

    Hey Brian,

    I just tested on WordPress 3.5 and Coherence 1.3 and didn’t have any issues with the Recent Post widget and was able to get the Set Featured Image using the new media editor.

    Go to Add Media:

    9swb36.png

    Just under the Create Gallery option you should now see the Set Featured Image like below

    2qwo5dh.png

    If you are still having issues with the Recent Posts widget try re-adding it to the widget area you want it to show. Additionally, you could try going into the recent posts its displaying and making sure it has an image set for it.

    Regards,

    Devin

    #103015

    Hmm, I don’t know what is happening. I’m definitely using WordPress 3.5 and Coherence 1.3. I’m going into functions-coherence.php and commenting out lines:

    Then the thumbnails in the Recent Posts widget are gone and I don’t see the Set Featured Image option:

    I’ll have to keep looking into it. I can’t keep the “mistakes” live, so functions-coherence.php is back to normal state right now. The site:

    http://www.mwv-icefest.com

    Am I changing the right lines in functions-coherence.php?

    Thanks,

    Brian

    #103016

    Hey Brian,

    Create an admin account for me and I’ll log in and take a look.

    You can send the information to my email at DevinVinson (at) gmail.com. Make sure to include a link to this topic so that my spam filter doesn’t grab it :)

    Regards,

    Devin

    #103017

    Final Fix:

    You can do one of two things now, completely comment out that function so that it doesn't take effect at all and then add the following to your functions.php:

    add_theme_support( 'post-thumbnails' );

    Or, change that function to:
    //remove post thumbnails from pages, posts and various custom post types
    if(!function_exists('avia_remove_post_thumbnails'))
    {
    add_theme_support( 'post-thumbnails' );

    // add_action('posts_selection', 'avia_remove_post_thumbnails');
    // add_action('init', 'avia_remove_post_thumbnails');
    // add_filter('post_updated_messages','avia_remove_post_thumbnails');
    // function avia_remove_post_thumbnails($msg)
    // {
    // global $post_type;
    // $remove_when = array('post','page','portfolio');
    //
    // if(is_admin())
    // {
    // foreach($remove_when as $remove)
    // {
    // if($post_type == $remove || (isset($_GET['post_type']) && $_GET['post_type'] == $remove)) { remove_theme_support( 'post-thumbnails' ); };
    // }
    // }
    //
    // return $msg;
    // }
    }

    #103018

    I’m using the Angular theme and have the same problem. Could you post a solution for that theme as well? (Or better yet, provide a new update for the themes where this is an issue).

    #103019

    Hi!

    Yes, Kriesi will release an update for Abundance soon (probably next week).

    Best regards,

    Peter

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘Changes to "Set as featured image" after update to WordPress 3.5’ is closed to new replies.