Title: Move Post Title
Last modified: August 21, 2016

---

# Move Post Title

 *  Resolved [satrntgr](https://wordpress.org/support/users/satrntgr/)
 * (@satrntgr)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/move-post-title/)
 * I was able to change the html to move the tags to the bottom of my post, but 
   how do I move the post title to the bottom as well? I can’t find the info anywhere.
   Thanks.

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

 *  [tomaja](https://wordpress.org/support/users/tomaja/)
 * (@tomaja)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/move-post-title/#post-4346707)
 * Hi [@satrntgr](https://wordpress.org/support/users/satrntgr/),
    for moving post
   header to the bottom of the post you can use this code, just add it to your function.
   php in child theme:
 *     ```
       add_action ('__before_body' , 'move_post_header');
   
       function move_post_header() {
   
               remove_action  ( '__before_content' , array( TC_post::$instance , 'tc_post_header' ));
               add_action  ( '__after_content' , array( TC_post::$instance , 'tc_post_header' ), 1);
       }
       ```
   
 * This works for full posts. Hope it helps.
 *  Thread Starter [satrntgr](https://wordpress.org/support/users/satrntgr/)
 * (@satrntgr)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/move-post-title/#post-4346806)
 * Thanks – that worked!!
 *  Thread Starter [satrntgr](https://wordpress.org/support/users/satrntgr/)
 * (@satrntgr)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/move-post-title/#post-4346862)
 * Sorry, they just did another update and I cannot figure out how to use the child
   theme. I added the html to the functions file, but it didn’t work. Now what? 
   🙁
 *  Thread Starter [satrntgr](https://wordpress.org/support/users/satrntgr/)
 * (@satrntgr)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/move-post-title/#post-4346866)
 * I’m using a child theme, but that code still isn’t workingin my child theme. 
   Any other ideas?
 *  [rdellconsulting](https://wordpress.org/support/users/rdellconsulting/)
 * (@rdellconsulting)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/move-post-title/#post-4346867)
 * Is this [Snippet ](http://www.themesandco.com/snippet/moving-single-post-metas-to-the-bottom-of-the-post/)
   what you meant to do?
 *  Thread Starter [satrntgr](https://wordpress.org/support/users/satrntgr/)
 * (@satrntgr)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/move-post-title/#post-4346869)
 * No, that’s just moving tags – I want the title gone.
 *  [ElectricFeet](https://wordpress.org/support/users/electricfeet/)
 * (@electricfeet)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/move-post-title/#post-4346872)
 * What seems to have happened is that [@nikeo](https://wordpress.org/support/users/nikeo/)
   has split off the rendering of the headings to `class-content-headings.php`. 
   I presume to reduce repetition. So the code in functions.php now becomes:
 *     ```
       //we hook the code on the wp_head hook, this way it will be executed before any html rendering.
       add_action ( 'wp_head' , 'move_my_post_headers');
       function move_my_post_headers() {
           //we unhook the header
           remove_action( '__before_content' , array( TC_headings::$instance , 'tc_content_headings' ));
   
           //we re-hook the header. Check the priority here : set to 0 to be the first in the list of different actions hooked to this hook
           add_action( '__after_content' , array( TC_headings::$instance , 'tc_content_headings' ), 0);
       }
       ```
   
 * The unfortunate side-effect of consolidating the header code, however, is that
   if you apply the code above, _all_ the content headings — of pages, posts, and
   post-lists — will be at the bottom, not just on the posts. This may or may not
   be what you wanted.
 *  [ElectricFeet](https://wordpress.org/support/users/electricfeet/)
 * (@electricfeet)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/move-post-title/#post-4346873)
 * OK. I’ve now worked this out. You can add a test to check you are on a single
   post. The code that _only_ moves the title when viewing a individual post is 
   as follows:
 *     ```
       //we hook the code on the wp_head hook, this way it will be executed before any html rendering.
       add_action ( 'wp_head' , 'move_my_post_headers');
       function move_my_post_headers() {
       	// check if we're on a single post; if not, do nothing
       	global $post;
           if ( isset($post) && 'page' != $post -> post_type && 'attachment' != $post -> post_type && is_singular() ) {
   
       	    //we unhook the header
       	    remove_action( '__before_content' , array( TC_headings::$instance , 'tc_content_headings' ));
   
       	    //we re-hook the slider. Check the priority here : set to 0 to be the first in the list of different actions hooked to this hook
       	    add_action( '__after_content' , array( TC_headings::$instance , 'tc_content_headings' ), 0);
       	}
       }
       ```
   
 *  Thread Starter [satrntgr](https://wordpress.org/support/users/satrntgr/)
 * (@satrntgr)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/move-post-title/#post-4346874)
 * [@electricfeet](https://wordpress.org/support/users/electricfeet/) – where do
   I add the html in? In the php file, or just the post? Thanks for working on this!
 *  [ElectricFeet](https://wordpress.org/support/users/electricfeet/)
 * (@electricfeet)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/move-post-title/#post-4346875)
 * It should go in the functions.php file of your child theme.
 *  Thread Starter [satrntgr](https://wordpress.org/support/users/satrntgr/)
 * (@satrntgr)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/move-post-title/#post-4346876)
 * That worked – you’re awesome [@electricfeet](https://wordpress.org/support/users/electricfeet/)!

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

The topic ‘Move Post Title’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/customizr/4.4.24/screenshot.png)
 * Customizr
 * [Support Threads](https://wordpress.org/support/theme/customizr/)
 * [Active Topics](https://wordpress.org/support/theme/customizr/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/customizr/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/customizr/reviews/)

## Tags

 * [bottom](https://wordpress.org/support/topic-tag/bottom/)
 * [niclook](https://wordpress.org/support/topic-tag/niclook/)
 * [post](https://wordpress.org/support/topic-tag/post/)
 * [title](https://wordpress.org/support/topic-tag/title/)

 * 11 replies
 * 4 participants
 * Last reply from: [satrntgr](https://wordpress.org/support/users/satrntgr/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/move-post-title/#post-4346876)
 * Status: resolved