• Resolved undermythumb

    (@undermythumb)


    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.

Viewing 11 replies - 1 through 11 (of 11 total)
  • 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.

    Thread Starter undermythumb

    (@undermythumb)

    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?

    “Appearance” / “Editor”

    Thread Starter undermythumb

    (@undermythumb)

    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!

    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.

    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; }

    Thread Starter undermythumb

    (@undermythumb)

    <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”>%7$s</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.

    Thread Starter undermythumb

    (@undermythumb)

    *smacking forehead for the above* Clearly I don’t know how to quote on here either! 🙁

    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’

    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; }

    Thread Starter undermythumb

    (@undermythumb)

    alchymyth and Amando,

    IT WORKED!!

    Thank you both so much for your help!!

    This really saved me a lot of headaches!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Remove "posted by admin" but keep the date on post’ is closed to new replies.