Merge pull request #303 from ThemeBoy/feature-new-event-shortcodes

Feature new event shortcodes
This commit is contained in:
Brian Miyaji
2018-10-12 15:47:19 +11:00
committed by GitHub
9 changed files with 395 additions and 3 deletions

View File

@@ -9,7 +9,9 @@
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
$id = get_the_ID();
if ( ! isset( $id ) )
$id = get_the_ID();
$post = get_post( $id );
$excerpt = $post->post_excerpt;
if ( $excerpt ) {