WordPress.org

Ready to get started?Download WordPress

Forums

Blog to match a website (3 posts)

  1. lockettpots
    Member
    Posted 5 years ago #

    Hi All

    I have just added a WordPress front end to an existing website. I wanted it to look like the rest of the site so I had to do some fairly heavy mods to the classic template but I think it's turned out OK. What do you think?
    The site is
    http://www.lockettpots.co.uk

    cheers

    John

  2. zanteian
    Member
    Posted 5 years ago #

    That's exactly what I want to do.
    Did you find any useful docs to guide you. I am not really a programmer and stuggle a bit with the more complicated code like this.

  3. lockettpots
    Member
    Posted 5 years ago #

    I'm pretty clued up on PHP so as soon as I sussed out what php file did what it was pretty easy to modify the php template files to do what I wanted.

    The files you want live in folder of the theme that you are modifying which you will find in
    blog root->wp-content->themes->whatever_theme_you_are_modding.

    There are five files of interest
    header.php containing the code for (guess what!) the header
    index.php which manages the fetching of the posts
    sidebar.php which outputs all the stuff which usually appears in the sidebar
    footer.php You've guessed it for the stuff at the bottom
    style.css which is the style sheet for that particular theme

    It's really a matter of adding any extra <div>'s etc that are needed, removing any output that isn't wanted and altering the stylesheet.

    If you work on a renamed copy of your starting theme you can always compare to that if things go wrong.

    What is the address of the website you are trying to match? I'll have a quick look at it if you like.

    John

Topic Closed

This topic has been closed to new replies.

About this Topic