WordPress.org

Ready to get started?Download WordPress

Forums

changing rendered html (2 posts)

  1. kas187
    Member
    Posted 6 years ago #

    Hello,

    Im building my own theme using a copy of the default kubrick theme and i need some pointers on which files to change so i have a different output of html. Currently when i attach an image in making a post, the theme outputs the following:
    <p><a href="#"><img width="65" height="85" alt="" src="#" title="books [left aligned]" class="alignleft size-medium wp-image-5"/></a></p>

    How can i change the code where the image isn't wrapped in a p but something else like a div.

  2. adam-s
    Member
    Posted 6 years ago #

    This may actually be an editor issue. TinyMCE has settings for this sort of thing buried deep in Javascript files.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags