Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Masonry Gallery /Grid order? #96480

    thanks Champ!

    in reply to: Masonry Gallery /Grid order? #96478

    Hi Peter

    i had a look at the coding under

    loop-masonry.php

    and i can not find the above, the code in this area is as below, am i in the wrong section? i did the above for loop-portfolio.php as well as the coding for avia_framwork.php and all seem to work fine, just that i can’t find the same coding under loop.masonry.php

    <?php

    global $avia_config;

    $items_per_page = 8;

    $gallery = new masonry_gallery(‘masonry’);

    $items = $gallery->display($items_per_page);

    $pagination = avia_pagination($gallery->pagecount());

    if(!post_password_required())

    {

    if($items)

    {

    $loading_text = __(‘Loading more images’,'avia_framework’);

    $loading_stop = __(‘No more images available’,'avia_framework’);

    $loading_img = AVIA_BASE_URL.”/images/skin-minimal/loading.gif”;

    echo “<div class=’masonry-content-area’ data-loadingtext=’$loading_text’ data-loadingstop=’$loading_stop’ data-loadingimg=’$loading_img’ >”;

    echo $items;

    echo “</div>”;

    echo “<div class=’masonry-pagination’>”;

    if($pagination) { echo $pagination; } else { echo “<div class=’pagination’></div>”; }

    echo “</div>”;

    }

    }

    in reply to: Masonry Gallery /Grid order? #96476

    thanks for your help!

    if that is the case would it be easier or possible just to reverse the order? to have the lastest uploads appear at the top of the page rather than at the bottom?

    any chance you could provide the code for that?

    many thanks!

    Thanks for you help Devin!

    Much appreciated!

Viewing 4 posts - 1 through 4 (of 4 total)