Tuesday, May 21, 2013

How to Make WordPress Quit Inserting Paragraph Tags



1. Log in to your WordPress account, click 'Appearance' and then click the 'Editor' link. This action launches the 'Theme Editor' page, which contains the files that enable you to modify your blog's code.

2. Click the 'functions.php' file under the Templates heading to open it and display the code. Type the following code at the end:remove_filter( 'the_content', 'wpautop' );

remove_filter( 'the_excerpt', 'wpautop' );

3. Click the 'Update File' button to save your changes.

No comments:

Post a Comment