WordPress.org

Support

Support » How-To and Troubleshooting » automated code editing

automated code editing

  • wdmarty
    Member

    @wdmarty

    I am looking for some documentation on how code is edited by the system when I edit a page.

    Specifically – bill.themartys.com, “Hawkeye Highlights” page..

    I have some text centered with P tags and that works fine.

    After that is an embedded video that I can’t get to center. Surrounding it in a P tag results in a blank paragraph with the embed tag moved outside of it.

    “Align” variable added to the embed tag is edited out, so that won’t work.

    The only way I got it to work was to surround the embed tag with a div tag with the appropriate alignment parameter. This is edited and turns into a P tag, but it works… until I edit the page again and it resets in the same way as if I made it a P tag in the first place.

    I can’t seem to get a system down for controlling what WP is going to do to my code. Any help is appreciated,

    Thanks!

  • The topic ‘automated code editing’ is closed to new replies.