Q: How to pull data from custom table to populate zustomizer setting/control select options

So i think I’ve found the answer to my own question. I modified the code in the original tablequerytest.php which queries the custom table and stores results from this: <?php global $wpdb; //Accessing WP Database (non-WP Table) use code below. $results = $wpdb->get_results(‘SELECT alias FROM wp_revslider_sliders’); foreach ($results as $result) { $revchoices = array(“text” => … Read more

Sorting widget control

I found that scripts for widget only work when included inline in the php file. Note: An external Js file might work for other dog elements outside the customizer area, but it is impossible to reference the dom elements in the customizer area.