Change position of title and meta

  • Author
    Posts
  • #41531

    Hi there,

    I think it is a simple thing but I tried all day w/ out any success: In single.php I would like to change the position of title and the meta data (author/categories/posted on…). Will say, first the meta followed by the posts title – so the title is directly above the content.

    Whatever I try leads to a white page or a page containing just the title.

    Any help ist appreciated.

    Regards

    Website: www.weltangucker.de

    #41551
    Zed
    Cryout Creations mastermind

    Try changing single.php like this:

               ...
                <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
                         <div class="entry-meta">
                               <?php nirvana_posted_on(); cryout_post_meta_hook(); ?>
                         </div><!-- .entry-meta -->
                         <h1 class="entry-title"><?php the_title(); ?></h1>
                         <?php cryout_post_title_hook(); ?>
    
                         <div class="entry-content">
                               <?php the_content(); ?>
                               ...

    If you like our creations, help us share by rating them on WordPress.org.
    Please read the available documentation and search the forums before posting.
    #41569

    Hi Zed,

    That was exactly one of my attemps. Seems like I saved the .php file in the wrong data format. Now it works, thx.

    • This reply was modified 4 years ago by Klaus.
Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Change position of title and meta’ is closed to new replies.