Title: [Plugin: Widget Logic] WidgetLogic &amp; wp-geolocation
Last modified: August 19, 2016

---

# [Plugin: Widget Logic] WidgetLogic & wp-geolocation

 *  [edmidor](https://wordpress.org/support/users/edmidor/)
 * (@edmidor)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-widget-logic-widgetlogic-wp-geolocation/)
 * I would like to display widgets based on visitor’s Country. There’s this [wp-geolocation plugin](http://www.wp-geolocation.com/)
   but it only displays the data with shortcodes, without conditions.
 * Any idea how to join these two plugin? – the total will be much more then just
   a sum of components

Viewing 1 replies (of 1 total)

 *  [alanft](https://wordpress.org/support/users/alanft/)
 * (@alanft)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-widget-logic-widgetlogic-wp-geolocation/#post-1750658)
 * Doesn’t look like it’s possible, sorry. The data that the wp-geolocation plugin
   fetches sits inside javascript by the look of it, and the PHP code that widget
   logic executes won’t be able to make use of that.
 * unless anyone can think of a clever hack?

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Widget Logic] WidgetLogic & wp-geolocation’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/widget-logic_c8dde5.svg)
 * [Widget Logic](https://wordpress.org/plugins/widget-logic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/widget-logic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/widget-logic/)
 * [Active Topics](https://wordpress.org/support/plugin/widget-logic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/widget-logic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/widget-logic/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [alanft](https://wordpress.org/support/users/alanft/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-widget-logic-widgetlogic-wp-geolocation/#post-1750658)
 * Status: not resolved