Title: ThatSimple Theme Tweaking
Last modified: August 19, 2016

---

# ThatSimple Theme Tweaking

 *  [quell-man](https://wordpress.org/support/users/quell-man/)
 * (@quell-man)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/thatsimple-theme-tweaking/)
 * I’m trying to edit the “ThatSimple” theme so that the ‘main banner’ (the image
   at the top) links back to the home page.
 * Here is the code from the theme editor for ‘page.php’:
 *     ```
       <div class="mainImage"><div class="grid_16">
   
           	<?php
       		$mainImage = get_option('ths_mImg_page');
   
       		?>
           	 <a href="http://quellman.info/blog/"><img src="<?php echo ($mainImage); ?>" alt="" /></a>
           </div>
       ```
   
 * When I view the page source of the actual live page however, this is what I get:
 *     ```
       <div class="grid_16">
       	<div class="mainImage">
           	    	<img src="http://quellman.info/wptheme/qm/hp_banner.jpg" alt="" />
           </div>
       </div>
       ```
   
 * The code…buh…disappears…? >.> Probably the last tweak I need to do to the theme
   to get it goin’ like I want…

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/thatsimple-theme-tweaking/#post-1320476)
 * i can only guess that the system is not using page.php to display the page.
    
   if you look into single.php, for instance, it has the link html missing.
 *     ```
       <div class="container_16">
       <!-- begin: main navigation -->
       <div class="grid_16">
       	<div class="mainImage">
           	<?php
       		$mainImage = get_option('ths_mImg_posts');
       		?>
           	<img src="<?php echo ($mainImage); ?>" alt="" />
           </div>
       </div>
       ```
   
 * in your actual source, look at the line just before ‘div class=”grid_16″‘ to 
   get more clues
 *  [thatwordpress](https://wordpress.org/support/users/thatwordpress/)
 * (@thatwordpress)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/thatsimple-theme-tweaking/#post-1320804)
 * Hey guys. Sorry this response is so late, but to answer your question Quell, 
   you would need to change some code on three pages.
 * page.php, single.php and index.php in the template folder for that_simple.
 * on line 11 – change
 * `<img src="<?php echo ($mainImage); ?>" alt="" />`
 * that line to:
 * `<a href="<?php bloginfo('url'); ?>"><img src="<?php echo ($mainImage); ?>" alt
   ="" /></a>`
 * That should make the link dynamic, just in case you want to move it somewhere
   else or what have you.
 * If you have any other questions shoot over to [our website](http://www.thatagency.com)
   and send us an email. Hope this helps.

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

The topic ‘ThatSimple Theme Tweaking’ is closed to new replies.

 * 2 replies
 * 3 participants
 * Last reply from: [thatwordpress](https://wordpress.org/support/users/thatwordpress/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/thatsimple-theme-tweaking/#post-1320804)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
