The tag has no wiki summary.

learn more… | top users | synonyms

7
votes
1answer
3k views

Custom bulk_action

I would like to add a custom bulk action to a custom post type. I came across the filter bulk_actions-screenid, which according to its documentation, would do exactly as I wish. However, after about ...
6
votes
1answer
525 views

Optimize post insert and delete for bulk operations?

Not much noticeable when working with individual posts, but when you create or delete multiple thousands in bulk and by code - process is quite slow. Are there any good tweaks to apply and corners to ...
5
votes
2answers
2k views

How to implement bulk actions in my plugin?

I am developing a WordPress plugin. This plugin displays a list of courses. Now I want to implement the bulk actions just like in other plugins. From where I can apply the delete and edit actions to ...
3
votes
1answer
145 views

Fill post titles from post content?

I imported over 1000 posts from a Tumblr gallery. All the posts are untitled, but each has a photo and name inside of the post. How do I make take the content of each post and make it the post name?
3
votes
1answer
290 views

Bulk term assignment for attachment taxonomies

I've created a custom taxonomy for attachments. Everything ok, but now I want the ability to bulk assign its terms to attachments using the default wordpress media admin ('upload.php') bulk actions. ...
3
votes
2answers
914 views

How to make custom bulk actions work on the media/upload page?

I'm adapting a script I found online to add custom bulk actions to the screen with the list of posts. It has this line: add_action('load-edit.php', 'custom_bulk_action'); I'm trying to adapt it for ...
2
votes
1answer
270 views

How to upload thousands of images?

I have a website and 6000+ images in my computer. I am trying to upload 1000 pictures but it's not working, how can I upload all pictures in one and easy step for time saving?
2
votes
2answers
462 views

How to verify nonce from Bulk/Quick Edit in save_post?

I need to do something specific in my save_post callback for bulk and/or quick edits, so how do I check the nonce for that? I can only find _wpnonce in the edit.php html source, but can't find an ...
2
votes
1answer
473 views

How to prevent custom fields from being cleared during a bulk edit?

In my function for saving custom field values I add a few checks to prevent the values from being cleared during an autosave or a quick edit. add_action('save_post', 'save_my_post'); function ...
2
votes
1answer
652 views

Add mass action to wp-admin/users.php

I'm heavelly modified my Wordpress, it's amazing what you can do with wordpress hooks, actions.. But i'm not able to find how can i add mass action for users. Let's say i select 5 users and i want to ...
1
vote
2answers
633 views

wp_list_table bulk action button is not working - no submit

I have a custom wp_list_table to create my own table. Almost everything works perfect, but the bulk action button seems to be not working. It's proper displayed,but on click nothing happens. I think ...
1
vote
2answers
246 views

Remove all links to a specific website

So, my cousin owns a fashion blog and she recently had a fall out with a brand of shoes and she wants to remove all the links on all posts that point to the brand website. So, is there a way I can ...
1
vote
3answers
2k views

Bulk post type conversion

I have been given a client's wordpress site to update & improve. Biggest problem - I need to take about 200+ posts of a specific category, 'reviews' and convert them all into a custom post type ...
1
vote
2answers
271 views

How to implement WP_List_Table functionality for custom plugins (OR any substitution for wp_list_table plugin) for bulk action

In the WordPress codex, following is highlighted in red for WP List Table. "This class's access is marked as private. That means it is not intended for use by plugin and theme developers as it is ...
1
vote
1answer
352 views

Remove bulk actions based on user role or capabilities

How can I remove the "bulk actions" based on user roles or capabilities. Actually I have this code to do the job, but now I need to exclude the site admin, I need to let the administrator to access ...
1
vote
1answer
3k views

how to make custom bulk actions for a WP_List_Table (core class)

I am using the WP_List_Table class and I added the links for the actions like this: function get_bulk_actions() { $actions = array(); $actions['approv'] ='<a href="#">'.__( ...
1
vote
2answers
518 views

Bulk category update is not updating

I am using wordpress 3.1. and I have to reorganize categorize my posts. For this purpose, I am willing to remove some categories. Therefore, after login to admin section of my blog, I go to post > ...
1
vote
1answer
384 views

Update post meta on bulk edit / update

I have a small problem with a code that works most of the time. I just discovered it cannot be used when I bulk edit custom post type. If I'm on individual post page and hit publish, the custom post ...
1
vote
1answer
1k views

Custom bulk action for media gallery items

I'm trying to add custom "Bulk Actions" to WP 3.5 new media gallery items. I started from this excellent tutorial which does exactly what I need, but with regular posts; so i tried to adapt it to work ...
1
vote
2answers
550 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
1answer
854 views

Bulk Custom Menu and Wp-Ecommerce

I have to add a lot of items in wordpress menu (lot of 2nd level items) is there any bulk menu item creation method available to do it ? is there any way to add wp-ecommerce categories in wordpress ...
1
vote
0answers
27 views

Added new bulk action, but only work on bottom dropdown

I've added Archived bulk Action to my CPT, but my problem is that everything work fine only if we select the action in the second dropdown. That's how i've added the new Bulk Action ...
1
vote
1answer
145 views

Custom bulk actions in WP 3.7.1

So I am trying to get a custom bulk action to work in Wordpress 3.7.1 and so far no luck. The basis I am using is http://www.skyverge.com/blog/add-custom-bulk-action, and it goes wrong here: ...
1
vote
0answers
212 views

Bulk update all posts from plugin settings screen

I'm writing a plugin right now that will populate custom metadata for all posts on the site based on a certain rule. I've already created a Plugin's settings page and a logic that should be triggered ...
1
vote
2answers
500 views

how to edit title of bulk posts?

I have got hundreds of posts published but with inappropriate titles. I want to edit/updates titles. I have those all titles in a .txt file which I want to have them on the posts. If there is any ...
1
vote
1answer
285 views

How do I limit the status options for bulk/quick edit to only Published and Draft?

For my custom post type, I only want to have "Published" and "Draft" as the available options in the bulk edit and quick edit screens, i.e. I tried hooking on to the filter ...
0
votes
2answers
3k views

Bulk Image Uploader to create new post from each image [closed]

Is there any plugin which creates a new post from each image I upload/select with it? I want to create many posts with one image per post. Currently I select, upload all images. Then create new post, ...
0
votes
2answers
136 views

Modify wording of bulk options

I would like to modify the wording in the bulk actions on the posts screen or custom post types. I am trying to do so using the following code, but it's not working. Any idea why? add_filter( ...
0
votes
3answers
1k views

How to remove bulk edit options

Is it possible to completely disable Bulk Edit functionality? I'm using Wordpress 3.1.
0
votes
2answers
198 views

Bulk delete WordPress posts with phpMyAdmin

I have over 8,000 posts generated by wp-o-matic and I want to get rid of all of them. I want to execute this query in phpMyAdmin. I just want to make sure this is safe to run and it's not wiping out ...
0
votes
2answers
2k views

wp_list_tables bulk actions

How to fire on bulk actions inside of an extended WP_List_Table. I have been adding the following bulk actions to may table's select box but on Apply won't really happens anything here are how I ...
0
votes
1answer
121 views

Is the bulk_action hook stable for use in 3.2.X?

Working on a plugin for wp-ecommerce publish / unpublish all items in a category seems the cleanest place to implement this is in the categories page as a bulk action - though numerous google ...
0
votes
1answer
1k views

Is there a way to enable bulk edit and quick edit on custom post types?

When viewing a list of all standard post or pages there are convient quick edit and bulk edit functions to edit author, template, status, dates, etc... Is there an easy to enable similar quick edit ...
0
votes
1answer
169 views

wp_set_object_terms timing out?

I have a list of 350 or so terms that I am trying to set to a post. Here's my code: add_action('init', 'add_cities_to_story'); function add_cities_to_story() { $cities_list = ...
0
votes
2answers
47 views

ex-style bulk post editing

I imported my twitter stream into WP: http://wordpress.barrycarter.info/index.php/category/twitter/ but all the entries now have "barrycarter:" at the beginning. I realize I could just re-import ...
0
votes
0answers
8 views

Automaticaly bulk update all posts of an certain post type

How can I save all records of a particular post type in bulk with php code. I would like to save daily (automated) all records (without changes). With updating a post a particular function is already ...
0
votes
1answer
38 views

WordPress SQL query to tag all posts containing a specific word on title

Is there a way to bulk tag all posts which have for instance "bottle" in their titles? Thanks!
0
votes
0answers
40 views

update_post_meta() not working in bulk option

I am following this https://gist.github.com/michael-cannon/5820098 to update bulk values but its not working. I tried to debug each and every step but can't get the exact error. I have the following ...
0
votes
0answers
10 views

Bulk editor is deleting/removing custom taxonomy

I'm trying to modify a bulk editor function to accomplish two things: Stop the bulk editor from removing existing post taxonomies (these are custom taxonomies, in this case stock market tickers ...
0
votes
0answers
21 views

Bulk Edit Tags in WordPress?

I would like to have the ability to bulk edit post tags in WordPress. I found an article here which uses a very old version of WordPress (the article published in 2011) and it appears that back then ...
0
votes
0answers
21 views

Multiple post selection

I want to enable my users to select multiple posts from a grid display of content. the selection will be used to make a bulk action based on the selection (for example - send an e-mail to all post ...
0
votes
0answers
122 views

Invalid Post Type error when attempting to filter and Bulk Edit posts

WP 3.8.1 Posts Categories: News 1.1 Press Release 1.2 etc. Blog 2.1 Technology 2.2 Around The World 2.3 Eetc. "Invalid Post Type" example: Posts => Filter by "Press Release" + checkmark ALL + ...
0
votes
0answers
84 views

Adding custom Bulk Actions

I have been looking around for ways to add custom Bulk Actions to the categories page. Most of them say that it is impossible to do it in a clean way, because of the lack of a hook for this. Most of ...
0
votes
0answers
13 views

Add_action not updating user_meta when trashing multiple checked posts

I have a point system to my wordpress theme. I've recently added a function that removes one point from the member if I remove their post. However, when I check and remove multiple posts in the ...
0
votes
0answers
93 views

Invalid post type admin

I've added some custom post types, but for some reason I keep getting this message: 'Invalid post type' whenever i try to search a post in the backend or when I try to do a bulk action. Hope someone ...
0
votes
2answers
73 views

Bulk edit custom excerpt text in WordPress

Is there a way to bulk edit the custom excerpt text without going to each post and open it? When we have 300 posts it can be a very time consuming process.
0
votes
0answers
38 views

how to perform wordpress bulk actions using table inherited from wordpress list table

In my plugin which shows a table of business listings from database, I wanted to add the option for bulk actions. Besides the checkboxes I displayed the control for bulk actions, but when I click ...
0
votes
0answers
58 views

How to hook in to bulk trash posts

I am trying to hook into the trash post function in the bulk menu. I've managed to hook into an item when I trash it by it self by using the wp_trash_post hook, but this does not work when doing it ...
0
votes
0answers
215 views

Using wp_cron with wp_mail to send bulk email

I am working on a custom plugin to send recurring invoices on the 1st of every month. So far, the plugin is working pretty well. It creates new invoices for each user based on their order and does ...
0
votes
1answer
153 views

How To Add One Tag to Multiple Posts?

I have nearly 1500 posts in my wordpress blog. Before moving to a new design, I need to tag all these posts with one tag 'old'. How can I do this? I tried to bulk edit posts and it will always go only ...