modules/shortcodes/presentations.php 1 location
|
@@ 111-116 (lines=6) @@
|
| 108 |
|
return; |
| 109 |
|
} |
| 110 |
|
|
| 111 |
|
foreach ( $GLOBALS['posts'] as $p ) { |
| 112 |
|
if ( has_shortcode( $p->post_content, 'presentation' ) ) { |
| 113 |
|
$this->scripts_and_style_included = true; |
| 114 |
|
break; |
| 115 |
|
} |
| 116 |
|
} |
| 117 |
|
|
| 118 |
|
if ( ! $this->scripts_and_style_included ) { |
| 119 |
|
return; |
modules/shortcodes/recipe.php 1 location
|
@@ 49-54 (lines=6) @@
|
| 46 |
|
return; |
| 47 |
|
} |
| 48 |
|
|
| 49 |
|
foreach ( $GLOBALS['posts'] as $p ) { |
| 50 |
|
if ( has_shortcode( $p->post_content, 'recipe' ) ) { |
| 51 |
|
$this->scripts_and_style_included = true; |
| 52 |
|
break; |
| 53 |
|
} |
| 54 |
|
} |
| 55 |
|
|
| 56 |
|
if ( ! $this->scripts_and_style_included ) { |
| 57 |
|
return; |