Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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, 04: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, 05: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, 07:47 AM
juggledad's Avatar
juggledad
 
23,765 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, 08: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 10:26 AM
Clickable images in background wll Header configuration & styling 4 Jan 11, 2010 04:49 PM
[SOLVED] Making Sidebar image 'clickable' (link it) marco Sidebars & Widgets 3 Jul 23, 2009 08:00 AM
Making clickable? gesman Header configuration & styling 6 Feb 8, 2009 02:48 PM


All times are GMT -6. The time now is 01:33 PM.


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