• Is it possible to edit widget options (before_widget, after_widget, before_title, after_title) of a specific instance of a widget?

Viewing 1 replies (of 1 total)
  • Hi.
    AFAIK, it is not possible, but you could target the specific widget using either:
    1. jQuery (Javascript) and the wrap() function to add code before and after the div in question;
    2. A PHP Regex expression to capture that widget’s HTML code, and then adding the additional code around it. Since HTML output is likely to vary through time, I would recommend the first solution.
    LMK if that works for you and I’ll make a JSFiddle for you. Oh, don’t forget to share a link to your site.
    Cheers!

Viewing 1 replies (of 1 total)

The topic ‘Widget Options’ is closed to new replies.