Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [quick-edit]

A button in the posts and in the pages admin page allows `quick-edit`, meaning the abiliity to change some of the post/page's metadata, without loading the whole post in the edit screen.

2
votes
1answer
80 views

Action 'save_post' not working for quick edit

I have read other answers to similar questions but none of them solved my problem. This code works great in Editor but on Quick Edit or Bulk Edit it does not appear to fire at all. What am I doing ...
0
votes
0answers
168 views

open modal window

I am working on a site where HR employees are managing applicants for jobs. I'm currently trying to add a modal window on a custom admin dashboard that will let a user quickly change an applicant's ...
2
votes
2answers
373 views

Undefined variable post_id in custom quick edit coloumn

I am trying to add a custom coloumn to post quick edit and everything is almost working. Custom meta is saved and passed but if I click on quick edit the preview is blank. This is the error it gives ...
0
votes
0answers
20 views

Can not populate Quick edit

I try to make quick edit in admin table, I can show field in quick edit and save it. but when I try to change it back, field not get the prev value. I got tutorial here <?php //Quick Edit ...
0
votes
0answers
28 views

Custom Quick Edit code not being executed

I have a javascript function that is called via a plugin when a user clicks on quickedit in a post on the post module. The code works well except for on one specific site installation. I have ...
1
vote
1answer
199 views

Add “Excerpt” in “Quick edit”

I have many posts in which I want to edit the excerpt. But instead of having to got to the edit page, I would want to do it with the "Quick Edit" feature. How can I add the excerpt in the Quick Edit ...
0
votes
1answer
238 views

disable quickedit for specific custom post type user role

I seem to be missing something fundamental somehow ('ll try and keep it short but can provide more code if needs be of course ) I have registered a CPT with following arguments 'capability_type' =&...
-2
votes
1answer
15 views

Opening file, editing, save, exit, open, edited version opens?

How would you go about editing a file that you have inserted in a page on your website, saving it then exiting the file after editing then opening it up again with the editing that I have done before ...
1
vote
1answer
111 views

Use jQuery to conditionally hide elements in Quick Edit

I would like to use jQuery to conditionally hide some taxonomies from the quick edit box, based upon the checkbox status of another taxonomy. I have a WooCommerce import store. The products fall into ...
0
votes
1answer
100 views

Display comment meta data after quick update

I have few custom comment field - phone, stored as comment meta. On comments edit page (edit-comments.php) I display this value in custom column. I also display these values on post edit page (post....
0
votes
1answer
538 views

How to add UI buttons in customizer like twentyseventeen

So its been days since i've been looking into this and still found zero clue as to how to do it in my own custom theme. I've also had a look at this, but nothing. I had a look at the customizer of ...
1
vote
1answer
495 views

Why does this Quick Edit checkbox save the value only when unchecked?

I'm using the group of functions below to create a checkbox in the Quick Edit area of each post in the post listing at wp-admin/edit.php that saves a value to a custom field called headline_news. The ...
1
vote
1answer
59 views

Custom title set on quick edit

I have set up a custom post type without title support and have added a code for the title to be automatically populated from custom fields. This works great when creating or updating a post on the ...
1
vote
0answers
23 views

Anchor removed from DIV after Quick Edit is used

We have a page we normally edit in basic edit mode. There are a group of DIVs with link tags on them. When a non-technical editor/staffer goes into quick-edit mode for that page, the links are removed ...
1
vote
1answer
368 views

How to unset fields in woocommerce product quick edit?

How to unset\hide fields in woocommerce product quick edit, like tags, date, etc without modifying woocommerce plugin core?
1
vote
0answers
276 views

Update database from Quick Edit according to Checkbox state of Custom Post Type

I'm hoping to get some help in getting a checkbox in the Quick Edit of custom post type to work properly. It is intended to determine whether a product is featured on the front page of the site. Post ...
1
vote
0answers
203 views

WP_Terms_List_Table Quick Edit not working

I have built a custom taxonomy for which I have built a custom page that lists the terms associated with it. Everything seems to be working fine so far except the Quick Edit, which simply does nothing....
3
votes
1answer
1k views

Why isn't my code to save custom fields in quick edit working?

I have some code that allows me to add custom fields to the quick edit and bulk edit sections of a custom post type. Here's what I'm using: https://github.com/bamadesigner/manage-wordpress-posts-using-...
0
votes
1answer
149 views

Edit custom fields in posts list

Is it possible to edit (or add) custom fields directly in posts list (/wp-admin/edit.php)? I need to do it quickly for many posts (1000s) so editing every and each of them would take ages to ...
1
vote
1answer
164 views

Problems with taxonomy quick edit box

i've some problem with customization of quick edit box in a custom taxonomy page. This is my code: function lnw_quick_edit_custom_box($column_name, $screen, $name) { if ( $screen !== 'edit-tags' ) ...
0
votes
1answer
141 views

Get post meta inline edit WordPress

I've noticed that /wp-admin/js/inline-edit-post.js is used to retrieved the state of input in quick edit mode. For example the following code : jQuery(function() { if ( typeof mpIds !== '...
0
votes
1answer
348 views

Get the selected posts IDs to use in bulk edit AJAX call

The WordPress codex for bulk_edit_custom_box, along with this bulk edit example use the following piece of JavaScript to create an array of selected post IDs to send with the AJAX call that updates ...
2
votes
0answers
1k views

How to manage saving custom field from Quick edit and Post Save using save_post action hook without colliding each other?

I's following Rachel Carden's tutorial on creating Quick Edit and Bulk Edit, and grabbed her full work from her github repo. I managed doing everything fine and I made a checkbox instead of radio ...
0
votes
0answers
100 views

edit_post_link returns blank

I'm using edit_post_link in The Loop and the function keeps returning the $before and $after arguments with blank content. <?php edit_post_link('edit', '<p>', '</p>'); ?> returns &...
0
votes
1answer
229 views

Trying to create an edit page link?

Using a plugin and have created a page that offers more fields in a spreadsheet format. To add these extra fields you simply click edit on the row you want to edit.... Now when I am in the plugins ...
0
votes
2answers
3k views

How to hook into the quick edit action?

I found this solution to automatically assign parent terms when a child term is selected, which is working fine for the save_post hook: add_action('save_post', 'assign_parent_terms'); function ...
1
vote
1answer
1k views

How to get post bulk edit action trigger and get edited post ids?

I want to send email if a postmeta of a post is changed to the expected value.So previously i was doing loop to check the post meta in each post. In here am running the loop in admin_init hook. But ...
7
votes
2answers
2k views

Add 'Description' to taxonomy 'Quick Edit'

This seems fairly straight forward, but I cannot find a definite guide on how to add the taxonomy description field to the quick edit box. I've followed several tutorials on adding fields to the ...
2
votes
1answer
401 views

post_row_actions filter is not working while update post using quick edit

I have created two links using post_row_actions, it was displaying fine when page loads. But the links will get disappear after update post using quick-edit. Is it a bug from WordPress or did I miss ...
0
votes
2answers
1k views

How to add custom status to quick edit

I have added some custom post status to WordPress, I can able display in New and Edit interfaces of POST. I would like to display those to quick edit too. Also I need to apply some condition to ...
1
vote
1answer
1k views

Adminbar Missing “Edit Page”

I'm encountering a problem that involves that my Admin bar doesn't show the "Edit Page" on pages I visit on my site. Instead for some odd reason it show "Edit Category" instead on supposed page. Does ...
0
votes
0answers
1k views

Adding custom fields to the Quick Edit screen - puzzled about the column concept

We've been told that: The quick_edit_custom_box action hook will not fire unless there are custom columns present. (Source^) If so, then adding a custom field edit functionality to the Quick Edit ...
0
votes
1answer
175 views

How to edit wordpress post without republishing

Is there a way to update an older post without republishing the post? If I am looking at a previously published post and discover a misplaced comma or reformat an image I don't need all my RSS and ...
0
votes
0answers
344 views

Add Media + Quick Edit buttons not working

I just upgraded to Wordpress 3.6.1 and I have an issue, for the default twenty-twelve theme the add media and quick edit buttons work okay but when I created my own custom theme those buttons stopped ...
6
votes
2answers
2k views

How to get current post ID in quick edit callback

This question is related to another previously asked question, which is a follow up on an answer. Task As I want to extend QuickEdit to be something really awesome (and more than just quick edit), I ...
5
votes
1answer
255 views

Add quick edit fields without custom colum

This question is a follow up on that answer I wrote. Let's say I want to add something to the quick edit box for the Posts post type list table. To do so, I have to add a custom column because of the ...
0
votes
1answer
60 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 ...
0
votes
1answer
98 views

where does this $post_id come from?

I was trying to figure out why save_post wasn't being fired upon 'Quick edit', and found the solution here - apparently global $post is not available when updating a post in Quick edit mode. So - I ...
3
votes
1answer
1k views

How to add a “publish” link to the quick actions

I'm trying to add a "Publish" link by the quick actions: but I'm not exactly sure of how implement it. Here's what I've got so far: add_filter('post_row_actions', function ( $actions ) { global ...
1
vote
1answer
342 views

How to make all the posts commentable by default? Imputs in Settings/Discussions are not saved

I've modified my website quite a bit and now looks almost as I desire. I've set all the posts to be commentable in Settings/Discussions but it seems that this imput is not saved and new posts by ...
0
votes
1answer
314 views

Comments screen in backend, how to disable Quick Edit | Edit | History | Spam | for non admins

I'm trying to adjust the comments screen for non admins to my project. Right now I'd like to disable Quick Edit | Edit | History | Spam under any comment left for any post created by the user. ...
8
votes
4answers
5k views

Disable “quick edit” only for non admin in functions.php

I have this in my functions.php function remove_quick_edit( $actions ) { unset($actions['inline hide-if-no-js']); return $actions; } add_filter('post_row_actions','remove_quick_edit',10,1); to ...
2
votes
1answer
1k views

Let user edit his own comment

can I allow user to edit his own comment (without, username, url, or mail) on front-end. For example simple form on custom worpdress page with his comment and submit button. Thank you all in advance!
2
votes
2answers
5k views

Remove quick edit for custom post type

Is it possible to remove the quick edit function for a custom post type? I have 14 custom taxonomy with hundreds of terms in each and it takes too much time and resource to load all of them into the ...
1
vote
1answer
359 views

How can I extend Quick Edit option with 2 more fields

I wonder if WordPress gives me the ability to add 2 fields (input and textarea) in the Quick Edits of Tags. Actually these 2 fields I want to add in Quick Edit which are available in Edit Tag page, ...
1
vote
2answers
1k views

Make metabox of custom post type fully autosave- and bulk-/quick-edit compatible

I'm trying to create a custom post type and I've had the same problem that's described here; my custom meta information was properly saved, when saving manually, but got lost as soon as the autosave ...
1
vote
2answers
461 views

Fields don't reflect previous Quick Edit changes when clicking Quick Edit a second time

I've added a column to the edit screen and add an input for that column in the quickedit. Everything saves and displays like I'd expect with one small hiccup. If I click on Quick Edit for a ...
0
votes
2answers
2k views

How to Reload the Dashboard After Clicking Update in Quick-Edit?

How can I refresh the wp-admin/edit.php page after a user clicks Update in the Quick-edit form?
6
votes
1answer
5k views

Remove specific items from Quick Edit menu of a Custom Post Type?

I would like to remove some items from the quick edit screen on a custom post type. I would like to remove "slug", "date" and "password", as they will never not be used by end users. I'm open to any ...
0
votes
1answer
642 views

Change quick edit terms list to radio buttons

is it possible to remove the current tax term checklist from the quick edit screen? i have switched the metabox for the "subject" taxonomy, to radio buttons, and would like to do the same in the ...