WordPress

Discussion in 'Web Design and Development' started by amtjb, Oct 30, 2015.

  1. amtjb macrumors member

    Joined:
    Jan 5, 2011
    #1
    I am trying to remove all the author names on all my Wordpress blog post. I have been searching on the internet and found this remedy. "Look at the post above and open single.php, archive.php and index.php and remove the <?php the_author_link(); ?> "This remedy was written three years ago. So I could not ask the poster any questions. I have limited skills in programming, mainly html5. My question is how do I get to the single.php, archive.php and index.php code?
     
  2. slayerizer macrumors 6502a

    slayerizer

    Joined:
    Nov 9, 2012
    Location:
    Canada
    #2
    are you hosted on wordpress.com or your hosting your own copy of wordpress?
     
  3. amtjb thread starter macrumors member

    Joined:
    Jan 5, 2011
    #3
    I have installed Wordpress locally using MAMP on my Mac.
     
  4. slayerizer macrumors 6502a

    slayerizer

    Joined:
    Nov 9, 2012
    Location:
    Canada
    #4
    If your Mamp application is installed in /Applications, open the Mamp folder (/Applications/MAMP/htdocs). Find where you have put the wordpress files and in that location you should see a wp-content folder, go under it and open themes. Open the subfolder corresponding to your theme (probably twentyfifteen) and you will see the .php files you're looking for.

    cheers
     
  5. amtjb thread starter macrumors member

    Joined:
    Jan 5, 2011
    #5
    I think the direction they gave to remove the author's name is out dated. It was written three years ago. I could not find the code in the single.php, archive.php or index.php files. I even looked in the author.php file. Thanks for the help anyways.
     
  6. slayerizer macrumors 6502a

    slayerizer

    Joined:
    Nov 9, 2012
    Location:
    Canada
    #6


    edit style.css (in the theme directory)

    add at the end of the file..


    Code:
    .entry-author-link { display: none; }
     
  7. amtjb thread starter macrumors member

    Joined:
    Jan 5, 2011
    #7
    I found the style.css file in the theme directory. I am not able to make changes to the file. What do I need to do to add the code?
     
  8. smirking macrumors 6502a

    Joined:
    Aug 31, 2003
    Location:
    Silicon Valley
    #8
    Actually, you shouldn't make edits directly to that file or any part of a theme that you downloaded. It'll get overwritten with theme updates. You want to create a child theme first and then add your style customizations to the stylesheet of the child theme.
     
  9. besler3035 macrumors 6502a

    Joined:
    Oct 29, 2004
    Location:
    Grand Rapids, MI
    #9
    Install the Jetpack plugin first, and activate the Custom CSS part of it. That will turn on a menu under Appearance where you can add the custom CSS code that slayerizer mentioned.
     
  10. BillyBobBongo macrumors 68020

    BillyBobBongo

    Joined:
    Jun 21, 2007
    Location:
    On The Interweb Thingy!
    #10
    Don't install the Jetpack plugin, it's unnecessary bloatware. I have no idea why people recommend it.

    Here's a link on how to make a child theme, this is by far the best way to make custom changes to a template - https://codex.wordpress.org/Child_Themes
     
  11. besler3035 macrumors 6502a

    Joined:
    Oct 29, 2004
    Location:
    Grand Rapids, MI
    #11
    It's recommended because people who don't have a ton of experience and want those functions...it's a great resource. And aspects of it can be turned on/off as necessary.

    That being said, there are also Edit CSS plugins available that would achieve the same thing.
     
  12. Rab Simpson macrumors regular

    Rab Simpson

    Joined:
    Feb 10, 2006
    Location:
    Glasgow, Scotland
    #12
    There are much lighter, faster versions of it available which also don't require logging in on wordpress.com. I like Slimpack just for the sharing tool.
     

Share This Page