Support » Plugin: WordPress Calls to Action » Error on CTA Load

  • jmcone

    (@jmcone)


    First of all i use the Plugin on several Sites and i am pretty happy with it, it is versatile and does what it is supposed to do.

    I just got a call from a customer and i have run into an issue. I have added the CTA as a shortcode on my site. But it isnt showing. I specifically call the CTA by its variation code.
    [cta id='128']

    For some reason it woun’t load on my site. Upon inspection the error i get this error Message:

    (index):146 Uncaught ReferenceError: wp_cta_load_variation is not defined
        at (index):146
    (anonymous) @ (index):146

    The corresponding code on the site is:

    <div class='content-column one_half'>
            <script type='text/javascript'>
                wp_cta_load_variation( '128', '' )
            </script>
            <script type="text/javascript">
                jQuery(document).ready(function($) {
    					 });
            </script>

    My guess is that it tries to load another variation, hence the blank space after it tries to load id 128.

    I could really use some pointers here.
    Thanks in advance!

    • This topic was modified 12 months ago by  jmcone.
  • The topic ‘Error on CTA Load’ is closed to new replies.