V2 latest release Photos not showing in Mobile..

This topic contains 18 replies, has 5 voices, and was last updated by  Nyi Win 4 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #492330

    Paolo
    Site Admin
    Post count: 31206

    In your header or footer. Footer should be the right place, but if placed in the header it will load before the images.

    function add_javascript() {
        ?>
            
        

    if you decide footer is better.

    function add_javascript_footer() {
        ?>
            
        

    Both code snippets can be added via code snippets plugin, or in your theme functions.php file.

    Otherwise you can use a plugin like this and you won't need the php snippets. You just add Stiofan's code in one of the 2 box.
    https://wordpress.org/plugins/insert-headers-and-footers/

    Thanks

    #492380

    Nyi Win
    Free User
    Post count: 111

    Hi Paolo,

    I added the following in my theme function.php, and it is finally working..

    we dont need the

    ?>

    < ?php

    this is what I have inserted in my theme function.php..

    function GD_add_javascript_footer() {
    echo”<script language=’javascript’>
    jQuery(‘#main’).on( ‘scroll’, function(){
    jQuery(window).trigger(‘resize’);
    });
    </script>”;

    }
    add_action(‘wp_footer’, ‘GD_add_javascript_footer’);

    finally it loads.. AWESOME.. many thanks.. now.. next bug..

    #492383

    Paolo
    Site Admin
    Post count: 31206

    You are welcome. Just to be 100% clear, this was a bug in your customization that we helped you fix.
    It was not a bug in our plugin.

    #492402

    Nyi Win
    Free User
    Post count: 111

    Yep..

    Many thanks..

Viewing 4 posts - 16 through 19 (of 19 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket