WordPress.org

Support

Support » Themes and Templates » Adding extra gibberish “inside” the_content() ?

Adding extra gibberish “inside” the_content() ?

  • 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 …

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding extra gibberish “inside” the_content() ?’ is closed to new replies.
Skip to toolbar