Genesis Sandbox Featured Content Widget. Based on Nick Croft's Genesis Featured Widget Amplified for additional functionality which allows support for custom post types, taxonomies, and extends the flexibility of the widget via action hooks to allow the elements to be re-positioned or other elements to be added.
Hi,
I'd like to remove the featured image if a custom field has a certain value.
I tried with
remove_action( 'gsfc_before_post_content', array( 'GS_Featured_Content', 'do_post_image' ) ); remove_action( 'gsfc_post_content', array( 'GS_Featured_Content', 'do_post_image' ) ); remove_action( 'gsfc_after_post_content', array( 'GS_Featured_Content', 'do_post_image' ) );
but I am having problems with it: it's removing the image only from the first post.
How should I do it?
Thanks
PS: I am writing here since on WP support page you are redirecting support on GitHub
Hi, I'd like to remove the featured image if a custom field has a certain value. I tried with
remove_action( 'gsfc_before_post_content', array( 'GS_Featured_Content', 'do_post_image' ) ); remove_action( 'gsfc_post_content', array( 'GS_Featured_Content', 'do_post_image' ) ); remove_action( 'gsfc_after_post_content', array( 'GS_Featured_Content', 'do_post_image' ) );
but I am having problems with it: it's removing the image only from the first post.How should I do it? Thanks
PS: I am writing here since on WP support page you are redirecting support on GitHub