ACF Integration: limit import by post category (or other taxonomy)?

New home Forums Pro Add-on ACF Integration: limit import by post category (or other taxonomy)?

Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #59679
    [email protected]
    Participant

    We need to show several different datasets (and maps). I would like to be able to create maps from ACF fields on posts, as per your docs page, but I can’t seem to limit the posts that those fields are imported from?

    For example, if I had two categories (hypothetical):
    – Venues
    – Restaurants

    … I would like to be able to import data into a map, ONLY from the Venues category. And similarly, import data into another map, only from the Restaurants category.

    Further, I’d like to be able to set up a schedule, or at least trigger the re-import when posts in the relevant categories are saved.

    I’m happy to write some code to do this… are there are hooks you can point me to that might help?

    #59686
    Perry
    Moderator

    Hi Adam

    Thank you for getting in touch.

    Unfortunately we don’t support filtering imports right now, however we will add this to our feature request list if that would help.

    We do have this experimental plugin which will allow you to filter based on post category

    https://github.com/CodeCabin/wp-google-maps-force-wordpress-category-tree

    You could use our plugins shortcode attributes to show one category on one page, and one category on another page.

    I see you mention triggering re-import upon save, if you use live integration (as opposed to scheduled imports) then our plugin will pull data directly from your posts, there’s no need to re-import.

    If we’ve misunderstood anything or you still have technical questions please let us know how we can help!

    Kind regards
    – Perry

    #59717
    [email protected]
    Participant

    Thanks Perry, I’ll check out the plugin.

    add this to our feature request list if that would help.

    Yes please! Since we have several datasets with thousands of data points each, I think it’s probably going to be a bit slow to just munge them all into one and show/hide categories based on the shortcode…?

    Can you please clarify how to use live integration?

    #59731
    Perry
    Moderator

    Hi Adam

    You can read our documentation on that here

    Documentation – Advanced Custom Fields Integration

    If you have any questions please do feel free to ask!

    Does that help?

    Kind regards
    – Perry

    #59776
    [email protected]
    Participant

    Thanks Perry. The team has decided they need to use a Google Sheet to manage data, so unfortunately “live integration” doesn’t seem to be an option right now. Not directly related to the original question in this thread, I realise, as I was asking about importing from WP Posts.

    #59783
    Perry
    Moderator

    Hi Adam

    No worries!

    Our Pro add-on support scheduled Google sheets imports, if that helps.

    Is there anything else we can help you with?

    Kind regards
    – Perry

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.