• I?′ve tried searching, but can?′t come up with good key words. I?′ve installed WP 1.5 and use the default theme. What I want to do is to hide the “footer” of the posts. – Posted in- Edit- Comments- I don?′t need them, and I want the posts to display tighter upon each other. I could enjoy a horizontal line separating them. Can somebody put me on the track ?

Viewing 9 replies - 1 through 9 (of 9 total)
  • In the Deafult theme’s index.php find the lines

    <p class="postmetadata">Posted in <?php the_category(', ') ?> <strong>|</strong> <?php edit_post_link('Edit','','<strong>|</strong>'); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>

    and edit accordingly.

    Thread Starter damun

    (@damun)

    Thank you. I?′ve seen this lines, but don?′t know how to edit them.

    Maybe make a backup of the file (e.g. saving it as “original_index.php”) and then delete those lines from your index.php.

    Thread Starter damun

    (@damun)

    I tried, but got an “x” on the screen where they had been. And I did?′t gain any space from that.

    #footer {
    display: none;
    }

    or

    #postmetadata, postmetadata alt {
    display: none;
    }

    Thread Starter damun

    (@damun)

    Neither worked. The first hided the page footer. The second did?′t anything I could see.

    Try
    .postmetadata, postmetadata alt {
    display: none;
    }

    Try
    p.postmetadata, p.postmetadata alt {
    display: none;
    }

    Giving a url to see you div structure would help since we may need to know div nesting order to give you the correct coding.

    Thread Starter damun

    (@damun)

    Thank you! That worked fine. Maybe its enough….

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘how to hide the “footer” of the posts’ is closed to new replies.