Problem with $wpdb

Try this, it should work much better 😉 $table = “{$wpdb->prefix}postmeta”; $query = “SELECT * FROM {$table}”;

Dynamic dropdown select values depending on other custom field value

No plugins. You’ll have to build it yourself, using a JavaScript library. Basically, you’ll need to use an onchange() event on the main dropdown, then get the value and check an array of values for that specific value. If you search for a library, look for “chained select” or “linked select”. Another solution would be … Read more