Mautic Community Forums

Dynamic Contento in Wordpress

Hello all,



First, thanks for making Mautic a reality. I’m really having fun learning it.

I’m trying to setup Dynamic Content under my Wordpress site.

I installed the pluing from the Wordpress add pluing option.

Mautic form integration with Wordpress is working. I use Ninja Popups. Perfect.

Also, data collection and visits is working.



But, when I create dynamic content, I follow the steps in the two videos: I create 2 Dynamic Content entries and also a campaign.

All is running, but when I embed the code in Wordpress, the code appears as “text” in the page. It looks like it is not parsed by the plugin.

See here:

http://www.resilientedigital.com/mautic-dynamic-content/



Thanks,





Alejandro.-

Hello all,

First, thanks for making Mautic a reality. I’m really having fun learning it.
I’m trying to setup Dynamic Content under my Wordpress site.
I installed the pluing from the Wordpress add pluing option.
Mautic form integration with Wordpress is working. I use Ninja Popups. Perfect.
Also, data collection and visits is working.

But, when I create dynamic content, I follow the steps in the two videos: I create 2 Dynamic Content entries and also a campaign.
All is running, but when I embed the code in Wordpress, the code appears as “text” in the page. It looks like it is not parsed by the plugin.
See here:
http://www.resilientedigital.com/mautic-dynamic-content/

Thanks,

Alejandro.-

Tengo el mismo problema y el codigo es

<p class="lead"><div class="mautic-slot" data-slot-name="slot2">Default text</div></p>

Ditto for me.

I think you have to insert the code as code. You have something like visual/text in your box (where you insert the posts or write the articles). It depends on your theme. You can also install a plugin for inserting shortcode with custom html/css/js/php…code that normally are blocked by wordpress.

In wordpress switch the WYISWYG to TEXT
put this code in that html / text screen

[mautic type=”content” slot=”slot2″]Default content to display in case of error or unknown contact.[/mautic]

is this doesn’t work, check if you have the WP MAutic plugin installed. Otherwise search for it on mautic.org
install that, try again.

[quote=13279:@alexrm1x]Hello all,

I installed the pluing from the Wordpress add pluing option.
Mautic form integration with Wordpress is working. I use Ninja Popups. Perfect.
Also, data collection and visits is working.

http://www.resilientedigital.com/mautic-dynamic-content/

Alejandro.-[/quote]

How do you integrate mautic forms with Ninja Popups? How do you style your mautic form so it look nice on your site?

@imautic I’ve changed my wordpress plugin to Layered Popups from Envato and works much better. Feel free to contact me in case of any doubts.

Had a similar issue with version 12.1 and could solve that by enabling CORS in my .htaccess file in the root of Wordpress install. Maybe its a similar issue and worth a try.