I’m using the HivePress plugin with a third party theme so don’t have access to Appearance > Widgets for the listings sidebar. Can I be provided with a code snippet to add the below shortcode?
Shortcode: [wpforms id=“298”]
Also, how do I remove the existing maps widget from the listings sidebar? I’d like it to be replaced with the above shortcode and for the shortcode to be stickied.
If you mean a single listing page then please try this PHP snippet to add the shortcode to the listing sidebar. But please note that it can require further customization
The snippet has been added but it doesn’t seem to be working. Here’s an example listing where the shortcode should be appearing: Crestavilla | Retirement Being
Also, what steps are necessary to remove the map from the sidebar altogether, rather than just hide it? It’s negatively affecting SEO performance.
Please try to put the shortcode on a test page just to make sure that the shortcode is correct. As you can see on this screenshot code snippet works as it adds shortcode as text to the listing sidebar. But in your case, the shortcode should work as expected if the shortcode is correct
The shortcode works on other pages. Nothing is appearing on the listing pages though, not even the text of the shortcode. When I view source I see that it says, “WPForms: no fields, form hidden”. Is the CSS for removing the map interfering with the shortcode?
Please try to add Text widget with content [wpforms id=“298”] in Listing (sidebar) section in Appearance/Widgets to add this shortcode to listing sidebar without PHP code snippet
If you mean a single listing map then please try this CSS snippet
As I mentioned in the first post, I’m using the HivePress plugin with a third party theme so don’t have access to Appearance > Widgets for the listing sidebar.