• Hi,
    A while back I removed the post information such as ‘Posted by’ and ‘Date’ and now I need the information to be back in 🙂

    Only problem is that I cant for the life of me remember which file this information should be in or what the code was for it.

    Can anyone help me?

    Thanks

Viewing 9 replies - 1 through 9 (of 9 total)
  • LOL
    Reinstall TwentyTen

    From now on only use Child Themes from the Get Go

    Thread Starter agent_trig

    (@agent_trig)

    Re-install TwentyTen? That’s a bit drastic.

    Couldn’t I just replace the .php file with an untouched one?

    If so, then which .php file is it?

    once u hack core templates instead of using a child theme u are in a world of confusion

    Thread Starter agent_trig

    (@agent_trig)

    Which file holds the post information though?

    its theme dependant
    its in the loop function

    Thread Starter agent_trig

    (@agent_trig)

    I’ve just replaced the loop.php file with a new one I downloaded and its still the same – no post information in the posts.

    It must be in a different file.

    Anyone got any ideas?

    Root – Reading your advice of not messing with core files is great advice.

    Luckily I’m using Wamp, just learned about and installed a child theme – Twentyten. Since I am just starting out I can start over easily before I hacked too much.

    Thanks for the insight.

    Thread Starter agent_trig

    (@agent_trig)

    I’m still at a loose end with this problem if anyone can help me?

    Where is the ‘posted by’ and ‘post date’ information stored?

    Thanks

    the other template to look into is single.php – this area:

    <div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    					<h1 class="entry-title"><?php the_title(); ?></h1>
    
    					<div class="entry-meta">
    						<?php twentyten_posted_on(); ?>
    					</div><!-- .entry-meta -->
    
    					<div class="entry-content">
    						<?php the_content(); ?>
Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘TwentyTen – Post information’ is closed to new replies.