anita_86 — 2012-06-22T08:38:01-04:00 — #1
Hi.I have added a custom menu item through Admin Menu Editor plugin.And I want to paginate the results coming from the database in this page.Problem is, though http://yoursite/wp-admin/List_Exercises.php works fine, when I try to go to 2nd page http://yoursite/wp-admin/List_Exercises.php?page=2 I get following error:
You do not have sufficient permissions to access this page.
I have added the file in page as follows:
$targetpage = "List_Exercises.php";
I can provide part of my code if needed.Please help in this regard.:confused:
anita_86 — 2012-06-25T01:26:54-04:00 — #2
Found solution today!!Problem was with ?page=2.Just changed variable to paged=2 and it started working.Might help someone else
mittineague — 2014-09-22T00:30:38-04:00 — #3
This topic is now archived. It is frozen and cannot be changed in any way.