How to modify wpautop to add tabs before <p>
-
I’m interesting in finding a way to make the code a WordPress site produces indented. I’ve considered writing the posts in a text editor and pasting the code in the textbox on the write post page.
I’ve also tried to think of a plugin that would somehow modify wpautop to place four or five
\t
tabs before each paragraph opening tag. Any ideas how to do this?Example:
<html> <head> <title>An Indented Source</title> </head> <body> <h1>An Indented Source</h1> <hr> <div class="post"> <p>An indented paragraph within the_content().</p> </div> </body> </html>
Viewing 15 replies - 1 through 15 (of 15 total)
Viewing 15 replies - 1 through 15 (of 15 total)
- The topic ‘How to modify wpautop to add tabs before <p>’ is closed to new replies.