Xanthonius
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
No worries, I’ve done this which works if anybody else needs it:
function get_event_location($location) { global $wpdb; if ($location) { $results = $wpdb->get_results($wpdb->prepare("SELECT * FROM " . $wpdb->prefix . "em_locations WHERE location_id = %d", $location)); if ($results) { return $results; } } return false; }Thanks
I can probably write an SQL query to return this, the “_location_id” is returning 18, so you can see the connection in the DB here:

Would prefer to use a utility function from the plugin if it’s available?
Cheers
Forum: Plugins
In reply to: [Ad Code Manager] ACF Admin ConflictI think the best solution for now is downgrading to 5.0.7, this fixed the issue for me, hopefully Elliot fixes this for 5.0.9!
Forum: Plugins
In reply to: [Ad Code Manager] ACF Admin ConflictAny work arounds for this? I’ve had this for the past two days now, still unsure as to what triggers it to happen.
Forum: Fixing WordPress
In reply to: Admin Panel Disappearing – Frontend Only – Creating My Own ThemeWow, thanks David that, I hadn’t closed the PHP tag in one of my script calls, it still worked though so I didn’t think to check that, thanks again!
Viewing 5 replies - 1 through 5 (of 5 total)