• Resolved bertini

    (@bertini)


    So the following code gives me

    echo '<div style="display:none" class="fancybox"><div id="fancyboxID1">';
    echo '<p>hello</p>';
    
    echo '</div></div><a href="#fancyboxID1" class="fancybox">click</a>';

    The requested content cannot be loaded.
    Please try again later.

    I have no idea why…

    Anyone can help please?

    Thank you.

    https://wordpress.org/plugins/easy-fancybox/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter bertini

    (@bertini)

    Nothing?

    Thread Starter bertini

    (@bertini)

    Actually, the code i’m interested in running is:

    echo '<div style="display:none" class="fancybox-hidden"><div id="fancyboxID-1">';
    echo do_shortcode('[gravityform id="10" ajax="true"]');
    
    echo '</div></div><a href="#fancyboxID-1" class="fancybox">click</a>';

    I’m using this in a new template I’m creating.

    Hopefully i haven’t written something awful :O

    Thread Starter bertini

    (@bertini)

    Solved!!

    echo '<div style="display:none" class="fancybox-hidden"><div id="fancyboxID-1">';
    echo do_shortcode('[gravityform id="10" ajax="true"]');
    
    echo '</div></div><a href="#fancyboxID-1" class="fancybox-inline">click</a>';

    replace fancybox for fancybox-inline.

    Oops.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Repetitive Error’ is closed to new replies.