Title: Doesn&#039;t work with Genesis Widget Column Classes
Last modified: September 1, 2016

---

# Doesn't work with Genesis Widget Column Classes

 *  Resolved [digitalmediaperth](https://wordpress.org/support/users/digitalmediaperth/)
 * (@digitalmediaperth)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-genesis-widget-column-classes/)
 * Hi
 * Thank you for the amazing plugin.
 * Just a quick question, is there a way to get this plugin working with Genesis
   Widget Column Classes?
 * Genesis Widget Column Classes adds a css class to widgets e.g. ‘one-half’ etc.
 * Any help is much appreciated.
 * Thanks!
 * [https://wordpress.org/plugins/wp-page-widget/](https://wordpress.org/plugins/wp-page-widget/)

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

 *  Plugin Author [CodeAndMore](https://wordpress.org/support/users/codeandmore/)
 * (@codeandmore)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-genesis-widget-column-classes/#post-7483381)
 * We will check that, thanks for reporting.
 *  [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-genesis-widget-column-classes/#post-7483384)
 * Little bit of info:
 * I am using the `dynamic_sidebar_params` filter to add classes just like the Widget
   CSS Classes plugin.
 *  [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-genesis-widget-column-classes/#post-7483393)
 * Ok found the problem.
 * The filter `widget_display_callback` is called after `dynamic_sidebar_params`
   so when I do my logic the logic for this plugin hasn’t been done yet.
 * So basically the wrong instance of the widget is returned (example: widget_text
   instead of widget_2_text)
 * I could apply the `widget_display_callback` filter in my `dynamic_sidebar_params`
   hook but I have a strong feeling this could break other compatibilities… any 
   thoughts are welcome.
 *  [Thanh Sang Nguyen](https://wordpress.org/support/users/ntsasng/)
 * (@ntsasng)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/doesnt-work-with-genesis-widget-column-classes/#post-7483536)
 * Hi there.
    Please try again with updated version and let me know if that works.
 *  [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/doesnt-work-with-genesis-widget-column-classes/#post-7483537)
 * Notice: Trying to get property of non-object in ***/wp-content/plugins/wp-page-
   widget/wp-page-widgets.php on line 1303
 *  [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/doesnt-work-with-genesis-widget-column-classes/#post-7483538)
 * Also checked the code. It could be that DB references change in time.
    I wouldn’t
   go for a hard-coded solution.
 * I checked the functionality and usage of the `widget_display_callback` filter
   and it seems safe to use. Plus it will probably make it compatible with more 
   plugins.
    I’ll release an update for this asap (after testing a bit more)
 *  [Thanh Sang Nguyen](https://wordpress.org/support/users/ntsasng/)
 * (@ntsasng)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/doesnt-work-with-genesis-widget-column-classes/#post-7483553)
 * Hi **Jory**.
    Which solution hard-coded did you mention? We are looking forward
   to see your update.
 *  [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/doesnt-work-with-genesis-widget-column-classes/#post-7483554)
 * Hi ntsasng,
 * I mean the whole `sidebar_params` function you’ve added for compat. If anything
   changes this compat change won’t work anymore.
 * I’ve added the `widget_display_callback` to my latest dev.
    If you can find the
   time, could you test this for your environment aswell? For me this works like
   a charm.
 * [https://github.com/JoryHogeveen/genesis-widget-column-classes/tree/dev](https://github.com/JoryHogeveen/genesis-widget-column-classes/tree/dev)
 * Specific commit:
    [https://github.com/JoryHogeveen/genesis-widget-column-classes/pull/2/commits/461e6463a05400bf028b1574393aaeada1f901c7](https://github.com/JoryHogeveen/genesis-widget-column-classes/pull/2/commits/461e6463a05400bf028b1574393aaeada1f901c7)
 * Let me know!
 *  [Jory Hogeveen](https://wordpress.org/support/users/keraweb/)
 * (@keraweb)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/doesnt-work-with-genesis-widget-column-classes/#post-8255416)
 * Hi [@ntsasng](https://wordpress.org/support/users/ntsasng/) and [@codeandmore](https://wordpress.org/support/users/codeandmore/),
 * Version 1.2 is compatible with your plugin.
    [https://wordpress.org/plugins/genesis-widget-column-classes/changelog/](https://wordpress.org/plugins/genesis-widget-column-classes/changelog/)
 * It applies the `widget_display_callback` filter in the `sidebar_params` hook.
    -  This reply was modified 9 years, 7 months ago by [Jory Hogeveen](https://wordpress.org/support/users/keraweb/).
 *  Plugin Author [CodeAndMore](https://wordpress.org/support/users/codeandmore/)
 * (@codeandmore)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/doesnt-work-with-genesis-widget-column-classes/#post-9257664)
 * Thanks Jory, please check with the latest version of our plugin to see if they
   are still compatible. Thanks!

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

The topic ‘Doesn't work with Genesis Widget Column Classes’ is closed to new replies.

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

 * 10 replies
 * 4 participants
 * Last reply from: [CodeAndMore](https://wordpress.org/support/users/codeandmore/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/doesnt-work-with-genesis-widget-column-classes/#post-9257664)
 * Status: resolved