Articles of bulk

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 upto 78 posts every time I tried. I tried increasing server limits […]

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 with media gallery items. Starting from the original plugin code, here’s what I came up until now […]

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 channel and I want to create post in wordpress using that loop and data. My […]

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 trigger the cron job. However, running only the query in phpMyAdmin returns the correct result. […]

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 the bulk menu add_filter( ‘bulk_actions-‘ . ‘edit-post’, ‘__return_empty_array’ ); add_filter( ‘bulk_actions-‘ . ‘upload’, ‘__return_empty_array’ ); How […]

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 feature? I cant find a solution.

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 subject to change without warning in any future WordPress release.”. Is there any way to add bulk action and […]

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 automatically via SQL commands or maybe a plugin check all posts on […]

Bulk Image Uploader to create new post from each image

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, name it same as image file name, insert image from media library and then save to draft/publish it

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 + Edit + Apply + I change the author name + Apply: wp-admin/edit.php?s=&post_status=all&post_type=Array I basically want to change all Press Release author names. […]