alm and polylang: loading all posts
-
alm works properly without polylang but is is not responding to the language, it will load all articles without considering the taxonomy.
this is the code that I am using.
<!--load more pagination--> <?php $the_tax = get_taxonomy( get_query_var( 'taxonomy' ) ); $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) ); echo '<div class="row">'; echo do_shortcode('[ajax_load_more post_type="service_egv" taxonomy="type_service_egv" taxonomy_terms="'.$term->slug.'" repeater="repeater2" offset="12" posts_per_page="8" scroll="false" pause="true" button_label="+"] '); echo '</div>'; ?>
I believe it is not alm error but maybe you have already had this issue (which I couldn’t find)
all software is up to date wp 4.0.1 polylang 1.6.1 alm 2.6.1
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘alm and polylang: loading all posts’ is closed to new replies.