0
votes
0answers
31 views

Adding CSS styles to Admin Area PAGES only (not POSTS or CPT)

I am using this to load css styles in the admin area (for any user who is not an administrator): function wpse_admin_styles() { if ( !current_user_can( 'manage_options' ) ) { echo ...
1
vote
2answers
156 views

Add a Menu Link (to a Wordpress Page) in the Admin Menu/Sidebar

I am trying to add a link, in the Admin Sidebar, that links to one of the pages I've created in the PAGES section. For example, I've created an ABOUT page. So in the sidebar I would like a link to ...
0
votes
0answers
55 views

Plugins admin page in tabs

How do I init custom Plugins admin page if pages are enbeded in tabs I try the following but You do not have sufficient permissions to access this page. class MyPlugin{ public function ...
0
votes
1answer
230 views

Dashboard--> All Pages “How to create folders?”

I have going on three pages in All Pages on my Dashboard. Is there a way I can set up folders for these pages - - it's becoming a confusing "mess" to find which page I need to update when - for ...
4
votes
2answers
239 views

Can I display the widget admin in the page admin?

I would like to show the 'Appearance -> Widgets' menu underneath the text field in 'Pages -> new/edit'. Is it possible to take one part of the admin and show it elsewhere? Reading some of the ...
1
vote
2answers
100 views

Remove pages from backend list *and* update counter accordingly

I hidden some pages using 'parse_query' hook, but the count for 'Published' pages didn't changed... Where I should hook to change it? My code so far: $query->query_vars['post__not_in'] = ...
0
votes
0answers
40 views

Create a blank admin page from plugin

is there an opportunity to create a blank admin page in wordpress from a plugin or theme? I mean like the theme customizer without the admin bar or the sidebar menu. Jonathan
0
votes
2answers
643 views

Display Custom Field Value on Admin Page Column

What I want is to display the value of the custom field called 'page_template'. I use the code below but it displays nothing under Page Template column although I have already defined a value for the ...
0
votes
0answers
38 views

Group Pages based on Parent in Admin Area

EDIT: I've managed to solve this with the help of Reddit. For those interested I used Admin Column View My website has about 50 pages separated under 5 parent pages. In the backend it is a mess of ...
0
votes
1answer
56 views

Overview with latest edited posts and pages

I'm looking for an overview of all the latest user activities. But I don't want to see comments on this page, just the edits or creations of new posts or pages. Unfortunately I can't find such a ...
0
votes
3answers
43 views

How to detect when admin user is on the All Posts page?

Could anyone be kind enough to descrive how to I can detect (in my functions file) when admin an user is on the 'All Posts' page? I have tried get_post_type() but it returns nothing. Thanks.
0
votes
1answer
16 views

disable trashability for certain pages

Im building a wp site, that has some pages that only shows when a form has been completed. (think of "thank you for gettin in touch, we'll get back to you as soon as possible" - type pages). I have ...
0
votes
1answer
48 views

Custom admin menu for a selection of pages

I have a site with 30-35 pages. The customer only needs to edit 3 of them on a regular basis. So to make it simpler and easier for them in the backend, I would like to create a new admin menu item and ...
0
votes
0answers
44 views

Pages redirect me to the homepage

I am the admin of a multi Wordpress websites that are controlled from one Administration page. After updating to the latest version of Wordpress, 3.6.1, all of the pages are redirected to the to the ...
0
votes
2answers
131 views

How to use is_admin in page content?

I'm trying to add a "Click here to edit this page" button in some Wordpress pages. This button should only appear if the user is admin, this is the code that should appear if the user is admin: if ( ...
0
votes
1answer
120 views

add_menu_page does not render the expected result

I'm trying to accomplish the simple task of adding a new page to the admin area but it seems that I just cannot wrap my mind around this simple function. Via codex, this is how I'm trying to add the ...
0
votes
1answer
53 views

Decouple page name from page title

As far as I can see, the name of a page (in admin) is the same as the title for the page. In many cases you would want the page name to be something else to better grasp what it's about while ...
1
vote
3answers
430 views

How to disable Page Attributes dropdown in wp-admin

As discussed at WordPress admin screen very slow / timing out when editing or adding a new page/custom post I am having a similar issue on a WP site containing 7,784 pages. Edit screens are slow ...
0
votes
1answer
429 views

How can I make a menu link visible only to admins (without plugins)?

I use a menu on top of my wordpress which shows 3 links. Main page Custom Page Custom Page Can I add a 4th link to my menu which is visible and accessible to admins only (without plugins)? This ...
0
votes
0answers
37 views

display admin content in the public site

I would like to display the page list or post list (or similar from plugins) from the Admin section to logged in users on the front-end of my wordpress site. Any idea how I can do this? I need to ...
0
votes
1answer
75 views

Mystery ghost page not appearing in Admin

I have a strange problem. I have a blog listing page like example.com/something but this page is no where to be found in the admin. It returns 200 OK http status so its there. But it uses a ...
1
vote
1answer
148 views

Hide pages depending on role

I've been trying to find a way to limit the user from seeing some pages in the "pages" menu in the admin panel. I looked in the edit.php file and noticed: } elseif ( 'page' == $post_type ) { ...
0
votes
1answer
46 views

Adding Media button to only pages

I have created a media button as such: // Create a media button for pages function aisis_page_button_link(){ global $post_ID, $temp_ID, $iframe_post_id; $iframe_post_id = (int) (0 == ...
4
votes
1answer
556 views

How to display by default only published posts/pages in the admin area?

As it is, WordPress displays by default all the pages/posts in the pages/posts list in the admin area, no matter what their publishing status is. I have a lot of drafts, but usually I'm much more ...
0
votes
1answer
272 views

Publish page by invoking submit via jQuery

I'm looking for a solution to a bug that occured in an answer to an earlier question. The general idea is that I want to invoke submit on the post form and have the page published. What happens now ...
0
votes
1answer
794 views

Change admin startpage to Pages-page?

When you login to the admin you see the Welcome page by default. A client of mine requested to see the "Pages" page by default, he had seen it somewhere else. Is this possible, and if so, how? Tried ...
2
votes
2answers
471 views

How to make certain page templates visible to admin only

Making a site for a client, I have some pages that the client won't be able to edit or delete. These pages rely on specific page templates. However, I don't want these templates to be available for ...
2
votes
1answer
167 views

Only allow new subpages to be created

I'm looking for a way to only allow users to create new subpages once there are nine pages that are parents/root pages. Once there are nine parent pages when trying to create a new parent the users ...
1
vote
1answer
93 views

Is there a way to remove or hide individual pages on the Edit Pages screen?

I want to create a handful of pages that I do not want the client to have access to through the edit pages admin screen. I do want the pages to have all the normal functionality of pages in other ...
2
votes
1answer
379 views

How to change redirect after moving a page to trash?

How could I change the redirect location after a user trashes a page? Right now they go to all pages here:....wp-admin/edit.php?post_type=page I want them to go ...
1
vote
1answer
333 views

What is the optimal way to filter out subpages from admin?

I guess it's always possible to hide them with js, but is there a code snippet out there for query level child page filter? I only want top level pages to remain. EDIT: my coder came up with it, stay ...
1
vote
2answers
297 views

Modify built-in post type properties

I have an unusual situation where I need to make the built-in post type 'page' non-hierarchical. I printed the post type object with var_dump(get_post_type_object('page')); die; and I got this: ...
2
votes
3answers
750 views

Change the Default Pages Menu View in wp-admin

I can't seem to figure out how to change the default view for "Pages" in the admin menu. The initial view is the "Pages" view (/wp-admin/edit.php?post_type=page) How could it change this to ...
2
votes
2answers
2k views

Is there a way to lock certain pages from being edited by anyone other then the admin?

I have built a wordpress site and theme and have several pages that I do not want editors to edit. However, there are other pages that I want them to have access to edit. Is there a plugin or code ...
0
votes
2answers
1k views

Page only shows when user is logged in (even with visibility set to public)

I'm trying to troubleshoot an issue on a client's site. There is one specific page which appears as "not found" unless you log in and then visit the front end, in which case it appears normally. The ...
0
votes
2answers
214 views

Default scripts added to each admin page

Whilst jQuery is available on all admin pages, only selected jQuery UI libraries are added for certain pages (i.e. it is different for each admin page). I am trying to find out where the jQuery UI ...
5
votes
3answers
4k views

WordPress admin screen very slow / timing out when editing or adding a new page/custom post

I'm new to the site but appreciate any help you can give. I have a WordPress set-up which (rightly or wrongly) has hundreds of pages and thousands of another custom post type which is also based on a ...
0
votes
1answer
559 views

wordpress reusable content blocks

I am using a custom post type to allow the editor of the site to add a number of blocks of content to the site - infoboxes. Now i would like to give the editor the possibility to choose which boxes ...
0
votes
1answer
90 views

Editing Help Section

I was trying to find the contextual help section for all the admin pages so I could add some additional text. The main pages I need to hit are the "Pages" page and the "Widgets" page but I'm not sure ...
7
votes
2answers
4k views

Any guides on creating custom admin pages?

I basically want to create a table (preferably AJAXified) that lets the user enter a line of information, and be able to add new lines of information, and delete selected ones. I've found this post ...
0
votes
1answer
294 views

Show private pages in public when you logged in as admin?

Is there any way to show private pages at the public website section when you logged in as admin? Today, they only shows in admin.
1
vote
1answer
1k views

Help extending custom drag-drop page ordering on admin page list screen

I am utilizing the following code which transforms any hierarchical page or custom post type with the ability to reorder the the pages through simple drag/drop. (also this code also adds a new display ...