Cant get shortcode to work
-
Hi!
I cant get the [postexpirator] shortcode to work. I have added it inside my CPT loop as: <?php $expireDate = do_shortcode(‘[postexpirator type=”date”]’);?> and then echoing it but it is empty. I have set an expiring date on my posts in admin.
Is it not possible to display it in a loop?/ Katarina
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Cant get shortcode to work’ is closed to new replies.