Hubspot Connector is a plugin for Craft CMS 3 that allows developers to pull in content and data from a Hubspot Portal via the Hubspot API straight from their Twig templates.
{% for blog in craft.hubspot.blogs %}
<a href="{{ blog.root_url }}">
<h4>{{ blog.id }} - {{ blog.name }}</h4>
</a>
{% for post in craft.hubspot.blogPosts(blog.id) %}
<hr>
<article>
<a href="{{ post.published_url }}">
{{ post.html_title }}
</a>
</h5>
{{ post.post_summary | striptags }}
</article>
{% endfor %}
{% endfor %}
Check the documentation for for advanced template examples.
Installation Instructions
To install this plugin, copy the command above to your terminal.
Reviews
This plugin doesn't have any reviews.
Active Installs
9
License
MIT
Last release
December 18, 2018