• Hi! I do not want the author name listed with the post. On my top page (which includes all posts) I was able to turn off the author name in the coding so it does not appear on under each post title. On the pages that has the full post, I was able to remove it as well so it does not appear under the title of the post and above the text of the post.

    HOWEVER, I have multiple categories. Each category page lists the post in that category. I can not find where in the coding to turn off this feature so the author name does not appear under the title of each post. Do you know where?

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • category.php or archive.php mostlikely

    Thread Starter nmcnulty

    (@nmcnulty)

    Thank you. Archive.php works.

    This leads me to the next question. Currently on all pages it is:
    title of post
    date
    post

    Next to the date, I would like to have “Posted on:” so that it reads
    Posted on: May 21

    Is there a way to change this in the coding?

    find the date code and add your words

    you have something like <?php the_time('m d'); ?>

    just add Posted on in front of that

    Posted on: <?php the_time('m d'); ?>

    (the “m d” stuff I made up cuz I am lazy, your letters will be different, its no matter…also you may have the_time or the_date, same advice applies)

    Thread Starter nmcnulty

    (@nmcnulty)

    That works, but the “Posted on” appears two lines about the date. I would like it in the same line, directly in front of the date.

    I’d need to see the line of code then, plus a few lines above and below

    Thread Starter nmcnulty

    (@nmcnulty)

    Thanks for your help! Here is the code:

    <div class=”ind-post”>
    <h1>” title=”<?php printf(__(“Permanent Link to %s”, “magazine-basic”), the_title_attribute(‘echo=0’)); ?>”><?php the_title(); ?></h1>
    <div class=”meta”>
    <?php if(get_option(‘uwc_dates_index’) == ‘on’) {echo ‘<div class=”date”>’; the_time(get_option(‘date_format’)); echo ‘</div>’; } ?>
    <?php if(get_option(‘uwc_authors_index’) == ‘off’) { _e(“By”, “magazine-basic”); echo ‘ ‘; the_author_posts_link(); } ?>
    </div>

    awww crap….another one of the complicated themes…

    where did you add your text?

    <?php if(get_option('uwc_dates_index') == 'on') {echo '<div class="date">'; echo 'Posted on:' the_time(get_option('date_format')); echo '</div>'; } ?>

    Something like that may work… with an echo? I’m just at the edge of my knowledge here…..

    Thread Starter nmcnulty

    (@nmcnulty)

    Thanks! That worked. I need to put a ; after ‘Posted on: ‘ but other than that it worked. So the final is:
    <?php if(get_option(‘uwc_dates_index’) == ‘on’) {echo ‘<div class=”date”>’; echo ‘Posted on:’ ; the_time(get_option(‘date_format’)); echo ‘</div>’; } ?>

    Hot! glad it worked out!

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

The topic ‘author name’ is closed to new replies.