How To Disable "wpautop control" for 1 Class or Shortcode
-
I’m trying to figure out how to disable wpautocontrolp for just the [jobs] shortcode or job_listing class
I’m still a PHP noob, but would the answer look something like this?
Add:
<?php $jobs= get_post_meta($post->ID, ‘field-name’, true);
echo wpautop( $jobs, false );
?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How To Disable "wpautop control" for 1 Class or Shortcode’ is closed to new replies.