vleavell
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Viper’s Video Quicktags] Same Video Multiple SizesHey Viper,
I’ve been trying to figure it out, but have not been able to. I am not very literate with WordPress (but I am trying).
What my goal is to have the regular size video in the main posting area and a smaller video in the sidebar. I am not sure where to put the code:
[whatever width="275" height="12345"]foo[/whatever]
In know you said to put it in the video.php, but I have no idea where.
Here is the code in the video.php”
<div class="video"> <?php query_posts('showposts=1&cat=11'); ?> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <div id="video-<?php the_ID(); ?>"> <?php the_content('Read the rest of this entry »'); ?> </div> <?php endwhile; ?> <?php endif; ?> </div> <!-- / .video--> <?php query_posts('showposts=1&cat=11'); ?> <?php if (have_posts()) : ?> <div class="vidtabs"> <ul class="list2 idTabs"> <?php while (have_posts()) : the_post(); ?> <li><a href="#video-<?php the_ID(); ?>"><?php the_title(); ?></a></li> <?php endwhile; ?> </ul> </div> <?php endif; ?>
I use this so that I can select the category video and it shows in the sidebar. Your plugin works AWESOME for resizing the videos to work in the sidebar.
Can you tell me where to place the code or if it is even needed?
Thanks in advance!
Vern
Forum: Plugins
In reply to: [Plugin: Viper’s Video Quicktags] Same Video Multiple SizesOk, thanks. This is above my head. I was hoping for an easy fix. I am not very good at editing code, that’s why I love your plugin! ??
Forum: Plugins
In reply to: [Plugin: Viper’s Video Quicktags] Same Video Multiple SizesIn the sidebar widget, all I have is <?php include (TEMPLATEPATH . ‘/video.php’); ?>
Where do I go from here?
Thanks!
Awesome! That did the trick!
Thank you very much!
Unfortunately no go. Now it just shows the code on the screen right before the post. Am I putting the code in the correct place?
<!--index.php--> <div class="<?php do_action('content_style'); ?>" id="content"> query_posts ($query_string . '&cat=-20') <?php if (have_posts()) : while (have_posts()) : the_post(); // the loop ?>
Thanks!
Hi MichaelH,
Thanks for the reply! I used the query_post as follows, but it is still displaying the posts. Did I put it in the wrong location?
<!--index.php--> <div class="<?php do_action('content_style'); ?>" id="content"> query_posts ($query_string . '&cat=-20) <?php if (have_posts()) : while (have_posts()) : the_post(); // the loop ?>
Thanks!