rouprasith
Forum Replies Created
-
@sutherland Boswell
Oh, That makes much more sense.
I’m entering the YouTube ID alone into a Taxonomy I created called ‘youtubecode’ so I’m assuming I’d have to get the plugin to scan that table entry for the post?This would be very useful and also encourage users to create accounts. Please consider adding this! ^_^
@sutherland Boswell
to sum it all up, I made it to where i don’t have to keep copying and pasting the embed code of the video. so it’s already coded into the post outside of the content area. That isn’t important, I just want to find a way to scan the entire post (maybe a div within the post) instead of scanning the content area of the post..
@sutherland Boswell
I’m not using a custom field, I’m using a custom post type.
for examply:
content-single-video.php
I’ve placed the embed code before <?php the_content(); ?>
my code looks like thiis:<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="section-header"> <h1 class="section-title"><?php the_title(); ?></h1> </div> <iframe width="680" height="383" src="http://www.youtube.com/embed/<?php echo do_shortcode('[youtube][/youtube]'); ?>?rel=0&showinfo=0" frameborder="0" allowfullscreen></iframe> <?php the_content(); ?> </article><!-- #post-<?php the_ID(); ?> -->“[youtube][/youtube]” is the shortcode I use to insert the id of the video.