Hi,
sorry for not getting back to you until now but that works!
Thanks a million.
Hi,
as i said in the previous comments, i would like to have the AJAX search in the article (single.php), the same AJAX search that is in the homepage now.
Thanks
Hi Victoria,
i’m refactoring the website and i’m working on my local machine so i’ll try to send you some screenshot but as i said i only added the SearchWP code into function.php and the shortcode into single.php.
funtion.php
https://www.agenziagiornalisticaopinione.it/wp-content/uploads/2020/09/function.png
single.php
https://www.agenziagiornalisticaopinione.it/wp-content/uploads/2020/09/single.png
Thanks
Solution found adding “numberposts” to -1 in here:
$args = array(
‘post__not_in’ => $sticky,
‘orderby’ => ‘date’,
‘numberposts’ => -1
);
Hi,
i used the same solution provided by Guenni007 on April 3, 2020 at 11:45 am but now i can only see the last 6 posts (i have more than 100) and not pagination anymore.
Am i missing something in the configuration?
Currently i’m rebuilding the website locally so it’s difficult to provide an example.
Thanks a million