• Resolved sock2me

    (@sock2me)


    I’m wanting to put the shortcode into the header.php file, but I am not able to get it to work. I’m trying this:

    <?php echo do_shortcode(“[edsanimate_start entry_animation_type= “fadeInLeft” entry_delay= “0.5” entry_duration= “0.5” entry_timing= “linear” exit_animation_type= “” exit_delay= “” exit_duration= “” exit_timing= “” animation_repeat= “1” keep= “yes” animate_on= “load” scroll_offset= “” custom_css_class= “”]
    HTML Content here
    [edsanimate_end]”); ?>

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author eleopard

    (@eleopard)

    Hello,

    Thank you for using Animate It!.

    Regarding the issue, please try the below code snippet:

    <?php echo do_shortcode('[edsanimate_start entry_animation_type="fadeInLeft" entry_delay="0.5" entry_duration="0.5" entry_timing="linear" exit_animation_type="" exit_delay="" exit_duration="" exit_timing="" animation_repeat="1" keep="yes" animate_on="load" scroll_offset="" custom_css_class=""]HTML Content here[edsanimate_end]'); ?>

    let me know if it works.

    Please note that whenever you copy the code from WordPress editor, remember to copy from the “text” mode.

    • This reply was modified 6 years, 5 months ago by eleopard.
    Thread Starter sock2me

    (@sock2me)

    That worked!!!
    Thank you so much. LOVE IT!!!

    Thread Starter sock2me

    (@sock2me)

    Thanks again!

    Plugin Author eleopard

    (@eleopard)

    You’re most welcome.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can I add this to header.php theme file?’ is closed to new replies.