Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Excerpts, Read more, Pagination »

[SOLVED] Making Thumbnails Clickable


  #1  
Old Oct 27, 2010, 03:06 PM
hospitalera
 
72 posts · Mar 2009
Prague
Is there a simple way to make the image thumbnails in the excerpts click-able, so that they link to the full post? Thanks, SY
__________________
Hospitalera's Blog
  #2  
Old Oct 27, 2010, 04:39 PM
hospitalera
 
72 posts · Mar 2009
Prague
Latest WP and latest Atahualpa option. And yes, I would like to link the thumbnail / featured image thumbnail that is displayed with the excerpts to the full post, SY
__________________
Hospitalera's Blog
  #3  
Old Oct 28, 2010, 06:47 AM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Here is a fix for this. Edit bfa_post_parts.php and change line 124 (version 3.5.3) from
HTML Code:
		if (function_exists('the_post_thumbnail') AND !function_exists('tfe_get_image')) the_post_thumbnail();
to
HTML Code:
		if (function_exists('the_post_thumbnail') AND !function_exists('tfe_get_image')) 
 			if(has_post_thumbnail()): ?>
				<a href="<?php the_permalink() ?>"> <?php the_post_thumbnail(); ?></a>
      <?php endif; 
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Oct 28, 2010, 07:29 AM
hospitalera
 
72 posts · Mar 2009
Prague
Worked like a charm, Juggledad! Thanks ever so much, SY
__________________
Hospitalera's Blog

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Add clickable ad to header? cwikdahl Header configuration & styling 2 Sep 24, 2010 09:26 AM
Clickable images in background wll Header configuration & styling 4 Jan 11, 2010 03:49 PM
[SOLVED] Making Sidebar image 'clickable' (link it) marco Sidebars & Widgets 3 Jul 23, 2009 07:00 AM
Making clickable? gesman Header configuration & styling 6 Feb 8, 2009 01:48 PM


All times are GMT -6. The time now is 04:41 AM.


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