Title: Permalink my thumbnails &amp; Title
Last modified: August 19, 2016

---

# Permalink my thumbnails & Title

 *  [peterpan01](https://wordpress.org/support/users/peterpan01/)
 * (@peterpan01)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/permalink-my-thumbnails-title/)
 * I need help getting my thumbnails, and also the post title, link to the permalink.
   The title are now unclickable, and the thumbnails are set to enlarge itself in
   a lightbox.
 * I make use of the Shaken Grid theme.
    Which is found here [http://shakenandstirredweb.com/331/introducing-our-first-free-wordpress-theme-shaken-grid](http://shakenandstirredweb.com/331/introducing-our-first-free-wordpress-theme-shaken-grid)
 * Can someone help me out on this one?
    To clear out; Im having a blog, the main
   page shows several boxes of posts. The posts contains some text and a thumbnail
   above it. The thumbnail needs to link to the full post. And the title has to 
   do the same.
 * Hope you can help me,
    Thanks in advance,

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [peterpan01](https://wordpress.org/support/users/peterpan01/)
 * (@peterpan01)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/permalink-my-thumbnails-title/#post-1798810)
 * ^
 *  [rachaely](https://wordpress.org/support/users/rachaely/)
 * (@rachaely)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/permalink-my-thumbnails-title/#post-1798811)
 * What you’ll need to do is edit loop.php (make a backup first!)
 * Line 24 reads:
 * `<h2><?php the_title(); ?></h2>`
 * This is what displays the title of a post.
 * Change this to:
 * `<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>`
 * and this will link the title of the post to the individual post page.
 * Post thumbnails are set to link to the large versions of the images, as per line
   18 of loop.php:
 * `<a href="<?php echo wp_get_attachment_url($thumbID); ?>" rel="gallery" title
   ="<?php the_title(); ?>">`
 * To change this to link to the individual post, change line 18 to:
 * `<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">`
 * These steps will also need to be repeated with loop-category.php and loop-archive.
   php to change the links on category and other archive pages.
 * Hope this helps!
 *  [mamaestes](https://wordpress.org/support/users/mamaestes/)
 * (@mamaestes)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/permalink-my-thumbnails-title/#post-1799001)
 * Tried this but it is still linking to the image thumbnail…[http://theestesbunch.com/2011](http://theestesbunch.com/2011)
 * no plugins running at the moment…help?
 *  Thread Starter [peterpan01](https://wordpress.org/support/users/peterpan01/)
 * (@peterpan01)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/permalink-my-thumbnails-title/#post-1799002)
 * > Tried this but it is still linking to the image thumbnail…[http://theestesbunch.com/2011](http://theestesbunch.com/2011)
   > no plugins running at the moment…help?
 * It seems to be working nowat your website isn’t it?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Permalink my thumbnails & Title’ is closed to new replies.

## Tags

 * [permalink](https://wordpress.org/support/topic-tag/permalink/)
 * [thumbnail](https://wordpress.org/support/topic-tag/thumbnail/)
 * [title](https://wordpress.org/support/topic-tag/title/)

 * 4 replies
 * 3 participants
 * Last reply from: [peterpan01](https://wordpress.org/support/users/peterpan01/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/permalink-my-thumbnails-title/#post-1799002)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
