Hi Stefan
Right now, with do_action(‘slideshow_deploy’, $post->post_content); I actually passing the slide show ID (93) as $post->post_content
, and not the whole string [slideshow_deploy id=93]
.
I understand it should work by using [slideshow_deploy id=93] as the content of the post but somehow when outputting the post with
$post = get_post($p); //$p is the post_ID
echo $post->post_content;
it doesn’t initiate the slideshow but only shows this string “[slideshow_deploy id=93]”. I guess my output method is not happy with the slideshow string.
Thanks