on the page https://www.ciociariaecucina.cloud/blog/nuovo-presidente-dellaccademia-delle-belle-arti-di-frosinone/ (in the final section) I’m trying to make a query string that filters the data through a shortcode but I am not able.
Inside functions.php I created a shortcode called [breadcrumb] that extrapolates the name of the category to which my article belongs (in the example, the category is “Cultura”).
The shortcode works because if I enter it in a text field I get the right result:
But if within the looper I wanted to display the articles belonging to the “Culture” category using this expression it does not work:
Instead if I write:
How can I go about solving?
I hope I was clear