Wordpress Plugin doesn't show top toolbar

I’ve installed the Hubspot wordpress plugin for the 1st time and it all works fine other than the toolbar along the top isn’t there. I see it flash up briefly on page load and then disappear.

I’ve tried from Chrome and Edge, both with the site listed as safe for cookies etc, anti-virus disabled, all plugins disabled and even tried a different theme. It’s still the same.

The Chrome Dev console shows it’s not happy connecting to the various hubspot.com resources. There aren’t any network restrictions in place on this WP install.

Hey @mattgoddard,

Referencing this forum thread, could you try the following:

  • Go to your wordpress admin site, and be on the hubspot plugin page
  • Click on the cookie icon in the link bar (it probably has a little red X).
  • Click on “Show Cookies and Other Site Data”
  • Click on the Block tab
  • In the list, select any cookie with “hs-”, apps.hubspot, and hubspot
  • Click Allow
  • Click Done.
  • Reload Wordpress site

and see if it works?

Hi @WendyGoh,

Thanks for offering some help on this.

Chrome wasn’t showing any blocked cookies or content.

To be safe I’ve added the following URLs as always allow cookies, pop-ups and Javascript but it’s still not working.

js.hs-scripts.com
js.hs-analytics.net
js.hs-banner.com
js.hscollectedforms.net
track.hubspot.com

static.hsappstatic.net

and also my website too

I’ve disabled all plugins bar Hubspot and renamed my .htaccess to rule out any interference. I’ve also tried it from Firefox.

Still seeing the below in the Chrome Dev Console

Hey @mattgoddard,

I dug further into this and was able to locate these resources:

1. How to Fix Missing Admin Bar Issue in WordPress --> Based on this article, it mentioned that:

The most common culprit causing this problem is a missing <?php wp_footer(); ?> line in your theme. This function is usually found in a theme’s footer.php file just before the </body> tag.

As such, could you try and see if wp_footer(); is present on your page?

2. WordPress admin bar is hidden | Beaver Builder Knowledge Base -->

Your user profile may have the option selected to remove the admin toolbar. In the WordPress admin panel, click Users and edit your own profile. For the Toolbar setting, make sure Show Toolbar when viewing site is selected.

Could you try these two solutions and see if it works?

Thanks for the suggestions - the 2 items were already applied in my install. These articles are actually referring to the WordPress toolbar and not the Hubspot toolbar (in WordPress).

Any further ideas?

Hey @mattgoddard,

Just to further confirm, do you mean that the HubSpot Wordpress plugin isn’t showing up here:

If so, could you share with me a screenshot of what you’re seeing on your end? If no, could you also share with me a screenshot of what you’d expected to see?

Hi @WendyGoh,

I can open Hubspot and browse around but the thin Hubspot toolbar within the Hubspot WordPress app is missing from the top of the screen. It briefly flashes up and then disappears. Without the toolbar, I can’t use the Hubspot marketing WordPress app.

This video shows the Hubspot toolbar appear at the top and then disappear twice - once as just the blue bar, and the other shows all the Hubspot menus on the top toolbar. It’s available here… https://drive.google.com/file/d/1GqObF2TSFqtaWpQRLw2D5MaDc6nhJuVg/view?usp=sharing

I’ve also taken screenshots from the video just in case you can’t get to the vid. Here’s the toolbar flashing up, followed by 1-2 seconds later where it disappears.

Hey @mattgoddard,

Thanks for sharing the video!

In order for me to share this with our internal team, I would need further information:

We will need:

  • PHP version
  • WordPress version
  • Plugin version
  • List of plugins (a screenshot of the plugins page will work)
  • Browser and browser version being (also have they tried any other browsers or incognito?)

Troubleshooting steps:

  1. Go to the WordPress admin site, on the Hubspot plugin page
  2. Click on the cookie icon in the link bar (it probably has a little red X or a lock next to the URL).
  3. Click on “Show Cookies and Other Site Data” or “Cookies”
  4. Click on the Block tab
  5. In the list, select any cookie with “hs-”, apps.hubspot, and Hubspot
  6. Click Allow
  7. Click Done.
  8. Reload Wordpress site
  9. try logging in again

If that doesn’t work, could you try navigating to the extensions (in Chrome) by going to chrome://extensions and disabling them all. From there, you can enter chrome://restart in the URL bar to restart Chrome once the extensions are disabled. In some cases, the browser may need to be restarted to pick up the new extension changes. I would then have you try logging into HubSpot from Wordpress again to see if that did the trick!

If that works, you can enable the extensions one by one again to see which one the culprit was. You can also try disabling each of their plugins as well.

If none of the above work, could you try capturing a HAR file? Thanks!

Hi @WendyGoh , apologies for the delay. Been v busy here.

Here’s the info requested

PHP version: 7.3.16
WordPress version: 5.5

Plugin version: 7.41.0

List of plugins: I’ve disabled all plugins other than Hubspot for testing and I experienced the same problem.

Custom PHP and CSS: I enabled the standard Storefront Wordpress theme to rule out any PHP and CSS customisation

Browser: Chrome 85.0.4183.83 with all extensions disabled

and Chrome v84.0.4147.135 before that
Firefox 80.0
Edge 84.0.522.63

*I have tried all of these in private/incognito (and in the 1st case - with extensions disabled)

There were allowed cookies for hubspot domains showing in Chrome and none showing as blocked. I’d previously added the following as always allow for cookies, pop-ups and JS:

js.hs-scripts.com
js.hs-analytics.net
js.hs-banner.com
js.hscollectedforms.net
track.hubspot.com

static.hsappstatic.net

and also my website too

Here’s the HAR file:

[shared offline for privacy]

The steps completed during the HAR recording are:

Clicked Hubspot in the left-hand worpress admin bar

Clicked Manage and convert contacts

Clicked LISTS

<End of recording>

Once loaded (and demonstrated the toolbar didn’t stay present), I then clicked on Contacts under Hubspot in the left-hand wordpress admin menu. The same thing happened as always - the hubspot horizontal toolbar along the top briefly appeared and then disappeared as per previous screenshots.

I’m in the process of selecting a marketing tool - any help to get this working quickly would be appreciated. Thanks. Matt

Hey @mattgoddard,

Thanks for sharing this across.

I’ll share this with our internal team and keep you posted in this thread!

Hey @mattgoddard,

Just an update here!

Digging further into this, I believe this is an expected behavior in which the HubSpot toolbar wouldn’t show up on the HubSpot WordPress plugin. The way to navigate through the portal is through the left side bar:

This is also documented here: HubSpot – CRM, Email Marketing, Live Chat, Forms & Analytics – WordPress plugin | WordPress.org.

Apologise for the back and fro and I hope this helps to clarify things. Let me know if there’s any further questions on this :slightly_smiling_face:

Hey @WendyGoh,

Thanks for another quick update.

I have already been navigating using the left admin toolbar but thought I needed the top toolbar for some of the functionality.

I created this post when trying to import a list of contacts. Looking at Hubspot docs it refers to an option in the top toolbar. From WordPress currently, I can only create one contact at a time.

Now you’ve confirmed my install is behaving as expected - how can I import a list of contacts?

Hey @mattgoddard,

I checked in with our internal team and I’m able to confirm that for now it is not possible to import contacts via the WordPress HubSpot plugin. Having said that, while I do not have the exact timeframe, this feature is on our team roadmap.

Hi Wendy.

I’m dealing with the same issue, there are some functions that you can only get from the admin toolbar, and it hides, doesn´t keep fixed.

I’m using the Wordpress Plugin.

Have been some advance regarding this?

Irgovrla, the WordPress plugin is limited in what it does, hence the toolbar not showing. Login to the Hubspot website for full functionality. Wendy confirms this in the thread. Matt

Hi Matt, you´re right. I’ve noticed what Wendy said, butt she also mentioned taht it was on team’s roadmap, so, i was just wondering about it.

Have a nice day!