|
@@ 500-504 (lines=5) @@
|
| 497 |
|
|
| 498 |
|
global $template_post_blocks; |
| 499 |
|
|
| 500 |
|
if ( !empty( $template_post_blocks[ 'before' ][ $pod->pod ] ) ) { |
| 501 |
|
$code = $template_post_blocks[ 'before' ][ $pod->pod ] . $code; |
| 502 |
|
|
| 503 |
|
unset( $template_post_blocks[ 'before' ][ $pod->pod ] ); |
| 504 |
|
} |
| 505 |
|
|
| 506 |
|
if ( !empty( $template_post_blocks[ 'after' ][ $pod->pod ] ) ) { |
| 507 |
|
$code .= $template_post_blocks[ 'after' ][ $pod->pod ]; |
|
@@ 506-510 (lines=5) @@
|
| 503 |
|
unset( $template_post_blocks[ 'before' ][ $pod->pod ] ); |
| 504 |
|
} |
| 505 |
|
|
| 506 |
|
if ( !empty( $template_post_blocks[ 'after' ][ $pod->pod ] ) ) { |
| 507 |
|
$code .= $template_post_blocks[ 'after' ][ $pod->pod ]; |
| 508 |
|
|
| 509 |
|
unset( $template_post_blocks[ 'after' ][ $pod->pod ] ); |
| 510 |
|
} |
| 511 |
|
|
| 512 |
|
return pods_do_shortcode( $code, frontier_get_shortcodes() ); |
| 513 |
|
} |