Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

[SOLVED] Use Custom Field image_src to Show Thumbnail in Excerpt


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Mar 5, 2011, 11:43 AM
Big Geek Daddy's Avatar
Big Geek Daddy
 
42 posts · Nov 2009
United States
Is there a way to use a custom field (image_src) to show an image in the Excerpt on the category pages? I don't have an image in the post itself so just trying to figure out if the custom field can be used to do this.

If possible, what is the code and where would it go in the Theme?
  #2  
Old Mar 5, 2011, 10:40 PM
lmilesw's Avatar
lmilesw
 
10,107 posts · Jul 2009
Central New York State USA
How about using the featured image on the post?
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Mar 6, 2011, 07:10 AM
Big Geek Daddy's Avatar
Big Geek Daddy
 
42 posts · Nov 2009
United States
There isn't a featured image. The posts don't have an images in them and I'm using the image_src as a custom field so the nrelate Plugin will work. Just trying to figure out if I can also use that custom field to show the same thumbnail in excerpts.
  #4  
Old Mar 6, 2011, 08:31 AM
lmilesw's Avatar
lmilesw
 
10,107 posts · Jul 2009
Central New York State USA
There is probably some way if you did into the code but you could also just add the image you are pointing to in the custom field as the featured image of the post. That image will show up in the excerpt.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #5  
Old Mar 6, 2011, 08:45 AM
Big Geek Daddy's Avatar
Big Geek Daddy
 
42 posts · Nov 2009
United States
Well unless I'm completely missing something using the Featured Image Adds the image to the post. I don't want the image to display in the post. Also, when I tried this just now the image did show up in the post but not in Excerpt.
  #6  
Old Mar 6, 2011, 08:55 AM
lmilesw's Avatar
lmilesw
 
10,107 posts · Jul 2009
Central New York State USA
When I tried it the image showed in the excerpt and not the post. Hmmm.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #7  
Old Mar 6, 2011, 09:12 AM
Big Geek Daddy's Avatar
Big Geek Daddy
 
42 posts · Nov 2009
United States
OK...I think I see how your doing that. I was trying to add image using From URL tab and it appears you're using Media Library tab. The Media Library Tab has "use as featured image" while the URL Tab only has "Insert into Post".

Since I've been hosting my images somewhere else this kind of leaves me in a bind unless I can somehow use the current image_src field or manually go back and add all my images to the Media Library then update individual posts. At least going forward I know what the option is...just all the previous posts...arghhhh!!! Live and Learn I guess...LOL.
  #8  
Old Mar 6, 2011, 04:05 PM
lmilesw's Avatar
lmilesw
 
10,107 posts · Jul 2009
Central New York State USA
I know your pain. I try to future proof my sites best as possible and then I find I should have done it a different way so now have to do a bunch of work to "fix". I guess that just goes with this type of work.

There is also an Add Featured Image link on the right column of the edit post screen. You still can't add one via a URL but sometimes this makes more sense when adding a featured image after the post has been created.

You might also do a search at wordpress.org for plugins that will let you import images for the featured images in bulk. I am not certain but I often am surprised by what is there.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #9  
Old Mar 6, 2011, 06:33 PM
Big Geek Daddy's Avatar
Big Geek Daddy
 
42 posts · Nov 2009
United States
I used the Add Featured Image link to add a bunch of images to my most recent posts so now the category pages have a thumbnail for the first few pages. Thankfully I had kept all my thumbnails organized by the month I created the post so really wasn't that hard to add them in.

I had used Thumbnails for Excerpts plugin for awhile but to get it to work I had to include an image in the post which is what I was trying to avoid. It's a good plugin but unfortunately it hasn't been updated in a long time and that always makes me a little leery to use it.

This will be easy to do going forward so thanks again for your help in pointing me towards the featured image function.

Bookmarks

Tags
excerpt, image, thumbnails in excerpts

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Show custom field in kicker - only IF field value exists jaxon Center area post/pages 13 Feb 6, 2013 02:11 PM
Using a custom field within an excerpt... or trying to arthurmild Excerpts, Read more, Pagination 4 Jan 5, 2011 05:40 AM
Custom field image with custom field link mbastos Atahualpa 3 Wordpress theme 1 Jul 1, 2010 09:17 AM
thumbnail and excerpt text float chipbrock Center area post/pages 10 Jun 14, 2010 07:00 PM


All times are GMT -6. The time now is 06:09 AM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.