# Dynamic content on wordpress

**URL:** <https://forum.mautic.org/t/dynamic-content-on-wordpress/7849>\
**Category:** Product Support\
**Created:** [March 8, 2017, 3:45pm UTC](https://forum.mautic.org/t/dynamic-content-on-wordpress/7849 "2017-03-08T15:45:19Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![chili\_666](https://avatars.discourse-cdn.com/v4/letter/c/a9adbd/32.png) [@chili\_666](https://forum.mautic.org/u/chili_666)\
**Post date:** [March 8, 2017, 3:45pm UTC](https://forum.mautic.org/t/dynamic-content-on-wordpress/7849/1 "2017-03-08T15:45:19Z")

</div>

Hi there,  
  
  
  
I am still fighting with dynamic content - i can´t get it to show…  
  
  
  
Here is what I am trying at the moment:  
  
  
  
WP Mautic downloaded from github and installed on wordpress site  
  
  
  
Setup a campaign:  
  
  
  
based on segments (includes all leads)  
  
visits a site (the wordpress page with the mautic codes on it)  
  
add 1 point to contact  
  
pull dynamic content (named test, requesting "slot2)  
  
push dynamic content (named test)  
  
  
  
Setup a wordpress page with the following code on it:

Code:

[mautic type="content" slot="slot2"]Still not working[/mautic] [mautic type="form" id="3"]

  
Result:  
  
If I visit with another browser, I´ll get 1 point awarded. Also I can see the embedded form. Conclusion: Mautic can see the visitor, the campaign is working. But still there is no dynamic content.  
  
Seriously, I don´t get it... everything else is working, so why doesn´t mautic pull the dynamic content as it should?  
  
Any hints?  
  
Thanks in advance,  
  
chili\_666

---

<div class="post-metadata">

**Author:** ![chili\_666](https://avatars.discourse-cdn.com/v4/letter/c/a9adbd/32.png) [@chili\_666](https://forum.mautic.org/u/chili_666)\
**Post date:** [March 8, 2017, 3:45pm UTC](https://forum.mautic.org/t/dynamic-content-on-wordpress/7849/2 "2017-03-08T15:45:19Z")

</div>

Hi there,

I am still fighting with dynamic content - i can´t get it to show…

Here is what I am trying at the moment:

WP Mautic downloaded from github and installed on wordpress site

Setup a campaign:

based on segments (includes all leads)  
visits a site (the wordpress page with the mautic codes on it)  
add 1 point to contact  
pull dynamic content (named test, requesting "slot2)  
push dynamic content (named test)

Setup a wordpress page with the following code on it:

`[mautic type="content" slot="slot2"]Still not working[/mautic]
[mautic type="form" id="3"]`

Result:

If I visit with another browser, I´ll get 1 point awarded. Also I can see the embedded form. Conclusion: Mautic can see the visitor, the campaign is working. But still there is no dynamic content.

Seriously, I don´t get it… everything else is working, so why doesn´t mautic pull the dynamic content as it should?

Any hints?

Thanks in advance,

chili\_666

---

<div class="post-metadata">

**Author:** ![ninjoan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ninjoan/32/1005_2.png) [@ninjoan](https://forum.mautic.org/u/ninjoan)\
**Post date:** [March 8, 2017, 4:47pm UTC](https://forum.mautic.org/t/dynamic-content-on-wordpress/7849/3 "2017-03-08T16:47:46Z")

</div>

From where you are getting that code?

This is the code

[code]

Text in the html - this shows up if the visitor is not known
[/code]

---

<div class="post-metadata">

**Author:** ![chili\_666](https://avatars.discourse-cdn.com/v4/letter/c/a9adbd/32.png) [@chili\_666](https://forum.mautic.org/u/chili_666)\
**Post date:** [March 8, 2017, 6:20pm UTC](https://forum.mautic.org/t/dynamic-content-on-wordpress/7849/4 "2017-03-08T18:20:56Z")

</div>

@ninjoan

The code is directly for the wp mautic github documentation. I tried your code, but still no changes. The lead is known, is awarded the correct amount of points, but still no dynamic content…

---

<div class="post-metadata">

**Author:** ![ninjoan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ninjoan/32/1005_2.png) [@ninjoan](https://forum.mautic.org/u/ninjoan)\
**Post date:** [March 8, 2017, 8:38pm UTC](https://forum.mautic.org/t/dynamic-content-on-wordpress/7849/5 "2017-03-08T20:38:38Z")

</div>

DWC don’t get trigger if you have are log in Mautic you have to use a different browser or Incognito Browser to and try to fire the DWC

---

<div class="post-metadata">

**Author:** ![chili\_666](https://avatars.discourse-cdn.com/v4/letter/c/a9adbd/32.png) [@chili\_666](https://forum.mautic.org/u/chili_666)\
**Post date:** [March 9, 2017, 9:03am UTC](https://forum.mautic.org/t/dynamic-content-on-wordpress/7849/6 "2017-03-09T09:03:43Z")

</div>

@ninjoan

Yeah, I know that. I tried a different browser, logging out of mautic, deleting the complete browser-history (cookies, history, everything) an incognito browser, rdp-ing into my machine at home and using the browser there…

It still doesn´t work… Sorry, I don´t get it at all…

---

<div class="post-metadata">

**Author:** ![mbednarczyk](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mbednarczyk/32/6_2.png) [@mbednarczyk](https://forum.mautic.org/u/mbednarczyk)\
**Post date:** [May 8, 2017, 1:07pm UTC](https://forum.mautic.org/t/dynamic-content-on-wordpress/7849/7 "2017-05-08T13:07:03Z")

</div>

Out of interest, does it work if you remove the form?

I just had a similar problem with Joomla and it seems that dynamic content doesn’t show if you have a form rendered on the page. Not sure if it’s by design or a bug.

Ruth

---

<div class="post-metadata">

**Author:** ![arrfonseca](https://avatars.discourse-cdn.com/v4/letter/a/57b2e6/32.png) [@arrfonseca](https://forum.mautic.org/u/arrfonseca)\
**Post date:** [December 12, 2017, 12:34am UTC](https://forum.mautic.org/t/dynamic-content-on-wordpress/7849/8 "2017-12-12T00:34:43Z")

</div>

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.
