• I’m trying to add in new stockists to the store locator but none of them will get out of pending. Both Server and Browser keys are showing as fine in the backend.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    They usually go to pending when there’s a problem with the response from the Google Geocode API.

    If you try to publish them again, does it then still not work?

    If so, can you add this code to functions.php inside your active theme folder and publish them again. This should show a more detailed error message ( will work in Gutenberg with the next update ).

    add_filter( 'wpsl_post_type_args', 'custom_post_type_args' );
    
    function custom_post_type_args( $args ) {
        
        $args['show_in_rest'] = false;
        
        return $args;
    }

    Can you share one of the address details that fails to go to publish?

    • This reply was modified 3 years, 11 months ago by Tijmen Smit.
    Thread Starter jarrydpaton44

    (@jarrydpaton44)

    Hey Tijmen,
    Thanks for responding. You can close this one as I just deleted the stockists I added in before the API worked as they were all stuck on pending. But any new ones I added in worked.

    So it is all working now perfectly fine.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘All stores stuck in Pending’ is closed to new replies.