• As the main settings pages will be hidden from the users view, I am trying to create an additional admin page that only allows the user to edit the tagline for the site.

    I have figured out how to create a new admin page and submenu link with the following code added to my theme functions.php :

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Now I need to figure out how to populate this page with an editable tagline field and save function. If anyone can help me with this I would be very greatful as I’ve spent an age trying and failing.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Oceanweb

    (@oceanweb)

    Sorry, the code was moderated out so can now be accessed
    here.

    you can use “menu admin editor” plugin. with these plugin, you can change acces level every role

    Thread Starter Oceanweb

    (@oceanweb)

    I currently use the plugin Adminimise to restrict access to the menu options but it does not allow me to create a cut down general settings page with only the tagline field available. Does ‘menu admin editor’ allow you to do this?

    Really I would prefer to learn how to create an additional cut-down general settings page through the functions.php file.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Create new admin pages to change specific settings’ is closed to new replies.