StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have -- and this forum will be removed on July 1st, 2013.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-30-2010, 01:27 PM
waitek waitek is offline
Registered User
Pro Plus Member
 
Join Date: Nov 2009
Posts: 18
Default Stop auto paragraph tags

Wordpress is killing some php code by inserting random paragraph tags. The following line of code is supposed to cure this when inserted above the_content tag in the template file:

Code:
<?php remove_filter (‘the_content’, ‘wpautop’); ?>
The question is where do I insert this in a child theme?
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:53 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.