[ad_1]
This plugin is fantastic. It works great on posts when I call it, but I’m trying to use it within a php script, so when we create pages for customers, a form can autopopulate the tag that feeds this.
It pulls the content properly, but the styling gets stripped out when i call via php. Is there a workaround I could do? Here is the code:
<?php $value = get_post_meta(get_the_ID(), 'insighttag', true);
echo do_shortcode('[latest-selected-content ver="2" limit="24" perpage="3" showpages="more" loadtext="Load More" pagespos="1" display="title" titletag="h4" url="yes" image="full" elements="25" size_title="20px" image_ratio="16/9" css="three-columns has-shadow hover-highlight content-center" type="post" status="publish" tag="'. $value . '" orderby="dateD" show_extra="light_spinner"]');
?>
