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 » Center area post/pages » Excerpts, Read more, Pagination »

Post thumbnails (in excerpts) not linking to full post


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 May 8, 2010, 03:00 AM
Fux
 
142 posts · Apr 2009
Hi -


1. When I add a thumbnail via the new (as of WP 2.9) "Post Thumbnail" option, this will show up on (e.g.) Multi Post pages in the excerpt. Cool. But I want the image to link to the full post (using the same link as the "[Read more...]" uses. I think this only makes sense. How can this be accomplished? I'm using Atahualpa 3.4.6.

2. On a side note, my "dollar bills" icon on the top right of my posts has been gone for a few months now. Why is that? Is the money I donated used up already?

Last edited by Fux; May 8, 2010 at 03:08 AM.
  #2  
Old May 13, 2010, 05:14 AM
Fux
 
142 posts · Apr 2009
Anyone?

Is the solution to my question #1 too obvious?, do you want me to find it by myself? I can't seem to find the corresponding template tag for this. But seriously, what I am asking for can't be that strange, can it?
  #3  
Old May 13, 2010, 05:42 AM
juggledad's Avatar
juggledad
 
21,940 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
All Atahualpa is doing is calling the Wordpress function 'the_post_thumbnail()' which inserts the thumbnail into the post excerpt. You might want to post your request on wordpress.org
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #4  
Old May 15, 2010, 11:16 AM
Fux
 
142 posts · Apr 2009
Oh - yeah, I didn't realize this is the case with any theme. Sorry. I will post the request over there. Thank you, Juggledad!
  #5  
Old Dec 15, 2010, 05:25 AM
Fux
 
142 posts · Apr 2009
Hey -


why not add this one:

Code:
// THIS LINKS THE THUMBNAIL TO THE POST PERMALINK

add_filter( 'post_thumbnail_html', 'my_post_image_html', 10, 3 );

function my_post_image_html( $html, $post_id, $post_image_id ) {

	$html = '<a href="' . get_permalink( $post_id ) . '" title="' . esc_attr( get_post_field( 'post_title', $post_id ) ) . '">' . $html . '</a>';

	return $html;
}
to functions.php as a kind of standard option for Atahualpa? I took it from here, works great.
  #6  
Old Jan 5, 2011, 06:16 AM
jankph
 
92 posts · Jul 2009
ATA 3.6.4 and WP 3.1
Thanks for the tip. Indeed, it really works!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
One Full post and then excerpts on Category newfield_no1 Excerpts, Read more, Pagination 8 Apr 21, 2010 12:53 PM
How to change Excerpts option to full post? gwpad Sidebars & Widgets 1 Mar 3, 2010 07:27 AM
Showing Excerpts or Full Post Depending Upon Number of Posts LindaS Excerpts, Read more, Pagination 0 Sep 8, 2009 06:27 AM
Atahualpa 3.4 : EXCERPTS new option to read the full post after [...] does not work benoit Excerpts, Read more, Pagination 2 Jul 9, 2009 06:45 PM
gallery (grid) of post excerpts w/ thumbnails viewdesigninc Atahualpa 3 Wordpress theme 1 Jun 4, 2009 08:08 AM


All times are GMT -6. The time now is 02:25 AM.


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