• Using Managed wordpress with Di Business theme. Theme developers wouldn’t help. They told me to raise ticket in WP core, which I did, but I was re-directed here. The issue is that when I insert a dynamic banner code into sidebar widget, I get the following error: ‘$rfsn_creative’ is not defined and the code doesn’t work as it should (displays image correctly, but link takes you to a ‘Oops something went wrong’ page). All other banner codes are fine, so it seems dynamic ones are the issue. I am not a web developer. Can anyone help me? Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    What code are you trying to add, into which widget?

    Thread Starter antya63

    (@antya63)

    This is the code:

    <script type=”text/javascript” src=”//cdn.refersion.com/creative.js”></script>
    <script>$rfsn_creative.generate(‘refersion_client/17417/creatives/dynamic/25682-a277ef131c848822708da8c04773faba.json’, {
    aid: ‘905724.508466’
    });</script><div id=”rfsn_img_25682″></div>

    my theme’s developers have advised me to ignore the syntax warning, however, I’m trying to figure out why the code doesn’t work as it should, i.e. problem on my site or problem with code itself? Thank you. P.S. I have removed the widget from sidebar now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Dynamic banner code in sidebar widget’ is closed to new replies.