This topic has 3 replies, 2 voices, and was last updated 5 years by Radu.

  • Author
  • #217239
     devis
    Participant

    I neneed to hide the admin account in the front end

    Anyone with an idea?

    #217259
     Radu
    Moderator

    Hi,

    With a snippet it should please take a look here : https://buddypress.org/support/topic/hide-admin-from-members-and-activity/#post-190874

    The code should be added into functions.php from child theme.

    Make sure to have child theme installed and activated.

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #217260
     devis
    Participant

    I paste the code for hiding the admin account then I got this message

    “Unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file change by some other means, such as by using SFTP.”

    #217306
     Radu
    Moderator

    Hi,

    Try to edit the files via FTP, sometimes server permissions not allowing editing php files from wp interface.

    Also you can edit the functions.php file from cpanel or something similar.

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?