WordPress.org

Ready to get started?Download WordPress

Forums

Adding extra gibberish "inside" the_content() ? (3 posts)

  1. Anonymous
    Unregistered
    Posted 9 years ago #

    I wan't to put the comments link inside the_content() paragraph
    at the very end .... (this so I don't get a line break).
    Would this require "hacking" the_content() function ?
    I briefly saw something about filters ...

  2. Michael Adams (mdawaffe)
    Member
    Posted 9 years ago #

    This is not an answer :)
    Ideally this would be done with CSS. That way you wouldn't have to change the WordPress code at all. But I don't think CSS can handle this yet:
    <div class="storycontent">
    ...
    ...
    ...
    <span class="feedback">...</span>
    </div>

    Does anyone know how to make the last an inline element without touching the other 's in the post (In a way that current browsers will render correctly)? Without manually specifying a class for the last , that is; that would also require an edit to the source.

  3. Kafkaesqui

    Posted 9 years ago #

    Something like this would involve munging the more link onto the end of a post's content before WordPress applies its filters. So in other words, I've also not provided an answer.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.