• 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.

Viewing 1 replies (of 1 total)
  • Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hi @jfk1980,

    Thank you for your message.

    The plugin looks for ACF fields, but also for post titles and post_content, which is what is in the default search.

    Yes, where you don’t have ACF fields, it will work too. The problem probably lies in the incorrect data structure during import. If you save the post manually then everything works – it indicates an error in the database.

    Could you compare what the post looks like and all postmetries after import and after saving again in the admin panel?

Viewing 1 replies (of 1 total)
  • The topic ‘Cannot search for imported posts until manually updated.’ is closed to new replies.