Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #363164

    Hi, i have a review widget which i would like to place onto the site.

    I am fairly new and i would like to know which folder in the file manager i add it into, they have advised me it needs to be before the last body in the main HTML.

    The code is in private message

    Please advise where this should go

    #363730

    Hey missjonesxox!

    Try adding this to the bottom of your functions.php file.

    add_action( 'wp_footer', 'enfold_customization_add_footer_script' );
    function enfold_customization_add_footer_script() {
    ?>
    insert your code here
    <?php
    }

    And then change “insert your code here” with the code you need to use.

    If that is not working then open up /enfold/footer.php and you can find the ending body tag on line 184.

    </body>
    

    Regards,
    Elliott

    #364837

    Hi, sorry.

    I went into the Functions and i could not find any script which you show above. I can see many add functions but not this one.

    I then went into the Enfold Footer and did as above and nothing on the site changed.

    Please advise of any other options. I will keep looking for the first option.

    #364838

    Further to my last email i have just received this email: This widget requires jQuery 1.7 i dont know if this effects anything.

    #365038

    Hey!

    You need to add the code to the functions.php file and change it as instructed.

    Cheers!
    Elliott

    #365265
    This reply has been marked as private.
    #365727

    Hi!

    I added it to your functions.php file but it’s giving you this error.

    TypeError: $ is not a function
    	
    
    init: $(function(){

    I don’t think it’s going to be able to work without editing the script. What is this script for?

    Cheers!
    Elliott

    #368264

    Ok, for some reason it has started to appear! Thanks for your help.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Floating Widget’ is closed to new replies.