Title: Moving the title
Last modified: April 19, 2017

---

# Moving the title

 *  [everinmay](https://wordpress.org/support/users/everinmay/)
 * (@everinmay)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/moving-the-title/)
 * Hi I have a theme but I’ve not been able to get in touch with the theme maker
   so I was hoping someone could help me. I want to move my post title below the
   featured image but I don’t know which bit of the code I need to move? The code
   I have is below (thanks in advance for any help you can give me)
 * <?php get_header(); ?>
 * <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
 * <?php
 *  if (class_exists(‘acf’)) {
    if(get_field(‘featured_image_size_options’) == “
   top-featured”) { echo’ <div class=”ig_wrapper single_media_wrapper”>’; include(
   get_template_directory().”/include/header/single-top-featured.php”); echo’ </
   div>’;
 *  } elseif(get_field(‘featured_image_size_options’) == “in-featured”) {
    include(
   get_template_directory().”/include/header/single-only-title.php”);
 *  } elseif(get_field(‘featured_image_size_options’) == “none-featured”) {
    include(
   get_template_directory().”/include/header/single-only-title.php”); } } else {
   include(get_template_directory().”/include/header/single-only-title.php”); }
 * ?>
 * <div class=”ig_wrapper”>
    <div class=”main_content”> <div class=”divider_head_single”
   ></div> <div <?php if(get_theme_mod(‘ig_sidebar_post’) == true) : ?> class=”container”
   <?php else : ?> class=”main_content__r” <?php endif; ?>>
 *  <article id=”post-<?php the_ID(); ?>” <?php post_class( ‘single-page’); ?>>
 * <!–================================
    POST HEADER – Title & Meta =============
   ===================–>
 * <?php
    if (class_exists(‘acf’) && get_field(‘featured_image_size_options’) ==“
   none-featured”) { // Silence } elseif (class_exists(‘acf’) && get_field(‘featured_image_size_options’)
   == “top-featured”) {
 *  if(has_post_format(‘gallery’)|| has_post_format(‘audio’) || has_post_format(‘
   video’)) {
    include(get_template_directory().”/include/header/single-only-title.
   php”); } else { // Silence }
 *  } else {
 *  if(!get_theme_mod(‘ig_post_thumb’)):
    include(TEMPLATEPATH.”/include/single-
   media.php”); endif;
 *  }
    ?>
 * <!–================================
    CONTENT ================================–
   >
 *  <div class=”post_container_single”>
 *  <?php if (class_exists(‘acf’) && get_field(‘story_intro’)) {
    echo'<div class
   =”story-intro”>’; echo'<p>’ . get_field(‘story_intro’) . ‘</p>’; echo'</div>’;}?
   >
 *  <?php the_content(); ?>
    <?php <!–================================ POST SHARE
   ================================–>
 *  <?php if(!get_theme_mod(‘ig_post_share’)) : ?>
    <div class=”post-footer”>
 *  <ul class=”meta-share”>
    - 
    - 
    -  <?php $pin_image = wp_get_attachment_url( get_post_thumbnail_id($post->ID));?
      >
       &media=<?php echo $pin_image; ?>&description=<?php the_title(); ?>”>pinterest
    - 
    -  <div class=”post-header textaligncenter”>
       <div class=”meta_item”> <?php 
      if(!get_theme_mod(‘ig_meta_post_tags’)) : ?> <span class=”cat”><?php the_tags();?
      ></span> <?php endif; ?> </div><!– End meta_item –> </div><!– post-header –
      >
    -  </div><!– post-footer –>
       <?php endif; ?>
    -  </div><!– post_container_single –>
    - </article>
    - <!–================================
       AUTHOR ==============================
      ==–>
    - <?php if(!get_theme_mod(‘ig_post_author’)) : ?>
       <?php ilgelo_post_author();?
      > <?php endif; ?>
    - <!–================================
       Start previous/next post link =======
      =========================–>
    - <div class=”ig_navigation post_container_sub_single”>
    -  <?php
       $prevPost = get_previous_post(); if ($prevPost) { $prevthumbnail =
      get_the_post_thumbnail($prevPost->ID,’ig_image-prev-next’ ); $prevdate = get_the_date(“”,
      $prevPost->ID); ?>
    -  <div class=’cont_prev_left’>
       <div> <div class=”title_navigation_post”> <
      div class=”arrow_prev”> <?php previous_post_link(‘%link’,”); ?> </div> <h5
      ><?php previous_post_link(‘%link’); ?></h5> <h6 class=”r-p-date”><?php echo
      $prevdate; ?></h6> </div> </div> </div><!– cont_prev_left –> <?php } ?>
    -  <?php
       $nextPost = get_next_post(); if ($nextPost) { $nextthumbnail = get_the_post_thumbnail(
      $nextPost->ID,’ig_image-prev-next’ ); $nextdate = get_the_date(“”,$nextPost-
      >ID);
    -  ?>
    -  <div class=’cont_next_right’>
       <div>
    -  <div class=”title_navigation_post_r”>
    -  <div class=”arrow_next”>
       <?php next_post_link(‘%link’,”); ?> </div>
    -  <h5><?php next_post_link(‘%link’); ?></h5>
       <h6 class=”r-p-date”><?php echo
      $nextdate; ?></h6> </div>
    -  </div>
       </div><!– cont_next_right –> <?php } ?>
    - </div> <!– end ig_navigation –>
    - <!–================================
       RELATED POST ========================
      ========–>
    - <?php if(!get_theme_mod(‘ig_post_related’)) : ?>
       <?php ilgelo_post_related();?
      > <?php endif; ?>
    - <!–================================
       COMMENTS ============================
      ====–>
    - <?php comments_template(”, true); ?>
    -  </div><!– .container or .main_content__r –>
       </div><!– .main_content –>
    -  <?php if(get_theme_mod(‘ig_sidebar_post’)) : else : ?>
       <div class=”divider_head_single”
      ></div> <aside class=”cont_sidebar sticky_sider”>
    -  <?php /*
       <!– author box in sidebar –> <div class=”sidebar_author”> <?php
      ilgelo_post_author(); ?> </div> */ ?>
    -  <?php get_sidebar( $name ); ?>
       </aside><!– .cont_sidebar –> <?php endif;?
      >
    - </div><!– .ig_wrapper –>
    -  <?php endwhile; ?>
    - <?php endif; ?>
    - <?php get_footer(); ?>

The topic ‘Moving the title’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [everinmay](https://wordpress.org/support/users/everinmay/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/moving-the-title/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
