mirror of
https://github.com/10h30/trestle.git
synced 2026-06-05 15:09:35 +09:00
Add trestle_ prefix to shortcode.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
===========================================*/
|
||||
|
||||
// Fix for empty <p> tags around shortcodes
|
||||
function shortcode_empty_paragraph_fix($content)
|
||||
function trestle_shortcode_empty_paragraph_fix($content)
|
||||
{
|
||||
$array = array (
|
||||
'<p>[' => '[',
|
||||
@@ -24,7 +24,7 @@ function shortcode_empty_paragraph_fix($content)
|
||||
|
||||
return $content;
|
||||
}
|
||||
add_filter('the_content', 'shortcode_empty_paragraph_fix');
|
||||
add_filter('the_content', 'trestle_shortcode_empty_paragraph_fix');
|
||||
|
||||
/**
|
||||
* Columns - [col class="one-half first no-list-margin"] Contents [/col]
|
||||
|
||||
Reference in New Issue
Block a user