WordPress.org

Ready to get started?Download WordPress

Forums

User Access Manager
[resolved] PHP Customization for the Post & Page Content (3 posts)

  1. bamajr
    Member
    Posted 3 years ago #

    I would like to be able to specify in your Plugin Settings, the ability to use the 404.php instead of a generic error.

    In UAM > Settings > Post settings > Post content

    and...

    In UAM > Settings > Page settings > Page content

    I would like to be able to redirect the error pages to the theme's default 404.php error - you know, it would be like the page didn't really exist ;-)

    You should have an option in your settings to choose the generic ERROR or to use the 404 error.

  2. GM_Alex
    Member
    Plugin Author

    Posted 3 years ago #

    What means generic ERROR? If you set the options "hide complete post" or "hide complete page" to "yes" a user will get the 404 page if he calls the post/page url. If you choose "no" he will see the defined text. That's the only correct way to do it. Hide a post/page means a user should not know that a post/page exist and not hiding a post/page should says to a user there is more but you have no access.

  3. bamajr
    Member
    Posted 3 years ago #

    Actually, I got it all figured out...

    By "Generic Error" I meant the error message your plug-in allows to be customized for the posts and pages.

    I didn't see in your plug-in's info that the "hide complete post" or "hide complete page" could be set to yes and result in a 404 error. After playing with the settings though, I see the desired result I was looking for.

    Great plug-in.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic