• I’ve just successfully upgraded http://www.thetechnofile.com to wp 2.0 (via 1.5) and am now using
    Pages. The only problem is that they display with the date at the top,
    as if they are a post, so how do I prevent the date (and the rule underneath it
    from from displaying on pages?

    Please note that my theme is all in one index.php file, not in
    seperate files.

    Thanks,

    MC

Viewing 4 replies - 1 through 4 (of 4 total)
  • Ahh… you’ll be needing a page.php

    Download index.php
    Edit it, and remove the bit that provides the date.
    Save it as ‘page.php’
    Upload to where index.php came from

    That’ll do the trick 🙂

    Thread Starter mcrebbe

    (@mcrebbe)

    Thanks yet again Podz!

    Presumably any future changes I make to the index.php file need to be mirrored in the page.php file?

    That just leaves the problem I’m having with the picture

    http://wordpress.org/support/topic/53664?replies=8

    Any suggestions?

    Cheers,

    MC

    Only make changes to page.php if you want the style on pages to change – you may want them slightly different to reflect their status as pages.

    I just looked at the css to say there’s a fault there – but then I saw my name and knew that there was no problem 🙂

    <img src="columns.jpg" alt="" />
    That’s the problem – it’s a relative url.
    make that into a full url and the image will remain on all views 🙂

    Thread Starter mcrebbe

    (@mcrebbe)

    Which only goes to prove that credits should always be given where credits are due.

    Credit due…again. Problem fixed.

    Happy new year.

    MC

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove the date on pages’ is closed to new replies.