modules/shortcodes/presentations.php 1 location
|
@@ 106-111 (lines=6) @@
|
| 103 |
|
return; |
| 104 |
|
} |
| 105 |
|
|
| 106 |
|
foreach ( $GLOBALS['posts'] as $p ) { |
| 107 |
|
if ( has_shortcode( $p->post_content, 'presentation' ) ) { |
| 108 |
|
$this->scripts_and_style_included = true; |
| 109 |
|
break; |
| 110 |
|
} |
| 111 |
|
} |
| 112 |
|
|
| 113 |
|
if ( ! $this->scripts_and_style_included ) { |
| 114 |
|
return; |
modules/shortcodes/recipe.php 1 location
|
@@ 130-135 (lines=6) @@
|
| 127 |
|
return; |
| 128 |
|
} |
| 129 |
|
|
| 130 |
|
foreach ( $GLOBALS['posts'] as $p ) { |
| 131 |
|
if ( has_shortcode( $p->post_content, 'recipe' ) ) { |
| 132 |
|
$this->scripts_and_style_included = true; |
| 133 |
|
break; |
| 134 |
|
} |
| 135 |
|
} |
| 136 |
|
|
| 137 |
|
if ( ! $this->scripts_and_style_included ) { |
| 138 |
|
return; |