Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter tajasel

    (@tajasel)

    To be honest, I suspect if I can find a way to shift the </div> from line 3 in the extract to after the author tag, then both bits of text will end up on the same line in the same font style, but I haven’t been able to do that without breaking the code.

    Thread Starter tajasel

    (@tajasel)

    Oh, rubbish, right, yes. Here’s the code I actually meant to post!

    if(is_single()) {
    	                echo '<div class="meta">';
    	                    if(pbt_theme_option('dates_posts')=='on') { echo '<div class="date">'; the_time(get_option('date_format')); echo ' by <?php the_author() ?> </div>'; }
    	                    if(pbt_theme_option('authors_posts')=='on') { _e("By", "magazine-basic"); echo ' '; the_author_posts_link(); }
    	                echo '</div>';
                    }
    Thread Starter tajasel

    (@tajasel)

    Hmm, that code doesn’t break the theme, but just gets rid of the date/author altogether!

    To clarify, I’m happy with the way the homepage of the site looks.
    This is for single posts, where the following to appear beneath the title:

    February 13, 2012 by tajasel

    Currently, it prints:

    February 13, 2012 by
    By tajasel

    (Where italics indicate a different text style.)

    Thread Starter tajasel

    (@tajasel)

    Hadn’t tried that, but have done and it’s now working fine, thankyou very much!

Viewing 4 replies - 1 through 4 (of 4 total)