• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Remove featured image not working properly in Crystal Theme

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Remove featured image not working properly in Crystal Theme

This topic is: not resolved

Tagged: remove featured image

  • This topic has 21 replies, 4 voices, and was last updated 12 years, 8 months ago by Lisa at OG.
Viewing 20 posts - 1 through 20 (of 22 total)
1 2 →
  • Author
    Posts
  • October 21, 2013 at 11:08 am #68067
    Lisa at OG
    Member

    I have noticed after the latest update to WordPress and Genesis that there is an issue removing featured image from a post or page. The link "remove featured image" behaves as though it's a dead link; yet, you can ADD a featured image no problem. We are using Crystal Theme Version 1.0, Genesis 2.0.1 and WordPress 3.6.1. In the meantime, we are able to click on the existing featured image and go from there BUT the link should be working properly.

    Can anyone shed some light on this for us? Jere's a link to the client site: http://www.cyndaparisagency.com/ if that is helpful.

    http://www.cyndaparisagency.com/
    October 21, 2013 at 12:33 pm #68075
    Gary Jones
    Member

    Have you tried disabling all plugins and trying then? Genesis doesn't intentionally interact with the media library / featured image choosing UI, and I very much doubt Crystal does either.

    (Front-end link won't help here, when the problem is in the admin 🙂 )


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    October 21, 2013 at 3:04 pm #68091
    Lisa at OG
    Member

    We have not added any addt'l plugins since we first built the site some time ago. They were all working no problem. We have since disabled ALL plugins to see if it would work and it did NOT. Sadly, this would have been an easy fix. Not so lucky though. None of the other StudioPress themes seem to have this issue - ONLY this Crystal Theme. We posted in WordPress.org and they said it was definitely a "theme-related" issue.

    Any other suggestions?

    October 21, 2013 at 4:14 pm #68104
    Gary Jones
    Member

    Can you point me to the WP.org support URL?

    Have you done any customisations to your theme?

    There is a Crystal 1.0.1 available - I'm not sure what the changes were, but it might be worth trying that in case there was a known bug that was fixed.


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    October 21, 2013 at 4:55 pm #68106
    Lisa at OG
    Member

    Gary, I can't find the support URL. Yes, we have done customizations to the Crystal theme but nothing that would affect the featured image functionality. Any customizations done were ages ago when the site was first built and it was working great. No customizations have happened since. The only trigger may have been the updates to WordPress and Genesis.

    We would not want to update to Crystal 1.0.1 because we'd have to re-add all of our custom CSS. This is frustrating. This is the only client with the Crystal theme. It appears the issue is specific to Crystal Theme.

    October 22, 2013 at 3:12 am #68161
    Gary Jones
    Member

    I did a bit of research - I don't *think* the main fix in 1.0.1 will solve your problem, but it's worth doing anyway.

    In functions.php, find and delete the following (originally starting around line 49):

    // Add Portfolio Settings box to Genesis Theme Settings 
    add_action('admin_menu', 'crystal_add_portfolio_settings_box', 11); 
    function crystal_add_portfolio_settings_box() { 
    	    global $_genesis_theme_settings_pagehook; 
     	     
     	    add_meta_box('genesis-theme-settings-crystal-portfolio', __('Portfolio Page Settings', 'crystal'), 'crystal_theme_settings_portfolio',     $_genesis_theme_settings_pagehook, 'column2'); 
    } 
    

    Add the following in it's place:

    add_action( 'admin_menu', 'crystal_theme_settings_init', 15 );  
    /**  
     * This is a necessary go-between to get our scripts and boxes loaded  
     * on the theme settings page only, and not the rest of the admin  
     */  
    function crystal_theme_settings_init() {  
    	    global $_genesis_admin_settings;  
    	      
    	    add_action( 'load-' . $_genesis_admin_settings->pagehook, 'crystal_add_portfolio_settings_box', 20 );  
    }  
    	 
    // Add Portfolio Settings box to Genesis Theme Settings  
    function crystal_add_portfolio_settings_box() {  
    	    global $_genesis_admin_settings;  
    	      
    	    add_meta_box('genesis-theme-settings-crystal-portfolio', __('Portfolio Page Settings', 'crystal'), 'crystal_theme_settings_portfolio',     $_genesis_admin_settings->pagehook, 'main');  
    }  
    

    Change the version number in functions.php from 1.0 to 1.0.1 and do the same in style.css. Other than some extra whitespace for coding standards, that's about all the changes there are.

    Beyond that, I'd need WP admin access (and maybe FTP access) myself to be able to go in and try and determine what the problem might be.


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    October 22, 2013 at 11:51 am #68239
    Lisa at OG
    Member

    Hi Gary, appreciate the help with this. We used backup buddy and reproduced the site on our server. We made the changes you suggested above and there appears to be a syntax error someplace in the code because it won't save properly.

    Having said that, we will give you Admin access to the actual client site so that you can take a look and see what's happening w/ this theme. How do I privately send you the login credentials?

    October 22, 2013 at 12:29 pm #68252
    Gary Jones
    Member

    You can send it via the contact form on http://gamajo.com or via Skype (garyjones5). I'll need FTP and WP admin access,


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    October 22, 2013 at 12:47 pm #68257
    Lisa at OG
    Member

    Just sent it via gamajo.com form. Thanks.

    October 25, 2013 at 7:26 pm #68974
    Lisa at OG
    Member

    Gary has done some research for us and for some reason he is not having the same issue as we are. We have tried many different things like update Javascript on our computer, using different browsers (doesn't appear to be a browser issue). We even tried it on an iPad with the same result - we can't remove a featured image using the text link -- we can only remove it by clicking on the image itself. So how come Gary can access the client site and use the text link to remove featured images but we can't.

    Good questions. Anybody got any other suggestions? In the meantime, Gary thanks for trying to assist us.

    October 25, 2013 at 7:55 pm #68985
    AnitaC
    Keymaster

    Are you on a PC or MAC? What operating system?


    Need help with customization or troubleshooting? Reach out to me.

    October 25, 2013 at 8:52 pm #68995
    Lisa at OG
    Member

    Anita, good question. I wonder if Gary uses a Mac. I'm on a PC using Windows 7.

    October 25, 2013 at 8:53 pm #68996
    AnitaC
    Keymaster

    Send me an email on my website with a way for me to take a look. I am using Windows 8.


    Need help with customization or troubleshooting? Reach out to me.

    October 25, 2013 at 9:04 pm #68998
    AnitaC
    Keymaster

    Just thought of something. Update your Java and try it.


    Need help with customization or troubleshooting? Reach out to me.

    October 25, 2013 at 9:12 pm #69000
    Lisa at OG
    Member

    As per my thread above we are on the most up to date Java. Sadly, that didn't resolve the issue for us. Fortunately, we have w work around - it's not at a stand still. It's just frustrating not to understand why it won't work for us.

    October 27, 2013 at 3:01 pm #69299
    Gary Jones
    Member

    Java has nothing to do with WP, and Java is different to javaScript (which does).

    For reference, I'm on Windows 7, and managed to add and remove a featured image perfectly fine with Chrome and IE10, with a new draft post, with whatever plugins were active at the time I checked.

    Plugins were disabled, with no change in behaviour. Lisa reports that changing theme DOES solve the problem, leading to an issue with Genesis or Crystal, but these are obviously well used themes, and I've not seen any other reports like this. I didn't get around to disabling customisations (it's a live site), but I couldn't see anything obvious in the code. There were no JS errors for me.

    I'm outta ideas.


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    October 27, 2013 at 9:45 pm #69383
    Sridhar Katakam
    Participant

    I tested this on my localhost and don't find the problem. The only difference is, WordPress version is the latest: 3.7.

    Have you tried using other browsers? Is the problem present in both IE and Chrome?


    Genesis Tutorials | Follow me on Twitter

    October 27, 2013 at 10:08 pm #69392
    Lisa at OG
    Member

    Hi Sridhar, yes the problem is present in IE 10 and Chrome -- also on an iPad.

    Thanks Gary for the correction. I should have said Javascript.

    October 27, 2013 at 10:21 pm #69395
    Sridhar Katakam
    Participant

    How about in Firefox?

    When you inspect the 'Remove featured image' link using Chrome's Inspect Element, what's the generated HTML?

    Ex.:

    <p class="hide-if-no-js"><a href="#" id="remove-post-thumbnail" onclick="WPRemoveThumbnail('894642e8f5');return false;">Remove featured image</a></p>


    Genesis Tutorials | Follow me on Twitter

    October 28, 2013 at 10:14 am #69455
    Lisa at OG
    Member

    We use Firebox Version 24 and this is what we see using Firebug:

    <a href="&quot;#&quot;">Remove featured image</a>
    
  • Author
    Posts
Viewing 20 posts - 1 through 20 (of 22 total)
1 2 →
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble