Title: If post format is video
Last modified: August 20, 2016

---

# If post format is video

 *  Resolved [Ene Marius](https://wordpress.org/support/users/enemarius92/)
 * (@enemarius92)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/if-post-format-is-video/)
 * Hi,
    How can I make the video format posts to have the entry title below the 
   excerp instead of above without affecting the other type of posts.
 * Can anyone help?
    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * (@rvoodoo)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/if-post-format-is-video/#post-3312008)
 * How familiar are you with writing code?
 * You can modify your template with a little bit of conditional work…
    [http://codex.wordpress.org/Post_Formats#Using_Formats](http://codex.wordpress.org/Post_Formats#Using_Formats)
   Unless your site is already configured to use format specific templates, in which
   case you could add a video template…
 * for instance 2011 and 2012 use format specific templates… so in a child theme
   it would be as simple as making a new template to handle video format…
 *  Thread Starter [Ene Marius](https://wordpress.org/support/users/enemarius92/)
 * (@enemarius92)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/if-post-format-is-video/#post-3312027)
 * Thank you, I only know css and html. I understand php if I look at it but I don’t
   know how to use if that makes sense.
    Anyway, managed to to something
 * I disabled entry-title showing on video format posts and then created a new entry-
   title as entry-title2.
 *     ```
       .format-video .entry-title {
       display:none;
       }
   
       article .entry-title2 {
       padding-left: 40px;
       margin-top: -15px;
       padding-bottom: 20px;
       padding-right: 40px;
       font-size: 21px;
       font-weight: normal;
       font-family: 'Ubuntu', sans-serif;
       border-top: 0px solid white;
       }
       ```
   
 *  Then I put this code after the excerp
 *     ```
       <?php if ( has_post_format( 'video' )) : ?>
       		<h1 class="entry-title2"> <a>" rel="bookmark"><?php the_title() ?></a></h1>
       		<?php endif ?>
       ```
   
 * It works well.
 * Thank you for your help and Happy Holidays 🙂
 * _[MOD NOTE: please post code using the code button, or between backtics. As it
   is, the forum has eaten some of your delicious code and it is now incomplete]_
 *  [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * (@rvoodoo)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/if-post-format-is-video/#post-3312029)
 * If it works for your needs, then good job!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘If post format is video’ is closed to new replies.

 * 3 replies
 * 2 participants
 * Last reply from: [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/if-post-format-is-video/#post-3312029)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
