Viewing 6 replies - 1 through 6 (of 6 total)
  • I think you figured it out, but here it is if anyone else needs it.

    just add this little piece of code where ever you want it to display.

    <?php the_author_posts_link(); ?>

    Thread Starter 722797

    I did figure it out. Thanks for the reply though!

    Hmmm… sorry for being dumb, but not ‘resolved’ for me!

    I’m using Cutline 3 column, and want to add post author too – but not sure in which file to drop this piece of code. Further info and/or example would be much appreciated.

    Thanks.

    Actually, just found Cutline-Chris’ own answer:

    Author names are actually already coded into the Cutline framework, but I commented them out to keep them from displaying here. For people running single-author blogs, the name of the author is less important, so that’s why the default setting is to have the author’s name “hidden.”

    Anyway, to allow for author names to display, you’ll need to make a simple change to each of the following files:

    archive.php
    index.php
    search.php
    single.php
    In each file, the edit will be identical, and the line you want to edit begins with the following code:

    <h4><?php the_time('F jS, Y') ?><!–- by <?php the_author() ?> -–>

    Simply replace with:
    <h4><?php the_time('F jS, Y') ?> by <?php the_author() ?>
    and your author names will show up just beneath the post titles!

    Sweet.

    Just looked in both cutline 3 column split and 3 column right and both have the author thingy commented out.
    <!-- by <?php the_author() ?> -->
    So just go into the main index template editor uncommentate it(take the <!-- and --> out) pop in<?php the_author_posts_link(); ?>` and it should work.

    cmogle

    (@cmogle)

    What about when the blog is hosted at wordpress.com and not self-hosted. How do you go about making the change then?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Cutline – How To Display Post Author’ is closed to new replies.