>> Template blog and page ?

Good morning Ashok
I use a buddypress and multisite
I install blogtemplate to create a full site for new user
I need to have pages impossible to suppress or modify by the new user just by super admin ?
And is it possible to add at the footer the page an addvert feet impossible to be edit by the user, just by super admin ?

Thank you

  • Ash

    Hello @Laurent_C

    I hope you are well today.

    Please use the code from here: https://gist.github.com/bappi-d-great/3491ad7e335beedf9271

    You can add those codes in your functions.php in the theme, if you think your theme won’t be changed. Otherwise mu-plugins is the best solution. To use mu-plugins, go to /wp-content/ and find the folder with name 'mu-plugins'. If there is no folder in that name, then create a folder, name it 'mu-plugins', create a file inside that, give any name you like and paste the code in there. You don't need to activate that plugin. Mu-plugins means must use plugins, so it will be activated automatically always. If you use mu-plugins then add a php start tag at the beginning of the code.

    You will see a meta box in every edit page screen at top right where you can select a page is protected or not.

    Please note that, this code will work for new created site only. I mean the sites are created after adding the code, only be affected with the code.

    Hope it helps :slight_smile: Please feel free to ask more question if you have any.


Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.