how to used wordpress function inside the custom function?
问题 <?php function tms_footerWidget(){ global $wpdb; $results = $wpdb->get_results( "SELECT `tms_footerColumns` FROM `wp_tms`"); foreach ($results as $row) { $tms_footerWidget = $row->tms_footerColumns; } $colsOne="<div class=\"col-xs-12 col-md-12 col-sm-12\"><div class=\"thumbnail\"><?php dynamic_sidebar('tms_footer2'); ?></div>"; return $colsOne; } ?> and after i have used this function in my html code and i run my php page at that that time these function could not working ..so i see in