Adding author information to single-user twentytwelve blog

I noticed that the author information I was used to seeing on my Soaring Cafe posts weren’t appearing on these posts, so I started digging (again!). Turns out the TwentyTwelve theme doesn’t add the author info until/unless there are multiple registered users on the site *and* there are posts by at least two different authors.

To defeat this ‘too smart for its own good’ setup, I did the following (see¬†http://noseyparka.me.uk/2013/04/21/display-post-author-on-single-user-twenty-twelve-wordpress-blog/) for details)

  • copied functions.php from twentytwelve to twentytwelve-child
  • deleted the contents of the new functions.php (remember, child php files are executed *after* the corresponding php file of the parent), and added the required filter line “add_filter( ‘is_multi_author’, ‘__return_true’ );”

 

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>