Community Forums › Forums › Archived Forums › General Discussion › Remove featured image not working properly in Crystal Theme
Tagged: remove featured image
- This topic has 21 replies, 4 voices, and was last updated 10 years, 5 months ago by Lisa at OG.
-
AuthorPosts
-
October 21, 2013 at 11:08 am #68067Lisa at OGMember
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 #68075Gary JonesMemberHave 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 #68091Lisa at OGMemberWe 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 #68104Gary JonesMemberCan 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 #68106Lisa at OGMemberGary, 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 #68161Gary JonesMemberI 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 #68239Lisa at OGMemberHi 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 #68252Gary JonesMemberYou 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 #68257Lisa at OGMemberJust sent it via gamajo.com form. Thanks.
October 25, 2013 at 7:26 pm #68974Lisa at OGMemberGary 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 #68985AnitaKeymasterAre you on a PC or MAC? What operating system?
Love coffee, chocolate and my Bella!
October 25, 2013 at 8:52 pm #68995Lisa at OGMemberAnita, good question. I wonder if Gary uses a Mac. I'm on a PC using Windows 7.
October 25, 2013 at 8:53 pm #68996AnitaKeymasterSend me an email on my website with a way for me to take a look. I am using Windows 8.
Love coffee, chocolate and my Bella!
October 25, 2013 at 9:04 pm #68998AnitaKeymasterJust thought of something. Update your Java and try it.
Love coffee, chocolate and my Bella!
October 25, 2013 at 9:12 pm #69000Lisa at OGMemberAs 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 #69299Gary JonesMemberJava 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 #69383Sridhar KatakamParticipantI 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?
October 27, 2013 at 10:08 pm #69392Lisa at OGMemberHi 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 #69395Sridhar KatakamParticipantHow 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>
October 28, 2013 at 10:14 am #69455Lisa at OGMemberWe use Firebox Version 24 and this is what we see using Firebug:
<a href=""#"">Remove featured image</a>
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.