Viewing 12 replies - 1 through 12 (of 12 total)
  • what theme are you using?

    can you post a link to your site?

    normally, you would try to use css (if the theme uses body_class()) or edit page.php and wrap a conditional statement around the post meta data.

    http://codex.wordpress.org/Function_Reference/body_class
    http://codex.wordpress.org/Conditional_Tags

    Thread Starter smuckle

    (@smuckle)

    Hi I am using aspire theme by infocreek. The site is http://www.gardenmemories.co.uk
    Thanks Sheila

    no body_classs in your theme 🙁

    edit page.php (?) and find the section with:

    <div class="title">
        <div class="date">....
        <h1>....
        <p class="author">....
    </div>

    and wrap it into a conditional statement;

    example:

    <?php if( !is_front_page() ) : ?>
    <div class="title">
        <div class="date">....
        <h1>....
        <p class="author">....
    </div>
    <?php endif; ?>

    (untested – I don’t have a copy of that theme)

    Try replacing page.php with this:
    http://pastebin.com/EKvDPJGn

    Lolz – Exactly as I did, beaten to the punch 🙂

    Thread Starter smuckle

    (@smuckle)

    Thanks everyone. It worked with the code from Alchymyth but I will save the other links as well.
    I have been so used to making loads of sites with Frontpage and now am switching to WordPress- keep hitting snags.
    Thanks a lot Sheila

    Thread Starter smuckle

    (@smuckle)

    Hi Folks If I change the wrap to this one below will it take the posts off all the static pages?
    <?php if( !is_all_pages() ) : ?>

    is_all_pages() is not a wordpress function, you can see a reference guide for conditional tags Here

    But page.php is only used on static pages, so if you want to remove that section from static pages, just remove or comment out that section entirely from page.php.

    Thread Starter smuckle

    (@smuckle)

    Thanks have removed thst section. Can you point me to find out how to put pictures side by side on the page please?
    Regards Sheila

    Are you referring to the home page ?

    Thread Starter smuckle

    (@smuckle)

    No I was doing favourite plants on the favourite plants page at http://www.gardenmemories.co.uk
    Thanks

    Im not sure what page you are referring to, there doesn’t appear to be a link to a favourite plants page, but normally if you put in gallery using the gallery shortcode it will display horizontally across the page.

    Otherwise you could align the images left and have the thumbnail be smaller than 50 % width of the column, thumbnail sizes can be edited in wp-admin at settings -> media but should be done before you upload the images, otherwise you should use the regenerate thumbnails plugin to regenerate the images to the correct size.

    Cheers
    Ben

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

The topic ‘remove posts, comments and dates from static home page’ is closed to new replies.