Cannot search for imported posts until manually updated.
-
I’m trying to import 5000+ posts (just the titles) to a custom post type, via a CSV using WP All Import, in order to create a searchable business directory.
The posts all import as expected, but they do not appear in the search results (frontend or admin area) unless I manually go into each post and click the “Update” button. However, if I disable your plugin then they will appear in the search results as expected.
I have tried bulk updating a small selection of the posts via the admin area and also by running a function to wp_update_post($post), but neither of these solve the problem. The only way I can get a post to appear in the results (with your plugin enabled) is by manually updating each post, which is going to take a long time with 5000+ posts.
Is it possible to disable your plugin for a specific post type? As there is no content or ACF fields assigned to these posts, just the titles that need to be found. Your plugin is needed for the rest of the site content, which is mainly ACF.
Thank you.
- The topic ‘Cannot search for imported posts until manually updated.’ is closed to new replies.