Viewing 1 replies (of 1 total)
  • Thread Starter asimeon

    (@asimeon)

    Ok,
    my solution for now is to check directly in the template which user wants to edit what kind of post…

    I wrote something like this into the template file before the loop starts:

    if ( isset($_GET['pid']) && get_post_type( $_GET['pid'] ) == 'page' ) {
    	echo "You are not allowed to edit this page.";
    	get_footer();
    	exit();
    }

Viewing 1 replies (of 1 total)

The topic ‘Disable frontend page editing’ is closed to new replies.