main page display strangeness (4 posts)

  1. mykel
    Posted 11 years ago #

    hello all,
    whenever i view someone elses wp blog, their actual blog entries are displayed in full on the main page. how can i make wp do this with my blogs? at the moment only the headings (albeit theyre links) are visible. any ideas? thanks

  2. lbessant

    Posted 11 years ago #

    Have a look in your index.php

    After the date of each post, you have this:

    <!-- by mykel-- -->

    the two sets of double dashes after "mykel" are making browsers not see the comment as closed. Change it to:

    <!-- by mykel -->

    and your content will automagically appear.

  3. mykel
    Posted 11 years ago #

    ok, i understand that. first i was looking in wordpress/index.php and tried to trace the php :p but then i gave up and looked around, realised it was in the theme dir and further realised its because of my username (mykel--). great. question: do i really need this: "<!-- by <?php the_author() ?> -->" ? im gonna try without it and see if it borkes anything like any rss feeds or html links to the site.

    this is an issue that should be worked on, no?

  4. lbessant

    Posted 11 years ago #

    If you don't want "by mykel--" appearing (and as it's currently commented out, it's a fair guess that you don't), you can delete that piece. If you *do* want "by mykel--" to appear, just remove the comment tags.

    Not a WP issue, it's HTML. And I don't think a lot of people have -- as part of their user names....

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.