• When a visitor clicks the title of a post, a text line shows up.

    This line gives the date and time, the user name and then several links, one of which is edit. This appears to allow the user to enter the admin area of the site and grant th evisitor admin rights.

    How do I suppress this line of code and preserve the security?

    Thanks.

Viewing 10 replies - 1 through 10 (of 10 total)
  • 1. The edit button should only appear when you are logged in. Log out and tell us if it’s still there.

    2. That line depends on the theme you are using. You can either use a new theme, modify the theme to remove the line, or fiddle around with CSS to make the line go away.

    Thread Starter johnfrum

    (@johnfrum)

    I logged out, then clicked to the site and clicked the title of the post. The line showed up below the title. Here it is

    January 23rd, 2010 (Username) Posted in Uncategorized | Edit | No Comments ?

    The edit is an active link that goes to the edit page and allows the person to act as administrator. Very confusing.

    Thread Starter johnfrum

    (@johnfrum)

    WHere in the theme should I look for the code?

    I honestly have no idea, I need to know what theme you’re using. Also, it would be helpful if you gave me the link to your webpage.

    Thread Starter johnfrum

    (@johnfrum)

    Hi,

    Using limauorange by BOB.

    Homepage is https://www.studioyogaonline.com

    Click the New Post This Week! and you’ll see the offending line.

    Thanks.

    Mmm…I wonder if you were properly logged out when you saw that line. If it makes you feel better, I see the line, and the only thing I see is the category you put it in (uncategorised), and the comment count ( 0 comments), I do not see an edit button. If I was logged in, and had editing access, I probably would see a similar button.

    If you go to my website: https://leifandersen.net , you will probably see the same thing (just click on any post). I see the edit button because I’m logged in, but when I’m not logged in, I don’t see said button.

    If you still need the whole line removed (although I would recommend keeping it there), you could potentially go to the theme owners webpage, which I believe is: https://www.blogohblog.com/wordpress-theme-limau-orange/ , and ask him where he put that line in there.

    always make a backup copy beore editing theme files.
    look into single.php and search for <p class="postmetadata"> and delete this until </p>

    there will be a lot of php code inbetween, and it might be over several lines – so be careful to delete it all but not to delete too much.

    if in doubt, post the single.php here.

    ^^^Good advice, always back up, not just the export file that you get (but I would backup that too), but backup the whole directory as well.^^^

    Thread Starter johnfrum

    (@johnfrum)

    Thanks to both LiefAndersen and alchymyth for your help.

    You’re welcome. BtW, if you did get your problem solved, you should mark this thread as resolved, so that people in the future, who are searching for this same issue, can look to it for a resolution.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘How do I suppress the tag line under the title’ is closed to new replies.