AJAX and Shortcode with Parameters

I'm creating an ajax function which will display a filtered post. I used a shortcode to display the post.The shortc

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

相关推荐

  • AJAX and Shortcode with Parameters

    I'm creating an ajax function which will display a filtered post. I used a shortcode to display the post.The shortc

    7小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信