Support » Plugin: Widget CSS Classes » Not showing Predefined Classes (conflict with WP External Links)

  • Resolved FineWebdev

    (@freelancephp)


    Hello Cindy,

    First of all, very nice and usefull plugin!

    I’ve had some reports of predefined classes that will not be shown when the plugin WP External Links is activated. Within your code I can see you have some checks for Widget Logic and Widget Context plugin.

    Would you maybe add one check for the Widget Output Filter which is used by WP External Links?

    To do so, you could add the following code after line 168 of widget-css-classes.class.php:

    // If Widget Output filter is enabled (f.e. by WP External Links plugin), don't use it's callback but the original callback
    elseif ( isset( $widget_obj['_wo_original_callback'] ) ) {
            $widget_opt = get_option( $widget_obj['_wo_original_callback'][0]->option_name );
    }

    Regards,
    Victor

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Not showing Predefined Classes (conflict with WP External Links)’ is closed to new replies.