WordPress.org

Support

Support » Themes and Templates » Move Post Title Above Post

Move Post Title Above Post

  • I’m using the Evolve theme and right now the Post Title is above the Date / Author bar. I would like to reverse the positions of the bars and have the Post Title directly above the post and have the Date / Author bar above the Post title.

    Here is my blog-
    http://www.visitorsofvegas.com

    Any help is greatly appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • maurizio04
    Member

    @maurizio04

    Any mods to the date bar is not easy….
    The code must also be copied for every kind of display, and having it done only on the home page I don’t know if it will make the overall look worse.

    [signature moderated]

    Do you know what code I need to move? I’m guessing the ‘entry-title’ is the post title? Where would I need to move the code to switch places? I wish there was a plugin for this =)

    maurizio04
    Member

    @maurizio04

    <h1 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php if ( get_the_title() ){ the_title();}else{ _e( 'Untitled', 'evolve' ); } ?></a></h1>

    it is at line 607 of index.php and it’s in a big if (all the code is an endless string of if else….
    you can move it in line 622 empty, just after the vcard and before the end of the if (}).
    -m

    Thanks for the help maurizio04. It moved it below the Time stamp bar, but it left it also expanded the light gray bar. Is it possible to replace the “Written By” with the Post title?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Move Post Title Above Post’ is closed to new replies.