Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    That variable is only available within a repeater template. It is not global.

    Thread Starter guldoe

    (@guldoe)

    Thanks for all,

    i will make operations inside repeater templates.

    It works for me:

    <?php get_template_part(‘wpc_templates/ajax-products’);
    if($alm_found_posts<6 && $alm_item == $alm_found_posts){
    get_template_part(‘wpc_templates/ads-general’);
    }
    ?>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘$alm_found_posts outside repeater template ?’ is closed to new replies.