Tools for site administration located in the `wp-admin` directory of a WordPress site.

learn more… | top users | synonyms

0
votes
0answers
70 views

wp-admin dashboard redirects to homepage

When going to /wp-admin on the website I am working on, it simply goes to the homepage. I then tried going to /wp-login.php and the login screen shows up, but once I login, the url in the address bar ...
0
votes
2answers
998 views

WooCommerce - filter by featured products in admin

WooCommerce has a simple way to pick "Featured" products by clicking a little star icon in the "Featured" column in the admin area. I need to be able to filter and show only featured products in the ...
-1
votes
1answer
59 views

Add News Feed to bespoke website, only to one page on whole site

I have built a bespoke website that is not currently managed by WordPress. For SEO purposes and to announce special offers etc, my client would like to add a News Feed to the site. To save me having ...
0
votes
1answer
252 views

User Roles: How to hide a plugin from showing in WP-Admin?

I would like to be able to hide a few plugins from showing in the WP-Admin for users who do not have a specific user role as I do not want those users to be able to edit the settings. Do I have to do ...
0
votes
1answer
110 views

Removing the main link to Jetpack from the menu

I need to remove the link to the Jetpack settings, but not the links to Omnisearch and Site Stats from the admin menu for everyone not having an administrator role: For this, I came up with this ...
0
votes
1answer
152 views

Retrieve only posts from a specific user in wp-admin/edit.php

I create a role and set capabilities for a group of user. $userdata = array( //something ); $uid = wp_insert_user($userdata); if(!empty($uid)){ $blogger = new WP_User($uid); //add role ...
3
votes
6answers
534 views

Best way to present options for home page in admin?

I have a site with a custom home page, home.php. What's the right way to present the editable home page options in the admin tool? For example, there's a few custom text fields on the home page that ...
0
votes
0answers
129 views

Cannot invoke wordpress's API from outside existing PHP system

I have an existing PHP site located on /var/www/A, now I want to add a blog module on /var/www/A/wordpress. I have installed wordpress below /var/www/A successfully. I can visit it via ...
1
vote
1answer
50 views

limit post by a taxonomy in the admin

I have a site with authors from different locations. I have created a taxonomy called locations and has different countries (ex. Canada, Germany). Each author need only to see his country's post for ...
0
votes
1answer
84 views

User Profile Avatars

I'm using this plugin http://wordpress.org/plugins/user-photo/ How can I get the Profile Photo that I upload through this plugin to show in the All Users list beside the Users Name and in the admin ...
1
vote
1answer
49 views

Custom Admin Pagination links

I am talking about the wordpress admin area where all the posts reside. I would like to ask if there is a way to show not only the first and the last pagination links but also the links in the ...
0
votes
1answer
99 views

Phpmyadmin - post editing

i am total newbie with phpmyadmin, and the first time i use it, was to delete a lot of spam comments.I m not sure is it possible to do what i want , but another option would be to go trough 400-500 ...
3
votes
2answers
216 views

How to build custom WP admin with custom URLs

I would like to create a custom WP admin area, that uses custom URLs to navigate thought it and have a custom generated HTML. A member will be able to login via a custom URL, for example: ...
1
vote
1answer
420 views

Export data as CSV in back end with proper HTTP headers

I wrote a plugin that displays all products in a woocommerce store in admin settings option, now I want to add a link to download the products as CSV file. The problem is, when I click the link I get ...
0
votes
0answers
98 views

Linking custom post types to posts and vice versa

Im developing a smaller wp solution and we have both blog posts and products (custom post types) Id like to link them together so when you read blog posts it will suggest relevant products (that we ...
0
votes
1answer
78 views

List latest posts with least comments in WP-Admin

I want to encourage my authors to provide feedback to new posts that have not received enough exposure. To do this, I want to add a box to WP-Admin that lists the top 3 latest posts (from the past two ...
0
votes
1answer
42 views

When submitting the form site.com/blog/wp-admin it goes to site.com/wp-admin

I have 2 wordpress websites. One at site.com and the other at site.com/blog. I want to go to administration of site.com/blog, but when I point to site.com/blog/wp-login.php or site.com/blog/wp-admin/ ...
0
votes
1answer
2k views

Can't access login screen, wp-login.php 404's

When i navigate to /wp-admin/ i am redirected to wp-login.php with the wp-admin URL in the redirect_to parameter. Like this: http://www.domain.com/wp-admin ... goes to ... ...
1
vote
1answer
225 views

Getting Custom Post Type content from main-site of a Multisite

I have a multi-site network with 3 sub-sites: Is it possible to "link" or include custom post to all 3 sites from the main site? By include or link I don't mean to make other sites to edit them, ...
0
votes
0answers
162 views

Can't preview custom post - Redirected to home page

When I click on preview in custom post types I get redirected to home page. But when I visit or view the page that have all the Custom posts in I can see all of them. I cant figure out what or why. ...
0
votes
1answer
138 views

Adding an Archive button to posts page for administrators

I want to add an Archive button near the Edit, Quick Edit, Trash and View buttons in the posts page - http://i.imgur.com/HDZBPCy.png. I've found a nice function that can probably do just that, but ...
1
vote
1answer
111 views

wp_before_admin_bar_render action not working in back office

This is working great in the front site wp admin bar: add_action('wp_before_admin_bar_render', 'customize_admin_bar'); function customize_admin_bar() { global $wp_admin_bar; if ...
0
votes
0answers
200 views

Force RTL styles in admin panel

I wanted to have a multi-language site. I installed qTranslate plugin. It messed my admin panel even after deactivating qtranslate admin panel shows up in ltr. The admin language is unchanged though, ...
0
votes
2answers
171 views

WP Cron doesn't save <iframe> or <object> in post body

I am using wp_cron to auto grab posts from a remote website and save them in my wp db. NOTICE! I am executing my code from my plugin, not from my template functions.php or somewhere else. I have my ...
1
vote
1answer
90 views

How to use default WP form elements to interact with custom DB table?

I know about the use of Custom Post Types, but in this case I do need to use a custom database table (FYI: it's a table that is IP-based shared with another non-WP website). In wp-admin, I'd like to ...
-1
votes
1answer
43 views

What does Wordpress mean by they have full rights to content [closed]

I am pondering publishing my blog. I'm leaning more towards WordPress however, I don't want to worry about WordPress doing whatever they want whenever they want withmy blog because I have signed up ...
0
votes
1answer
134 views

Too Many Redirects - WP-Admin Only

I have a couple of sites on a shared hosting server. The sites load just fine, and everything appears to work, including local links. The only thing that isn't working is that the entire wp-admin ...
0
votes
1answer
98 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
96 views

How to make an admin create/edit post page to look like taxonomy page?

This idea just came to me, where I thought it would be great to have something like this for CPTs that doesn't need much content/fields to fill out. Basically a Post page where your able to add a ...
0
votes
0answers
51 views

WP-Admin How to display a plugin menu to a group [duplicate]

I am using the Wordpress "User Role Editor" plugin in WP 3.5.1 and want to display a plugin menu > page in WP-Admin to the Author group. The Plugin page is the "NMRepoManager > File Statistics" page ...
4
votes
1answer
641 views

Only allow administrators and editors to access wp-admin

I am trying to restrict access to wp-admin so that only administrators and editors are allowed. At the moment I am using this function: function restrict_admin(){ //if not administrator, kill ...
0
votes
1answer
25 views

Fix Admin Dashboard Posts tab

I have WordPress v3.5.1 and using a theme from WPZoom. I added an SEO plugin called WordPress SEO which in turn added 4 more columns to my Posts Admin table which caused the columns to squish together ...
0
votes
0answers
92 views

Open lightbox on trash link in wp-admin and get post ID every time

I want to open a LightBox on posts list page in wp-admin. I need to get post ID for every post. Using this post ID I want to fetch its child post and display them in a lightbox asking if user wants to ...
0
votes
1answer
222 views

Change Post Meta via AJAX from the posts list table

I've been looking around for this for a while but haven't found anything as of yet. I have a custom post type - "books" and this post type has a custom meta field of "availability". I would like to ...
1
vote
1answer
173 views

Change the link of 'Howdy' at the top right

I'd like to change where the 'Howdy' link gets you when you click on it. I have a website with buddypress and instead of getting users to their profile page I want to get them to their 'Activity' ...
0
votes
2answers
422 views

Wordpress admin not changing language

I'm struggling to get a nb_NO version of the wordpress admin interface. Here's what I've done so far: Installed latest wordpress from wordpress.org Moved installation from root to wp/ - site working ...
0
votes
1answer
98 views

How to create a custom template to admin dashboard

I was trying to create a template to customize my WP admin dashboard, not only a css mod but a entirely renew to my customers. I've successfully created a page template for a custom login page, and ...
1
vote
1answer
313 views

Is there a way to submit only meta box content in Post edit page

On the admin add/edit post page, I have a new meta box with submit button. I want to submit them separately. For example if some one click on Publish / update button then it save all post content and ...
1
vote
0answers
67 views

Bypass nonce value while trashing a post

I want to move a post in trash but the condition is that simultaneously I need to delete some more posts. Sample Code: jQuery(function($) { $('#delete-action a').unbind(); $('#delete-action ...
1
vote
1answer
185 views

Post Editor not working on WordPress 3.5.1

Recently i have updated my wp site to the latest version and since then post editor not working, What i have tried: Disabled all plugins. Installed "Use Google Libraries". Disable all plugins ...
2
votes
2answers
131 views

How to use Yoast SEO backend in english even if WPLANG variable is not english?

I added this code to my functions.php file add_filter('locale', 'wpse27056_setLocale'); function wpse27056_setLocale($locale) { if ( is_admin() ) { return 'en_US'; } return ...
0
votes
1answer
40 views

Screen Options JavaScript Code

I want to know, what script drives the "screen options" animation toggle in WordPress. I'm referring to the options menu that slides out when the admin clicks the "Screen Options" link near the ...
0
votes
2answers
312 views

Ajax requests from front-end with jQuery Fancybox

I would like to be able to use the jQuery Fancybox's Ajax feature to request datas from the front-end. Here is a part of the code i'm using on the plugin part : wp_localize_script( 'wpPluginjs', ...
1
vote
0answers
42 views

Moving wp-admin folder to a different host in a multisite environment

Current Multisite setup: First site: www.site1.com Second site: subdomain.site1.com Admin: www.site1.com/wp-admin/ How to move wp-admin to a different host, which is accessed via a domain say ...
0
votes
2answers
223 views

wordpress login blank screen [closed]

i wanted to make an offline copy of my live website on my pc so i installed xamp and installed on it wordpress and exported the database and took a copy of files on fttp and after i have done ...
0
votes
1answer
168 views

Lightbox on wordpress post page

I am building WordPress admin plugin. In which I have a metabox with 10 checkboxes (It can be more than that). At below there is submit button. My requirement is: (A) open a lightbox when some one ...
0
votes
1answer
142 views

Infamous admin login redirect

I have a multisite installed with the domain mapping plugin. All the domains work fine, except... One of the sites is on a subdirectory (the main site running Magento). I added a symlink to the ...
0
votes
1answer
106 views

Edit specific nodes in WP_Admin_Bar

Is it easily possible to edit links in the WP_Admin_Bar global $wp_admin_bar instance?
0
votes
1answer
386 views

Copy posts from one blog to another in multisite environment

I am creating a plugin for post.php page where user can select (one or more) blogs and copy the post content,title,author,categories everything in selected blogs. The copied post would be the child of ...
0
votes
3answers
148 views

Validating widget's configuration data on Admin page

I have a simple widget that needs its width and height set by the user, so that it is displayed properly on the blog. The thing is: on the Administrator/Appearance/Widgets page, if the admin user ...