Support » Plugin: More Privacy Options » Can I Alter The Appearance of Access Denied Page?

  • I’d like to alter the appearance and message on the page that shows when a user attempts to access a blog that they’re not a member of. Can you please describe how to do this?



Viewing 2 replies - 1 through 2 (of 2 total)
  • Just bumping to see if the support thread is still being monitored…

    Plugin Author David Sader


    Well, you have already concluded rightly that there is no user interface to alter via the dashboard. SO I can only really confirm there is no “easy” way.

    If you are only wanting to edit the language strings, then you can do that using a localization or mo/po editor plugin.

    Now, altering the “appearance” of any particular page can be done with CSS. Use your favourite browser add-on to figure out the id and class of the containers. I offer that you can alter all kinds of CSS using the Jetpack plugin:

    The problem you see once your snoop into page source generated by this plugin is the id and class names are the same as the login page. That means that altering CSS on this specific page you ask for may have the side-effect of altering the appearance of every page using the login form id and class names.

    If you just want to “fork” this plugin (dupe it, then uninstall original), then you can edit its code. If you choose this route, you can tinker away with the function ds_login_header to edit the top half of the login form and then tinker with the functions that generates the bottom half, i.e., ds_members_authenticator.

    If you would rather leave the plugin as is, you can add a plugin of your own to remove actions and then replace with your own.

    So to start,

    But look/compare closely comments for changes since WP 4.7:

    • This reply was modified 4 months, 1 week ago by  David Sader.
    • This reply was modified 4 months, 1 week ago by  David Sader.
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.