Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
21 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
79 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 ...
0
votes
1answer
24 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
20 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
0answers
22 views

Move Content of Custom Field to Post Content

Hello everyone I have a custom field in all my posts - the field is _listing_additional_info This is on a custom post type called listings. I need to move the content of those custom fields into the ...
0
votes
1answer
29 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 ...
0
votes
0answers
15 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
103 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
79 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
21 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
24 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 ...
1
vote
0answers
37 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 ...
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
2answers
366 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
2answers
460 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
0answers
186 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 + ...
2
votes
2answers
217 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
0answers
148 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
119 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
105 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
40 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 ...
1
vote
0answers
276 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
73 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
323 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
2answers
778 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 ...
3
votes
1answer
341 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. ...
0
votes
1answer
194 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 ...
-2
votes
1answer
200 views

Is there a way to select posts and print to a template page dynamically?

I'm trying to print posts by selecting posts and doing a bulk action to dynamically add them to a template page I already have set up. Is this possible? Update with more info: I'm using this ...
0
votes
0answers
105 views

Bulk remove category from custom post type?

I know you can use bulk actions to add categories but how do you remove them in bulk? I have a custom post type that is using a category (as status) and it needs to basically be toggled in bulk and ...
0
votes
1answer
152 views

Bulk Attach Or Insert Media To Post Without Opening Post Editor

How to create a custom panel inside wp admin dashboard where we can insert media to specified posts in bulk? Here is the illustration: As shown on the image above, it list all available media on ...
0
votes
1answer
283 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
413 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 ...
3
votes
2answers
1k 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 ...
0
votes
1answer
127 views

bulk deleting empty items in the media library

I wrote a function, which should rename my attachments, based on the post title. Unfortunately this function created over 10.000 empty instances in my media-library, before I was able to stop it. The ...
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 ...
2
votes
1answer
336 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?
0
votes
1answer
140 views

where does my function output from load-* go?

I've got a function hooked into load-edit.php that prints out print content: add_action('load-edit.php', array($this, 'generate_bulk_print_content')); public function generate_bulk_print_content() { ...
3
votes
1answer
153 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?
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 ...
1
vote
2answers
614 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 ...
0
votes
2answers
139 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( ...
1
vote
2answers
544 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
4k 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
1answer
305 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 ...
2
votes
2answers
495 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
720 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
1answer
409 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 ...
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 ...
2
votes
1answer
497 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 ...