WordPress.org

Ready to get started?Download WordPress

Forums

Theme 1242 - remove 'written by' boxes on each page (5 posts)

  1. tabby761
    Member
    Posted 2 years ago #

    Hi
    I've been searching for hours to find out how do I remove the 'written by' boxes at bottom of each page.
    Tried screen options and unticking comment and discussion boxes, tried ticking them and unticking them under discussion section further down the page, tried looking at editor for 'php comment templates' but I dont know what I'm doing and cant see anything. Please help?
    Also does anyone know how I can remove the 'edit this entry' line under title of each page?

    My site is http://www.elitesecretarialservices.co.uk

    Thanks

  2. s_ha_dum
    Member
    Posted 2 years ago #

    You need to edit the theme. There should be a function call to edit_post_link(...). Remove that.

    That 'edit' link only shows up for logged in user with edit privileges though. Most of your visitors don't see it.

  3. tabby761
    Member
    Posted 2 years ago #

    Thanks s_ha_dum for your reply.

    I'm very new to this...I understand from your reply that the 'edit this entry' is only seen by me because I have logged in?

    Is your editing the theme with removing the function call to remove the 'written by' boxes? Also where do I find the edit_post_link to remove it and will that remove the 'written by boxes' from all of my website or just a particular post?

    Sorry for the lack of understanding and thanks again

  4. s_ha_dum
    Member
    Posted 2 years ago #

    I'm very new to this...I understand from your reply that the 'edit this entry' is only seen by me because I have logged in?

    Yes. You only see it if you are logged in and can edit the post. I gave our designer a heart attack over this too.

    You will need to edit the theme to remove the 'written by' part too. That should be a function called the_author(...). I can't tell you exactly where to find those but start looking in your theme's index.php and single.php files. If you can't find it and you see a function called get_template_part(...) follow it to the referenced file.

  5. tabby761
    Member
    Posted 2 years ago #

    Thanks so much. I'll have a look around and see what I can do.

Topic Closed

This topic has been closed to new replies.

About this Topic