Hi,
A have no sticky posts and I am using the following settings.
Exclude Post IDs:
Sticky Posts: ignore
Default Order: Date, Descending
Secondary Sort Order: None, Descending
In my themes functions.php I use this code
add_action( 'x_before_view_global__index', 'print_search_text' );
function print_search_text(){
if(is_home()){
?>
<div class="x-container max width"><?php echo do_shortcode( '[searchandfilter id="1583"]' ); ?></div>
<?php
}
}
I have set Display results method: to Using a shortcode and I have turned off ajax. I cant get it to work. If I log out and clear the cache everything shows up fine with no doublets. If I log in to any om my wp accounts the doublets now shows up again.
What am I doing wrong?
Kind regards/ Mathias