Title: Xanthonius's Replies | WordPress.org

---

# Xanthonius

  [  ](https://wordpress.org/support/users/xanthonius/)

 *   [Profile](https://wordpress.org/support/users/xanthonius/)
 *   [Topics Started](https://wordpress.org/support/users/xanthonius/topics/)
 *   [Replies Created](https://wordpress.org/support/users/xanthonius/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/xanthonius/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/xanthonius/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/xanthonius/engagements/)
 *   [Favorites](https://wordpress.org/support/users/xanthonius/favorites/)

 Search replies:

## Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Getting location name from “_location_id” post meta](https://wordpress.org/support/topic/getting-location-name-from-_location_id-post-meta/)
 *  Thread Starter [Xanthonius](https://wordpress.org/support/users/xanthonius/)
 * (@xanthonius)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/getting-location-name-from-_location_id-post-meta/#post-8463411)
 * 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
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Events Manager - Calendar, Bookings, Tickets, and more!] Getting location name from “_location_id” post meta](https://wordpress.org/support/topic/getting-location-name-from-_location_id-post-meta/)
 *  Thread Starter [Xanthonius](https://wordpress.org/support/users/xanthonius/)
 * (@xanthonius)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/getting-location-name-from-_location_id-post-meta/#post-8454184)
 * 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:
    ⌊Database tables⌉
 * Would prefer to use a utility function from the plugin if it’s available?
 * Cheers
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ad Code Manager] ACF Admin Conflict](https://wordpress.org/support/topic/acf-admin-conflict/)
 *  [Xanthonius](https://wordpress.org/support/users/xanthonius/)
 * (@xanthonius)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/acf-admin-conflict/#post-5288473)
 * I 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](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ad Code Manager] ACF Admin Conflict](https://wordpress.org/support/topic/acf-admin-conflict/)
 *  [Xanthonius](https://wordpress.org/support/users/xanthonius/)
 * (@xanthonius)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/acf-admin-conflict/#post-5288469)
 * Any 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](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Admin Panel Disappearing – Frontend Only – Creating My Own Theme](https://wordpress.org/support/topic/admin-panel-disappearing-frontend-only-creating-my-own-theme/)
 *  Thread Starter [Xanthonius](https://wordpress.org/support/users/xanthonius/)
 * (@xanthonius)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/admin-panel-disappearing-frontend-only-creating-my-own-theme/#post-3507524)
 * Wow, 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)