Change page according to fetched GET Parameters

I think you could use the template_redirect hook. I needed to change your code a bit for my own readability: <?php /* Plugin Name: Homepage redirect for SEOT Plugin URI: Description: Version: 0.0.1 Author: Douglas L Sesar Author URI: License: GPLv2 */ function GET_Different_Page_on_front_parameter() { if (!session_id()): session_start(); endif; if(!($_SESSION[‘start’])): $_SESSION[‘start’]=$_GET[‘view’]; endif; } add_action( ‘init’, … Read more

Permission error on plugin save

Its stored in a single file called quote.php Assuming that means that your plugin is stored in wp-content/plugins/quote.php, then the problem is that your code is hard-coded to submit to wse140202.php— presumably you cribbed some code from another question here. In other words, this line: add_menu_page(‘Quotes Settings’, ‘Quotes Styling’, ‘manage_options’, __FILE__, ‘dw_styling_quotes_settings’); Registers a page … Read more