WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [closed] Remove "posted by admin" but keep the date on post (12 posts)

  1. undermythumb
    Member
    Posted 1 year ago #

    I am somewhat new to WordPress, in that I do not know code, nor the ins and outs of WordPress.org which is what I am now using (used .com before).

    I have looked all over the forums and cannot find the correct answer. I'm using the theme "Rundown." On all of my posts, at the top it has "posted by admin" and then the date. I want to keep the date but simply remove "posted by admin." I know that you can switch it to "author" etc, but 1. don't know how that would effect the entire site, 2. I don't want "posted by" anyone.

    Please help. I've had many questions here and have not been able to receive any help.

    Thank you.

  2. catacaustic
    Member
    Posted 1 year ago #

    That should be in your themes template files. Thanks ot the way that WP works, it could be in a whole heap of different files dpeending on how the templates in your theme are set up.

    As a starting point, I'd look ofr these files (in this order):

    1. content-post.php
    2. content.php
    3. single-post.php
    4. single.php
    5. index.php

    There is also going to be template pages for the archive and category listing pages as well. Thes eshould be archive.php or category.php so have a look for those as well.

  3. undermythumb
    Member
    Posted 1 year ago #

    catacustic,

    Thank you so much for replying! I have to admit, I have no idea how or where to find those files. Search where? And once I do, there will be an option to remove the "posted by" section?

  4. Amado.Miami
    Member
    Posted 1 year ago #

    "Appearance" / "Editor"

  5. undermythumb
    Member
    Posted 1 year ago #

    Amando,

    Thank you!! I opened that and now there are a slwe of options. What am I supposed to search for? Simply put in "post by" or "remove posted by?"

    Very confused. I really appreciate the help!

  6. Amado.Miami
    Member
    Posted 1 year ago #

    I am not certain with the ""Rundown" Theme which you are using,
    yet some themes allow you to set this specifically in there
    "theme options". Check there first.

  7. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    at the top it has "posted by admin" and then the date

    according to the theme's templates, there is some 'Posted on .. by ...' (?)
    you might need to post a link to your site to clarify this.

    if you want to remove the author output, edit content.php and content-single.php, locate this line:

    printf( __( '<span class="sep">Posted on </span><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s" pubdate>%4$s</time></a><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author">%7$s</a></span></span>', 'rundown' ),

    and change it to:

    printf( __( '<span class="sep">Posted on </span><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s" pubdate>%4$s</time></a>, 'rundown' ),

    or alternatively, add this to the end of style.css:

    .by-author { display: none; }

  8. undermythumb
    Member
    Posted 1 year ago #

    <according to the theme's templates, there is some 'Posted on .. by ...' (?)
    you might need to post a link to your site to clarify this.

    if you want to remove the author output, edit content.php and content-single.php, locate this line:

    printf( __( '<span class="sep">Posted on </span><time class="entry-date" datetime="%3$s" pubdate>%4$s</time><span class="by-author"> <span class="sep"> by </span> <span class="author vcard"></span></span>', 'rundown' ),

    and change it to:

    printf( __( '<span class="sep">Posted on </span><time class="entry-date" datetime="%3$s" pubdate>%4$s</time>, 'rundown' ),

    or alternatively, add this to the end of style.css:

    .by-author { display: none; }>

    I can honestly say this is a bit beyond me. Sorry! I am not familiar with code. Would it help to include a link to my site?

    Thank you very much for the help. I feel quite overwhelmed.

    I really appreciate all of the input.

  9. undermythumb
    Member
    Posted 1 year ago #

    *smacking forehead for the above* Clearly I don't know how to quote on here either! :(

  10. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    try this:

    add this to the end of style.css of your theme:

    .by-author { display: none; }

    http://codex.wordpress.org/Editing_Files

    and remeber to clear the browser cache by pressing 'reload' or 'ctrl f5'

  11. Amado.Miami
    Member
    Posted 1 year ago #

    IN addition to the great instruction by alchymyth, If you have jetpack installed you can go straight to "Edit CSS" inside of "Appearances"
    and add the line recommended, .by-author { display: none; }

  12. undermythumb
    Member
    Posted 1 year ago #

    alchymyth and Amando,

    IT WORKED!!

    Thank you both so much for your help!!

    This really saved me a lot of headaches!

Topic Closed

This topic has been closed to new replies.

About this Topic