WordPress.org

Ready to get started?Download WordPress

Forums

Upgrading and templates/styles (7 posts)

  1. Sophist
    Member
    Posted 9 years ago #

    Dear all,
    I run WordPress 1.2 and I customised the index.php file and the wp-layout.css file to make it look exactly the way I wanted it to look. I'm quite happy with the result.
    I wonder however if much of these edited files are of any use when I upgrade to a new version of WordPress. Will the stylesheet still be usefull after I install a new version? I realise that most likely the changes I made to the index.php file will be lost. However, I can live with that as they are only small edits that can easily be redone. Redoing the stylesheet will be much more of a problem though (and off course very time consuming).
    What are peoples experiences from previous upgrades? Maybe there are some users who have been trying an upgrade from WordPress 1.2 to the Beta of 1.3, and who have experience with porting their stylesheet. Did this give you any special problem?
    Regards,
    Sophist

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    The stylesheet in my experience requires no changes.
    It's re-customising index.php and other files such as wp-comments that takes the time.
    http://www.tamba2.org.uk/mendel/
    That is 1.3pre-alpha3 - no changes to the stylesheet - and using all 1.3 code.
    http://www.tamba2.org.uk/mendel/index12.php
    That again is the 1.3 code, but with a 1.2index.php. A single change was made to index due to the way 1.3 now calls comments. Css remained unchanged.

  3. Root
    Member
    Posted 9 years ago #

    podz - forgive me but I am now confused. Are both those two links above to default index files. ?

  4. Mark (podz)
    Support Maven
    Posted 9 years ago #

    No. Gemini is the css base.
    /index12.php is my 1.2 index. It required me to alter the comments call (as posted here by rboren) and it works as it is.
    /index.php is the 1.3 index. That needed me to copy into wp-header.php and wp-footer.php the same code that I used in the 1.2 index. It was a no-brainer change in that I just had to change minor details.
    As it stands right now - and I think discussion is ongoing - the download I used has 3 files for the index page:
    wp-header.php
    wp-footer.php
    index.php
    Opening these files shows they look pretty much the same as the parts of index.php we all know, so making the small changes really is as simple as a cut'n'paste.
    As to their being default index files - yes and no - they are my index, and my index is fairly vanilla. The only changes I can recall making are those that style it the way I want (no meta info on index12) and the inclusion of plugin code.
    What I haven't done is alter the CSS.

  5. Root
    Member
    Posted 9 years ago #

    thanks :)

  6. Root
    Member
    Posted 9 years ago #

    podz when you say *discussions are going on* are you in a position to elaborate at all? Are positioning / structural changes in 1.3 imminent / possible ?

  7. Mark (podz)
    Support Maven
    Posted 9 years ago #

    I have no idea what the end result will be. Discussions have been had on the hackers list but in the end, that's the devs decision :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.