modules/shortcodes/presentations.php 1 location
|
@@ 108-113 (lines=6) @@
|
105 |
|
return; |
106 |
|
} |
107 |
|
|
108 |
|
foreach ( $GLOBALS['posts'] as $p ) { |
109 |
|
if ( has_shortcode( $p->post_content, 'presentation' ) ) { |
110 |
|
$this->scripts_and_style_included = true; |
111 |
|
break; |
112 |
|
} |
113 |
|
} |
114 |
|
|
115 |
|
if ( ! $this->scripts_and_style_included ) { |
116 |
|
return; |
modules/shortcodes/recipe.php 1 location
|
@@ 90-95 (lines=6) @@
|
87 |
|
return; |
88 |
|
} |
89 |
|
|
90 |
|
foreach ( $GLOBALS['posts'] as $p ) { |
91 |
|
if ( has_shortcode( $p->post_content, 'recipe' ) ) { |
92 |
|
$this->scripts_and_style_included = true; |
93 |
|
break; |
94 |
|
} |
95 |
|
} |
96 |
|
|
97 |
|
if ( ! $this->scripts_and_style_included ) { |
98 |
|
return; |