We added the code three different ways. and all of them resulted in the same situation.
- we used the WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager plugin
- We went straight to the files and added it
- We created a custom plugin
For all three, the code is invisible when deployed – except for the beginning and ending comments.
We see the code and it works properly when logged in.
@whyviru , there is no mention of a “user” restriction condition in the head. The code we’ve inserted is:
<!-- Begin Mainn script -->
<script
async
data-mainn-id="123"
data-environment="production"
id="mainn-widget-script"
src="https://widget.mainn.io/scripts/mainn-widget.js"
></script>
<!-- End Mainn script -->
the “123” is just an example. this code won’t work without a registered mainnID
-
This reply was modified 3 months, 1 week ago by petermainnwp.