wpautop option?
-
Of all the included content plugins, I’ve used, this one is by far the best and easiest to use. However, I had to modify the plugin so that included pages would display with line returns as they appear on the original page by adding wpautop to $the_output.
private function output_msg( $content, $classes = '', $header = '' ) { $the_output = '<div class="' . esc_attr( $classes ) . '">' . $header . '<div class="rps-include-content">'; $the_output .= wpautop ($content); /* 12/27/13 wpautop added by developer mf */ $the_output .= '</div></div>'; return $the_output; }
I would like to request that one could turn this off or on by using shortcode calls, with the default being “on”.
Thanks again for a very robust plugin that I use in almost every project I work on.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘wpautop option?’ is closed to new replies.