无法让它发挥作用,一直在尝试不同的东西 - 但它只首先显示两个。最后一个(其他)没有出现在网站上。
谁能看到我做错了什么?
谢谢!:)
<?php if ( get_post_meta($post->ID, 'ends', true) ) { ?>
<?php echo get_post_meta($post->ID, 'ends', true); ?>
<?php } elseif ( shortcode_exists( 'postexpirator' ) ) { ?>
<?php echo do_shortcode('[postexpirator]'); ?>
<?php } else { ?>
Continues
<?php } ?>