Browsing Category

Wordpress admin

running wp-cron.php using php not wget

I operate some servers which have a few WordPress websites on them. I was having some issues with the cron jobs being triggered too often

TinyMCE wraps span tags into p tags

I am trying to get rid of the undesired behavior. TinyMCE after submitting a post wraps my tags into the tags. Here is an example

WordPress wraps span tags into p tags

I am trying to get rid of the undesired behavior. TinyMCE after submitting a post wraps my tags into the tags. Here is an example

Add acf field in title (admin table)

I want to add an ACF field in my post title, only on admin table (not in the title field stored in database), and only

How do I make drag and drop admin interface inside wordpress dashboard for my plugin

I want to build a WordPress plugin that will allow user to add, duplicate and delete fields from a jobs list. I want them to

Conditional Welcome Message Using Current User Info

When logged in, a user sees a welcome dashboard which has their name. By default our site shows the user_login which is fine; most of

Sortable admin columns by 0.00 number

I have a custom admin column I want to make sortable. All the functionality is in place, but when I sort I get this order:

Is it possible to restrict access to specific pages in the admin area based on the page slug?

I would like to restrict access to specific pages in the admin area to only the admin role (and / or specific users). There appears

Prevent editing of certain pages by anyone except the admin

I am looking for a plug-in or solution to what I thought was a common issue… I am allowing global edit access to my entire

AJAX request on the frontend always returns 0 if user is not admin

For the plugin i wrote, AJAX request on the frontend works properly if i am admin, but the same thing doesn’t work when i try

Custom taxonomies not showing up in admin menu

I have defined a few custom taxonomies in my functions.php using the following code: https://gist.github.com/jontascher-ae/f2aa7b484375521034771c5e4b4b3a70 As far as I can tell, they are all created

I tried to list user and post information from (wp_includes/post.php ) but it throws error

I Got Fatal error: Call to undefined function get_currentuserinfo() I tried using a) get_userdata( $userid ); b) $current_user = wp_get_current_user(); c) $current_user = get_currentuserinfo(); in

Trying to list user and post information from (wp_includes/post.php ) causes Fatal error

I Got Fatal error: Call to undefined function get_currentuserinfo() I tried using: get_userdata( $userid ); $current_user = wp_get_current_user(); $current_user = get_currentuserinfo(); in wp_includes/post.php I need

dynamic_sidebar() returns false in admin section

Any reason this code does not work in the admin section (specifically when ajaxing but the issue persists on other pages) of WordPress but works

Remove value from array within post meta ajax admin

I have an array within the post meta for a post. I want to be able to list out each individual element of the array

Change admin post thumbnail size for custom post type only

I want to change the size of the featued image for one custom post type only. This is what I currently have: function custom_admin_thumb_size($thumb_size){ global

Back to Top 145132 wordpress questions, 32 Wordpress answers.
Wordpress related, All rights reserved
Powered by Creative Advertising