Community Forums › Forums › Archived Forums › General Discussion › Remove Featured Image
Tagged: featured image
- This topic has 10 replies, 3 voices, and was last updated 10 years, 2 months ago by Anthony Galli.
-
AuthorPosts
-
January 11, 2014 at 11:27 pm #84727Anthony GalliMember
How do I remove the featured image from streamline while keeping the in post image? This is in reference to my blog post: 5 Steps on How to Create a Mac Vision Board
I blog about great adventures, good habits, and quantified success! Join me on the open road @ http://www.AnthonyGalli.com
January 14, 2014 at 9:23 pm #85261Anthony GalliMemberI keep trying, but failing. Is this impossible to do?
I'd like to use a picture aligned left with my text. But when I insert a picture there it also shows up above the post title as a featured image. The two pictures are redundant. I'd just like to have the aligned left in-text picture... now I'm becoming redundant.
I blog about great adventures, good habits, and quantified success! Join me on the open road @ http://www.AnthonyGalli.com
January 15, 2014 at 8:12 am #85324SummerMemberI haven't used the newer Streamline, but if you change the Genesis settings to not include the featured image, does that work?
WordPress / Genesis Site Design & Troubleshooting: A Touch of Summer | @SummerWebDesign
Slice of SciFi | Writers, After DarkJanuary 15, 2014 at 12:18 pm #85368Anthony GalliMemberI'm using the old streamline. Within the Genesis theme setting I already don't have checked off "include featured image." Any other ideas on what might work?
I blog about great adventures, good habits, and quantified success! Join me on the open road @ http://www.AnthonyGalli.com
January 15, 2014 at 1:32 pm #85381SummerMemberThen you're getting stung by the automatic fallback behavior in Genesis.
Read some about it here (and yes, I did write that plugin):
Brad Dalton also posted a tutorial on how to stop this behavior using Gary's code:
http://wpsites.net/web-design/prevent-genesis-2-0-archives-from-using-first-image-in-content-area-as-featured-image/For my needs, I didn't use the conditional, just returning "fallback" as "false" was what I wanted, all the time.
These solutions only work in Genesis 2.0
WordPress / Genesis Site Design & Troubleshooting: A Touch of Summer | @SummerWebDesign
Slice of SciFi | Writers, After DarkJanuary 16, 2014 at 3:23 am #85465SantelParticipantI am using Streamline Pro which is the new version here, http://www.santelphin.com/
Since I am update to the new version already, I don't have the old file but I hope nothing change between the two version. You can use FTP client to access to functions.php. If you are not familiar with php editor, I would recommend you to go to Dashboard > Appearance > Editor,
The default will point to styles.css, check on the right side, Template > Them function (functions.php), click on it and remove these lines:
//* Remove default post image
remove_action( 'genesis_entry_content', 'genesis_do_post_image', 8 );//* Add post image above post title
add_action( 'genesis_entry_header', 'streamline_post_image', 1 );
function streamline_post_image() {if ( is_page() || ! genesis_get_option( 'content_archive_thumbnail' ) )
return;if ( $image = genesis_get_image( array( 'format' => 'url', 'size' => genesis_get_option( 'image_size' ) ) ) ) {
printf( '', get_permalink(), $image, the_title_attribute( 'echo=0' ) );
}}
Then click update file (at the bottom) to save the modification. hope magic will happen for you.
Blogging Tips – KhmerBird.com
January 24, 2014 at 11:00 am #86843Anthony GalliMemberI've been trying both of your suggestions. I can't get either to fully work.
Santel your suggestion solves the problem by stopping all in-post images from appearing up above the post, but in certain situations I want to display a featured image above the text and by eliminating the code it prevents me from having the flexibility to do so.
Do you know how I can maintain that flexibility?
I blog about great adventures, good habits, and quantified success! Join me on the open road @ http://www.AnthonyGalli.com
January 24, 2014 at 1:41 pm #86869SummerMemberI think you may be confusing post image and Featured Image... they are two different things.
Do you use the Featured Image box in your post editor page, or are you only using the Add Media to insert an image into the post body?
If you specifically select a Featured Image using that metabox, that image will override any post image fallback. Then the other code in the snippets from my previous post should work just find for you.
WordPress / Genesis Site Design & Troubleshooting: A Touch of Summer | @SummerWebDesign
Slice of SciFi | Writers, After DarkJanuary 26, 2014 at 3:37 pm #87128Anthony GalliMemberI took a screenshot of what I'm talking about (sorry for the confusion or for being confused myself):
file:///Users/galli01anthony/Desktop/Screen%20Shot%202014-01-26%20at%204.19.43%20PM.pngWhen I click, "Add Media" and then click "Insert Into Post" - the image not only shows up within the post (as I want it to), but it also shows up above the title (which I don't want). As you can see in my link, I didn't click on "Set featured image," but Genesis duplicates the image anyway.
How do I prevent the image from duplicating above the blog post title?
I blog about great adventures, good habits, and quantified success! Join me on the open road @ http://www.AnthonyGalli.com
January 27, 2014 at 10:45 am #87242SummerMemberLooks like your snapshot image didn't attach.
Anyway, Genesis by default will set your first post image as the Featured Image, as I said above.
If you only want to display Featured Images where you specifically set them, then the code in Brad's tutorial will work... I've used it myself as an add-on to functions.php, and also as the plugin I wrote with Gary Jones' help.
But if you want to be 100% sure about disabling the fallback Featured Image behavior, use this modification of Brad's snippet:
function prefix_stop_auto_featured_image( $args ) { $args['fallback'] = false; return $args; }
That mod is basically what my plugin does, completely eliminates the fallback behavior no matter what.
The one caveat is that you must be running Genesis 2.0... this will not work if you're still running Genesis 1.9 or earlier.
WordPress / Genesis Site Design & Troubleshooting: A Touch of Summer | @SummerWebDesign
Slice of SciFi | Writers, After DarkJanuary 29, 2014 at 5:37 pm #87748Anthony GalliMemberSee HERE for how Summer figured it out:
http://www.studiopress.community/topic/damn-image-duplicating-wont-stop/
I blog about great adventures, good habits, and quantified success! Join me on the open road @ http://www.AnthonyGalli.com
-
AuthorPosts
- The topic ‘Remove Featured Image’ is closed to new replies.