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
|
@@ 119-124 (lines=6) @@
|
| 116 |
|
return; |
| 117 |
|
} |
| 118 |
|
|
| 119 |
|
foreach ( $GLOBALS['posts'] as $p ) { |
| 120 |
|
if ( has_shortcode( $p->post_content, 'recipe' ) ) { |
| 121 |
|
$this->scripts_and_style_included = true; |
| 122 |
|
break; |
| 123 |
|
} |
| 124 |
|
} |
| 125 |
|
|
| 126 |
|
if ( ! $this->scripts_and_style_included ) { |
| 127 |
|
return; |