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条)