how to make a video page
-
hi,
I’m creating a page for videos that will show in the nav on this site https://www.travelwithcastle.com
I’d like the video previews on the page to look about the same size and style as the picture previews on the home page do now. I figured I could create a category for posts titled Video and instruct the page to only show that category.
I have code that is sort of working, but right now it’s showing the entire post, rather than organizing it into previews. Can anyone help? This is the code I’m using now on the page template. (I have the actual page private, but I’d like it to look more like the homepage does.)
<?php /* Template Name: genius */ ?> <?php query_posts('category=video'); while (have_posts()) : the_post(); the_content(); endwhile; ?> </div> <?php get_sidebar(); ?> </div> <?php get_footer(); ?>
kelly
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘how to make a video page’ is closed to new replies.