Hi alevalentini,
You need to select at least one taxonomy term along with the taxonomy to in order to use the taxonomy query.
Does that make sense?
It does. Sorry, I pasted the wrong code. I use this:
do_shortcode('[ajax_load_more post_type="articolosport" taxonomy="icarosport" taxonomy_terms="calcio" posts_per_page="10" button_label="Altri articoli"]');
but nothing happens.
Do you happen to have a link you can share?
Sure. here
You can ignore the two termname= and termslug=… I was just testing in order to print the term name for the header.
Thanks, it’s possible its not working because there are various JS errors throughout the site.
http://cl.ly/image/3B2A462Z0a3i
Which page has the shortcode?
The jquery.mobile is known, shouldn’t be a problem.
The other one is strange. The reference error f is not defined
is known too, but it should not break your plugin. It work fine here, on main categories: http://www.newsrimini.it/wptest/?cat=2
Ok, so which page has the taxonomy query not working? Sorry, the page you initially reference did not have Ajax Load More present in the source code.
How is that? First link I pasted calls up a php file where I put the do_shortcode I pasted in my second post. That’s the point, it doesn’t load anything.
Did you echo the do_shortcode?
echo do_shortcode('[ajax_load_more]');
This page(http://www.newsrimini.it/wptest/?icarosport=calcio) does not have Ajax Load More present in the source code.
What are you saying? Who do you think I am? huh? One of those stupid, idiotic developers who forget the basic stuff and goes online asking for help, because they’re not intelligent enough to see their own mistakes?
…
…
…
BECAUSE YES, I AM ONE OF THOSE.
I’m SO SO SO SO sorry for wasting your time! Sorry, you’ve been very friendly and helpful. Thank you so much for your help, your time and your patience.
Sorry again.
haha, no worries at all. In fact I do the same with do_shortcode quite often.
Happy to hear everything is working for you!