And is there a shortcode for trailer too, to show in single.php ??
Hi ArdiArtani,
You’re right, as mentioned here you can add links to meta:
<?php
$director = wpmoly_get_movie_meta( get_the_ID(), 'director' );
$director = apply_filters( 'wpmoly_format_movie_director', $director );
echo $director;
?>
There’s also a movie trailer shortcode ([movie_trailer]), provided that you installed the Trailers extension (which is still experimental, by the way).
Hi Charlie,
I managed to solve the problem by using the the shortcode [movie_KEY], using this code :<div class="wpmoly shortcode meta"><?php echo do_shortcode('[movie_detail]'); ?></div>
And for the trailer i got that too [movie_trailer id=” <?php get_the_ID(); ?> “],
:<div class="wpmoly shortcode meta"><?php echo do_shortcode('[movie_trailer id=" <?php get_the_ID(); ?> "]'); ?></div>, i change the link too from embed/ to watch=?v so now i have the link of the video and i use it like a lightbox it opens when you click on the movie poster.
But Thank You So Much about the plugin great job!!
Great! Glad you got it working the way you want 🙂