wp-admin redirects to 404

One possible reason is that the /wp-admin has been reset to something else, for security reasons. The WP Better Security plugin can do this. I know, because I have in the past turned on a bunch of this plugin’s options, without thinking too much about it, including the one that re-writes the /wp-admin URL so … Read more

Register page in admin area

<td><form action=”<?php menu_page_url(‘edit’) ?>” method=”post”> <input type=”hidden” id=”<?php echo $issue->id?>” name=”id” value=”1″> <input type=”submit” value=”Edit”> </form> </td> Then, in the function where you add your admin pages: add_submenu_page( null, ‘edit’, ‘Edit’, $capability, ‘edit’, ‘create_edit’); Also add this function: function create_edit(){ include ‘edit.php’; } It would probably be a good thing to have more unique names … Read more

Custom Admin Pagination links

Currently (with WP 3.5.1) we ain’t got any possibility (means: no hook or filter) to alter the output of the pagination. Everything inside the WP_Posts_List_Table class and its method pagination() and the WP_List_Table class method pagination is hard coded. So your only chance would be to replace the $GLOBAL on the fly with a class … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)