I'm creating an ajax function which will display a filtered post. I used a shortcode to display the post.
The shortcode has a parameter to filter its display. I have a category and a tag parameter. Now when I type manually the shortcode it's working fine, but when I render it to the Ajax, the output is zero(0).
Here is the code in the footer.php
and in the function.php
I hope this makes sense.
Also, this is the HTML layout.
发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745319328a4622369.html
评论列表(0条)