Need help with my template [closed]

There are a few things that you need to look at After your third video there is <div class=”clear”></div> That is forcing the 4th and 5th video onto a new line. Remove this. You also need the containing box to be big enough to hold 5 video’s in a row therefore in the css you … Read more

Page template not registering on theme

Might be a difference in query methods. This is a simpler way to query a page’s content and can be used multiple times in a template without each query conflicting with each other. <?php $my_query = new WP_Query(‘page_id=2’); ?> <?php while ($my_query->have_posts()) : $my_query->the_post(); ?> <?php the_content(); ?> <?php endwhile; ?>

what is template-name.php

I always name them like so: page-name.php; This keeps my page templates nicely together + in some cases this can make your code easier, for example… <?php // Get the file called loop-page.php get_template_part( ‘loop’, ‘page’ ); ?> A quick Google revealed also this http://wp.tutsplus.com/tutorials/organizing-and-naming-your-themes-template-files-for-clarity-and-convenience/ Cheers

Which template.php for /blog

Use home.php, that’s the template for the list of newest blog posts. It will not affect the URL. If you go to wp-admin/options-reading.php and choose a page for Posts page – this page will use home.php. So create a static page, assign the URL /blog/ and select it in the settings. WordPress will take care … Read more