Support » Plugin: Easy Embed for HubSpot Forms, CTAs, Links, Files & add HubSpot to WP Search Results » Blog Post Widget displays Blog Posts still in Draft

  • Resolved jaschaio

    (@jaschaio)


    Hey there,
    if I use the Blog Post Widget it unfortunately displays not only published posts, but as well those which are still set to “Draft” within Hubspot.

    The API Request in hub2word/inc/curl/Url.php on line 111 seems to be missing a state=PUBLISHED GET parameter like described in the Hubspot API Docs: https://developers.hubspot.com/docs/methods/blogv2/get_blog_posts

    When I add the parameter it works. I would really appreciate if you either offer an option or only get PUBLISHED posts by default.

Viewing 1 replies (of 1 total)
  • Plugin Contributor Webbege Team

    (@webbege)

    @jaschaio Thanks again for another valuable post. This has been included in the latest release. Now only published blogs will be displayed.

Viewing 1 replies (of 1 total)
  • The topic ‘Blog Post Widget displays Blog Posts still in Draft’ is closed to new replies.