StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have -- and this forum will be removed on July 1st, 2013.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
  #1  
Old 11-09-2012, 01:50 PM
sosella sosella is offline
Registered User
Genesis Member
 
Join Date: Oct 2012
Posts: 16
Default Image appearing twice in a post

When I first created the post I set the image I wanted to use as the Featured Image. Then I changed my mind and I inserted the image in the post. However, when I do a preview I see the image as what I think is the featured image location, and also in the post. How can I just get the one in the post? It can be seen at:

http://recyclewear.com/blog
  #2  
Old 11-09-2012, 02:25 PM
NicktheGeek's Avatar
NicktheGeek NicktheGeek is offline
Forum Manager
 
Join Date: Feb 2010
Posts: 62,650
Default

you can remove this code from the functions.php file
PHP Code:
add_action'genesis_post_content''goinggreen_post_image_single');
/**
 * Add featured image to single posts
 */
function goinggreen_post_image_single() {
    
    if ( ! 
is_singular'post' ) )
        return;
    
    
$img genesis_get_image( array( 'format' => 'html''size' => genesis_get_option'image_size' ), 'attr' => array( 'class' => 'post-image' ) ) );
    
printf'<a href="%s" title="%s">%s</a>'get_permalink(), the_title_attribute'echo=0' ), $img );
    

__________________
Nick "Fred and/or George Weasley" Croft
Designs by Nick the Geek
@Nick_theGeek on Twitter

Make web design easier, get FireBug for FireFox

Want to learn more about Genesis? Check out my Genesis Explained Series

  #3  
Old 11-09-2012, 02:32 PM
sosella sosella is offline
Registered User
Genesis Member
 
Join Date: Oct 2012
Posts: 16
Default

Well..i gave up. I just reset it as the featured image. Go ahead and close this topic.
  #4  
Old 11-09-2012, 02:48 PM
NicktheGeek's Avatar
NicktheGeek NicktheGeek is offline
Forum Manager
 
Join Date: Feb 2010
Posts: 62,650
Default

You're welcome.

Since this is resolved I'm going to close this thread.
__________________
Nick "Fred and/or George Weasley" Croft
Designs by Nick the Geek
@Nick_theGeek on Twitter

Make web design easier, get FireBug for FireFox

Want to learn more about Genesis? Check out my Genesis Explained Series

 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Image captions not appearing when inserted in post aznewsguy General Discussion 8 03-27-2009 05:49 PM


All times are GMT -5. The time now is 02:58 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.