Add a "Full Info" event shortcode. It supports template order!

This commit is contained in:
savvasha
2018-08-31 18:53:55 +03:00
parent 329de03646
commit c37705024d
6 changed files with 187 additions and 2 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 ) {