polylang and ajax load more (alm) not parsing taxonomies properly
-
Ajax Load More (alm) works properly without polylang
Is not responding to the language, it will load all articles without considering the taxonomy term, that is, will load the proper language but not parsing the php query.
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>'; ?>
all software is up to date wp 4.0.1 polylang 1.6.1 alm 2.6.1
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘polylang and ajax load more (alm) not parsing taxonomies properly’ is closed to new replies.