• Hi All,

    I am trying to create a custom theme to match my static site.

    The main site is http://hosthamster.eu
    WordPress is installed in the 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)
  • 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/ and post the link to it here? (how-to)

    Thread Starter nicolasgreening

    (@nicolasgreening)

    Hi Thanks for your reply,

    Please see the index.php pasted below

    http://pastebin.com/ax8McyJi

    Please excuse my programming I am a novice…

    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

    (@nicolasgreening)

    Hi sorry for the delay I was bathing my son…

    http://pastebin.com/28nE2Ygd

    I used twenty ten as my base theme

    <?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

    (@nicolasgreening)

    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.