WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Upload an image to WP and NOT have it placed in a <p> tag (3 posts)

  1. mfuchs
    Member
    Posted 5 years ago #

    Hello all,

    When I upload an image to my WP blog it automatically get's put inside a <p> tag. As I am using a CSS class for the area in which posts are displayed that let's the text (the paragraph tags actually) be displayed further right, I'd like to find a way to not have images that I upload to a post be automatically put in <p> tags.

    I thought I could just switch to the HTML editor but the Paragraph tags are not displayed there.

    Any ideas on how to do that would be highly appreciated.

    Thanks a lot,
    Martin

  2. stvwlf
    Member
    Posted 5 years ago #

    hi - You can turn off autoformatting on those posts. To do it on a post by post basis install this plugin
    http://wordpress.org/extend/plugins/wp-unformatted/
    Read the instructions to see how to turn it on for a post.
    It works fine with WP 2.7.1 regardless of the version showing on the plugin download page.

    If you want to see the <p> on the html page, install this plugin
    http://wordpress.org/extend/plugins/tinymce-advanced/
    and check the appropriate box at the bottom of its settings page

  3. mfuchs
    Member
    Posted 5 years ago #

    Thanks for the tips stvwlf! I installed the adcanced Tinymce now. I just thought there would be some way to do that without installing a plugin.

Topic Closed

This topic has been closed to new replies.

About this Topic