WordPress.org

Ready to get started?Download WordPress

Forums

"More" function question (15 posts)

  1. therange
    Member
    Posted 8 years ago #

    Hello,

    I'm testing my website before I launch it and there's a problem. I had 2 posts (each including a "more" tag) and the website was good and intact. But when I posted a third post and added the "more" tag, it screwed up my sidebar (it went down to the bottom of the page)...does anyone know what's causing this?

    Thanks in advance!

  2. alrescha
    Member
    Posted 8 years ago #

    The sidebar getting dumped to the bottom of the page is almost always a styling problem—i.e. a design fault with the theme you are using.

    Try switching to another theme. If it corrects the problem, then it's a themeing problem, and you should contact the theme author for a fix.

    Otherwise you should post a link to your site so volunteers here can have a look and tell you where and what needs to be changed.

  3. therange
    Member
    Posted 8 years ago #

    http://www.itestdrive.net

    It's a popular theme (connections) so I don't think there's a bug

    Can anyone please help?

    P.S. - I just switched to the classic theme and the problem presists...

  4. moshu
    Member
    Posted 8 years ago #

    http://validator.w3.org/check?verbose=1&uri=http%3A//itestdrive.net/
    Unclosed div! Check your third post (if it worked before) for an opening div...

  5. Samuel B
    moderator
    Posted 8 years ago #

  6. therange
    Member
    Posted 8 years ago #

    Thanks for the help guys

    I fixed the </div> one, now it says I have a for an unopen tag. This seems to be in the latest post, which file can I edit that controls my latest post?

    Thanks a lot

  7. moshu
    Member
    Posted 8 years ago #

    which file can I edit that controls my latest post?

    No files. Posts (as all the content) are stored in the database.
    Check what you wrote in the last posts. Are you using the wysiwyg editor?

  8. therange
    Member
    Posted 8 years ago #

    Yes, does that make a difference?

  9. moshu
    Member
    Posted 8 years ago #

    Most of the time it does. While the wysiwyg seems to be an "easy" way to post - actually it requires more learning than using some basic html tags. Additionally, it seems to be a bad one: it always adds all kind of weird code to the posts.
    So, the unclosed div might have been started inside your post by the wysiwyg...

  10. therange
    Member
    Posted 8 years ago #

    Sounds good. I know a lot of basic HTML tags, is there a place where I can get HTML tags for wordpress (for example, inserting the "more" function)?

    Thanks!

  11. Doodlebee
    Member
    Posted 8 years ago #

    to add a "more" area to your post, all you have to do is type in <!--more--> where you want the extended text to begin when writing your post.

  12. therange
    Member
    Posted 8 years ago #

    Thanks a bunch

    One very last question. When writing HTML, do I just post it in the WordPress wysiwyg editor?

  13. alrescha
    Member
    Posted 8 years ago #

    IIRC, the WYSIWYG editor page does have a link to switch to HTML mode.

    Otherwise, you could specify to use HTML editor by default in:

    1. Options > Writing > Users should use rich text editor by default

    2. Users > bottom left of user page: "Use WYSIWYG"

    For WordPress, <!--more--> inserts the "More" link, and the <!--nextpage--> makes the post paginate.

  14. moshu
    Member
    Posted 8 years ago #

    When writing HTML, do I just post it in the WordPress wysiwyg editor?

    Never! If you use your own code - disable the wysiwyg thing.

  15. Doodlebee
    Member
    Posted 8 years ago #

    What Moshu said! (and it's a lot easier to *not* use WYSIWYG if you know HTML!)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags