Title: Creating a custom theme
Last modified: August 20, 2016

---

# Creating a custom theme

 *  [nicolasgreening](https://wordpress.org/support/users/nicolasgreening/)
 * (@nicolasgreening)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/creating-a-custom-theme/)
 * Hi All,
 * I am trying to create a custom theme to match my static site.
 * The main site is [http://hosthamster.eu](http://hosthamster.eu)
    WordPress is
   installed in the [http://hosthamster.eu/wp/](http://hosthamster.eu/wp/) folder
   and I would like it to be seamless transition between the 2 sites
 * I have successfully created the theme and I have got the header to display not
   the footer or the body of the content.
 * Please can you help

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/creating-a-custom-theme/#post-2687624)
 * the site breaks in the ‘postmeta’ div;
 * can you paste the full code of the index.php template of your theme into a [http://pastebin.com/](http://pastebin.com/)
   and post the link to it here? (_[how-to](http://codex.wordpress.org/Forum_Welcome#Posting_Code)_)
 *  Thread Starter [nicolasgreening](https://wordpress.org/support/users/nicolasgreening/)
 * (@nicolasgreening)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/creating-a-custom-theme/#post-2687655)
 * Hi Thanks for your reply,
 * Please see the index.php pasted below
 * [http://pastebin.com/ax8McyJi](http://pastebin.com/ax8McyJi)
 * Please excuse my programming I am a novice…
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/creating-a-custom-theme/#post-2687665)
 * that line:
 * `get_template_part( 'loop', 'index' );`
 * file points to loop.php
 * – can you paste the code of loop.php ?
 * (what theme are you using a base for your custom theme?)
 *  Thread Starter [nicolasgreening](https://wordpress.org/support/users/nicolasgreening/)
 * (@nicolasgreening)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/creating-a-custom-theme/#post-2687685)
 * Hi sorry for the delay I was bathing my son…
 * [http://pastebin.com/28nE2Ygd](http://pastebin.com/28nE2Ygd)
 * I used twenty ten as my base theme
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/creating-a-custom-theme/#post-2687698)
 *     ```
       <?php hosthamster_posted_on(); ?>
       ```
   
 * have you created/renamed that function in functions.php of your theme?
 * (you seem to be building on Twenty Ten ?)
 *  Thread Starter [nicolasgreening](https://wordpress.org/support/users/nicolasgreening/)
 * (@nicolasgreening)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/creating-a-custom-theme/#post-2687793)
 * Genius Thank you,
 * I had not added the functions.php I have now added it renaming the functions 
   as I had done in the index and bingo.
 * I have amended the header and the footer now to get rid of some unwanted functions
   the only thing I can not get right is the footer gradient should be full width?
 * Thanks again for your help

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

The topic ‘Creating a custom theme’ is closed to new replies.

## Tags

 * [Custom Themes](https://wordpress.org/support/topic-tag/custom-themes/)

 * 6 replies
 * 2 participants
 * Last reply from: [nicolasgreening](https://wordpress.org/support/users/nicolasgreening/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/creating-a-custom-theme/#post-2687793)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
