Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #11293

    Hi,

    I am wondering if there is a possibility of adding an Author Box for each blog post?

    #71297

    Hello,

    You can remove the comment tag on author meta, just look for the post format(format-standard, format-gallery etc) in includes folder.

    Hope it helps. :)

    Regards,

    Ismael

    #71298

    Thanks!

    That is a temporary solution I could use, but I was thinking more in the likes of the Author Box that can be seen in the blog theme “Shoutbox”.

    Like this:

    http://www.kriesi.at/themes/shoutbox/2011/02/17/aenean-vulputate-eleifend-tellus-aenean-leo-ligula/

    #71299

    I created my own Author Box and placed it in the single.php file. This is a temporary solution at the moment since I will loose the author box when updating. Have a look here:

    http://www.afairjudgement.com/2012/03/21/thastrom-live/

    Do I have to create an child theme to not loose my box?

    #71300

    Hello,

    Whatever you did, it looks good. :)

    I recommend saving a snippet for that author box. When you update just place the snippet on the designated files.

    Regards,

    Ismael

    #71301

    I wrote the HTML for the author box and placed it in the single.php, directly after the loop.

    <br />
    <br />
    <div id="authorarea"><br />
    <?php if (function_exists('get_avatar')) { echo get_avatar( get_the_author_email(), '100' ); }?><br />
    <div class="authorinfo"><br />
    <h3>Om <?php the_author_posts_link(); ?></h3><br />
    <p><?php the_author_description(); ?></p><br />
    </div><br />
    </div><br />

    And then the appropriate CSS.

    <br />
    #authorarea {<br />
    background: #f0f0f0;<br />
    border: 1px solid #d2d2d2;<br />
    padding: 10px;<br />
    width:100%;<br />
    overflow:hidden;<br />
    color: #333;<br />
    -moz-border-radius: 5px;<br />
    -webkit-border-radius: 5px;<br />
    }<br />
    #authorarea h3{<br />
    font-face: HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, sans-serif;<br />
    font-size: 16px;<br />
    text-transform:uppercase;<br />
    color:#333;<br />
    margin:0;<br />
    padding:10px 10px 5px 10px;<br />
    }<br />
    #authorarea h3 a{<br />
    text-decoration:none;<br />
    color: #333;<br />
    font-weight: bold;<br />
    }<br />
    #authorarea img{<br />
    margin:0;<br />
    padding:5px;<br />
    float:left;<br />
    border: 1px solid #ddd;<br />
    width: 100px;<br />
    height: 100px;<br />
    -moz-border-radius: 3px;<br />
    -webkit-border-radius: 3px;<br />
    }<br />
    #authorarea p{<br />
    color:#333;<br />
    margin:0;<br />
    padding:0px 10px 10px 10px;<br />
    }<br />
    #authorarea p a{<br />
    color:#333;<br />
    }<br />
    .authorinfo{<br />
    padding-left:120px;<br />
    }<br />

    I will mark this post as resolved.

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Possibility of an Author Box?’ is closed to new replies.