Category: Knowledge Base

  • Connecting your Google account & publishing your first post

      Hey! Thanks so much for giving my Post to Google My Business plugin for WordPress a try! Koen here, the developer of the plugin. I’ve created a short video for you to give you a head start (see above, or click here to view it on YouTube). I’ll show you how to connect your…

  • Filter: mbp_business_selector_locations

    The mbp_business_selector_locations filter can be used to filter the locations that appear in the business selector. It has three arguments: $locations, $account_name and $account_key. $locations – Contains the Google API response with the locations $account_name – Contains the Google location group ID $account_key – Contains the Google account ID Samples Only displaying specific locations in…

  • Troubleshooting common post publishing issues

    Checking the post status The plugin provides a handy dialog to check on the status of your newly created GMB post. To open it, edit the parent WordPress post (or page, product etc), and scroll down to the “Post to Google My Business” section (if the section isn’t visible, check here). If a post is…

  • Post to Google My Business section/metabox not visible

    Sometimes the Post to Google My Business section (“metabox”) where you can view the status of your GMB posts and create new ones is not visible. This can be caused by several things. Make sure the post type is enabled If the Post to Google My Business section is not visible in your WordPress dashboard,…

  • How to use multiple auto-post templates

    How to use multiple auto-post templates

    Version 3 of the Post to Google My Business plugin introduces the “Multiple auto-post templates” feature. This means you are no longer tied to a single generic auto-post template, but can define multiple templates for different occasions. For example if you want to use a different post template for your WooCommerce products than you want…

  • Location-specific placeholder variables

    Apart from placeholders which represent specific info about your WordPress site or the current post/page, there are also placeholder variables that represent info about the GBP location that your post is being published to. These placeholders can be used in your post text and will be replaced by their corresponding value once the post is…

  • Publish Products using cookie method

    Because the Google Business Profile API does not support publishing products to your GBP listing, an alternative method has been developed. This feature is available to all premium users of the plugin. To allow the creation of products, first make sure you have a Google account connected to the plugin. Navigate to the Google settings…

  • Using spintax in Google My Business posts

    Using spintax in Google My Business posts

    Post to Google My Business (Pro & Business) support spintax to automatically generate unique GMB Posts. Spintax is a way to mark up text to generate one or more unique variations of the original. Basic spintax example Lets say your original post looks like this: At Acme Electronics, we offer all kinds of residential and…

  • Action: mbp_autopost_created

    The mbp_autopost_created action is triggered when a new automatic post has been created by the plugin. It has 2 variables, $gmb_name, containing Google’s internal post ID, and $gmb_url containing a direct URL to the post in the search results. Usage function do_something_with_post($gmb_name, $gmb_url){ //Do something with the $gmb_name and $gmb_url variables here. } add_action(‘mbp_autopost_created’, ‘do_something_with_post’);…

  • Filter: mbp_placeholder_variables

    The mbp_placeholder_variables filter can be used to alter or add variables to be replaced with their corresponding value in a GMB post. It has two arguments, $variables and $parent_post_id. Samples Add a variable This will replace %custom_variable% with Custom value in the text of your post function add_custom_variable($variables, $parent_post_id){ $variables[‘%custom_variable%’] = ‘Custom value’; return $variables;…