Title: Cloning admin pages like users.php
Last modified: August 30, 2016

---

# Cloning admin pages like users.php

 *  Resolved [labm0nkey](https://wordpress.org/support/users/labm0nkey/)
 * (@labm0nkey)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/cloning-admin-pages-like-usersphp/)
 * Hello,
    In my project I want to make new menu position which will be actually
   a copy of ‘Users’ page but with some additional filters/modifications. For example
   as a result I need to have another menu position above users called “Admins” 
   which will show exactly same structured page but with only Admin users. It is
   for better/easier user experience for my client. My question is how to do this?
   I know that there are functions like add_menu_page but using them like this (
   users.php as identifier): `add_menu_page( 'custom menu title', 'custom menu','
   users.php', 'myplugin/myplugin-admin.php', '', plugins_url( 'myplugin/images/
   icon.png' ), 6 );` results in two menu positions which collapse and expand together,
   and I wanted them to work independly. I can also show content based on function
   but I don’t know if there is any way to easly output content of whole users.php
   page?

Viewing 1 replies (of 1 total)

 *  Thread Starter [labm0nkey](https://wordpress.org/support/users/labm0nkey/)
 * (@labm0nkey)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/cloning-admin-pages-like-usersphp/#post-6297188)
 * After some further research I have used [WP_List_Table](https://codex.wordpress.org/Class_Reference/WP_List_Table)
   class for this. I had to add buttons and links myself to make it look like users.
   php but it wasn’t much of work.

Viewing 1 replies (of 1 total)

The topic ‘Cloning admin pages like users.php’ is closed to new replies.

## Tags

 * [add_menu_page](https://wordpress.org/support/topic-tag/add_menu_page/)
 * [admin](https://wordpress.org/support/topic-tag/admin/)
 * [cloning](https://wordpress.org/support/topic-tag/cloning/)
 * [copying](https://wordpress.org/support/topic-tag/copying/)
 * [users](https://wordpress.org/support/topic-tag/users/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 1 participant
 * Last reply from: [labm0nkey](https://wordpress.org/support/users/labm0nkey/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/cloning-admin-pages-like-usersphp/#post-6297188)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
