The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
1answer
743 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
4answers
2k views

How to remove bulk edit options

Is it possible to completely disable Bulk Edit functionality? I'm using Wordpress 3.1.
0
votes
1answer
16 views

WP_LIST_TABLE bulk action

I created a class extend WP_List_Table and created method for bulk actions like this : function get_bulk_actions() { $actions = array( 'synchronize' => 'Synchronize', ...
0
votes
1answer
13 views

bulk media crop for featured images

I want to select all the images which are used as "featured image" on woocommerce products and modify and crop the images to fit a specific height. Does anyone know if there is a plugin available or ...
1
vote
2answers
489 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.
1
vote
1answer
51 views

How to bulk edit canonical url's in SQL?

I've been assigned to edit the canonical URL's (rel="canonical" found in the head)of about 600 posts on a client's site. Not all of the posts will use the same canonical url. Nor are these 301's or ...
0
votes
0answers
45 views

How to bulk change user role to “No role for this site”

If I edit an individual user, the role dropdown menu has the option "— No role for this site —" (<option value="">— No role for this site —</option>): However this option doesn't exist ...
0
votes
1answer
19 views

Bulk posts from DRAFT Section

So, i did create a website with 110k posts and i need to test some SEO features, so i did clone the same database and i did post them on 5 other domains. The thing is i can't index them 110k posts at ...
1
vote
0answers
35 views

Bulk lock users without email address?

I'm cleaning-up my database, and for the sake of keeping SPAM down to a minimum I would like lock all of the wordpress user accounts that do not contain an e-mail address. Any ideas how to do this? ...
0
votes
1answer
63 views

Bulk delete users by role? SQL?

I need to bulk-delete a large number (4,321) of users, all of a particular role type (not an out-of-the-box role name). I have tried several functions found online, and have tried the Bulk Delete (...
0
votes
3answers
538 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 ...
0
votes
0answers
26 views

Bulk change size-full to size-medium in all posts

Is there any way I could change image sizes in my posts? After migrating from Joomla, they are all in size-full and are very huge. I would like to change them into size-medium and pick the correct ...
0
votes
1answer
220 views

cron job to auto delete posts of a specific post type older than x days

I want to delete all posts of a specific post type (in this case "vfb_entry") that are older than 60 days. The cron job should run once a day. I have the following code but it's not working if I ...
0
votes
0answers
33 views

`bulk_edit_custom_box` mess the input fields

I'm trying to create a bulk-edit plugin. Here is how Wordpress builk edit form looks by default: Than I add the following code: add_action( 'bulk_edit_custom_box', 'my_bulk_edit_custom_box', 10, 2 ...
0
votes
1answer
222 views

Delete All Product Images in phpmyadmin

I've just inherited a site that's being migrated to a new host, and I'm attempting to tidy up the database during the process. The WooCommerce site had roughly 10,000 products resulting in somewhere ...
1
vote
1answer
54 views

How do i change page template in bulk?

Googled for a long time, but did not find any solution. The case is - I have 950 pages I'd like to switch to other template. If i do it manually - it will take some time. If I do it via admin panel - ...
1
vote
1answer
16 views

New users not showing up in Post -> Edit

Background: A client has used first and last names as the user names, and we are trying to replace the old users with new users with more secure user names. We need to assign the posts for the old ...
0
votes
1answer
55 views

set_post_format called after wp_update_post when using bulk edit?

EDIT: See comments below. changing the question to reflect this new info From what I understand from the codex, save_post is meant to always fire after the post is saved (and when creating a new post)...
0
votes
1answer
152 views

How can I hook into existing WordPress Bulk actions?

I am creating a plugin which syncs both standard WP data and custom fields within a custom meta box on post edit pages, to an external resource using SQL queries. However my functions are currently ...
0
votes
1answer
629 views

UWooCommerce - add cart discount programmatically?

I need to develop a plugin that applies a discount to the cart if x number of products have been purchased. Could someone point me in the direction of the code/API I need to use. Can find nothing ...
0
votes
1answer
27 views

Publish post and create additional posts with same content

I'm building a site which allows authors to create a custom post type, and optionally elect to create X amount of additional posts with the same content. In this case all the content is meta values. ...
0
votes
1answer
98 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 ...
0
votes
2answers
264 views

Bulk delete users from a csv list

I have a WordPress site with 65,000 registered users, about 10,000 of those users are spam bots, inactive account, hard email bonces etc. I have them gathered in a CSV list, how can I use that csv ...
0
votes
0answers
308 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 ...
1
vote
1answer
219 views

Creating bulk posts with Youtube videos

I'm a bit new to Wordpress and I'm a bit lost reading all sort of docs about creating bulk posts using PHP. I've wrote a small code that using Youtube API v3 to get all the videos from a Youtube ...
1
vote
1answer
309 views

How to mass delete one line from all posts

I need to delete some content from all posts. Every post starts with this line: <p style="text-align: center;"><img src="http://i.imgur.com/picture.jpg" alt="" /></p> So I want ...
0
votes
1answer
37 views

Renaming Custom Taxonomy Values

I'm new to Wordpress and have been tasked to migrate an existing non-Wordpress site to Wordpress. Our original site has each page associated to a country. I've been reading a lot and I believe I need ...
1
vote
1answer
668 views

Bulk edit post date in wordpress

I need to edit the date of several posts, change it to a specific date, all posts should have the same date. How can I achieve this? Is there any fuction to add to the functions.php to add this ...
1
vote
1answer
279 views

Bulk edit contents of pages

I would like to know how to edit the content area for many pages. I have many options for bulk editing of pages, such as parent and sidebar, like this image: But I can't do this for the actual ...
0
votes
1answer
128 views

Missing 'Move to Trash' option from bulk select box

I seem to be missing the bulk select option for moving multiple items to the trash. This happens when all plugins are deactivated as well. Has anyone come across this before? http://i.stack.imgur.com/...
1
vote
1answer
6k 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="#">'.__( '...
0
votes
1answer
369 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 ...
3
votes
2answers
1k 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 ...
0
votes
1answer
69 views

Bulk replacing content of multiple pages/posts?

I have multiple pages, and some of their contents are same while others are different. Is it possible to replace the content of all of these pages with same content at once? I have thought of two ...
2
votes
2answers
366 views

Is there an equivalent to Drupal's Batch API in WordPress?

I'm wondering if there is some sort of equivalent to Drupal's Batch API in WordPress? Basically, the API allows you to register a batch request and Drupal will call your function over and over again (...
3
votes
2answers
551 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: $...
0
votes
1answer
484 views

SQL Bulk Move old posts by one author to another category

I'm looking to move a number of old posts by one author from one category to another category and was hoping someone could help me do this? I figure the easiest way would be through an SQL command? ...
1
vote
1answer
1k views

How to create bulk page and content? [closed]

I am creating a website about cars. I want to have a page for each car, with subpages (i.e. Gallery, Specs, etc...) for each car page. I have the content on my hard drive for each car. Doing this ...
1
vote
1answer
118 views

Custom Field Create Bulk via SQL Query

I have a question. A created a custom field named video_desc. I have ofer 2000 posts and I need to add this custom field to all posts and add the text "Description Here" to it. How can this be done ...
0
votes
1answer
119 views

Custom Fields Bulk Edit

I have a question. I am running detube theme which has a custom field named "dp_video_code" in which i put my video embeded code. Recently the embeded code has change and I need to modify the video ...
1
vote
1answer
2k 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 ...
0
votes
1answer
276 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
290 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 ...
1
vote
0answers
87 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 add_action('...
1
vote
2answers
5k 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 ...
1
vote
2answers
830 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 ...
0
votes
2answers
2k 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 ...
1
vote
0answers
408 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 ...
0
votes
0answers
204 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 ...
1
vote
2answers
837 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 ...