javascript - tn3 gallery within web page called by API into WordPress site not working - Stack Overflow

I am creating a custom WordPress plugin where a API call is made to display a web page in the WordPress

I am creating a custom WordPress plugin where a API call is made to display a web page in the WordPress site. The web page called by API has a image gallery made with tn3 gallery, which does not appear.

I have ensured jQuery file is being loaded before the tn3 script. This is my code snippet:

$url = ".mvc?prid=TX0550L&layout=GET";

$response = wp_remote_get($url);
$body = wp_remote_retrieve_body($response);
echo "<div id = 'hero'>" . $body . "</div>";

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745675657a4639670.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

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

关注微信