Title: Widget Options
Last modified: August 20, 2016

---

# Widget Options

 *  [cbdyas](https://wordpress.org/support/users/cbdyas/)
 * (@cbdyas)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/widget-options-1/)
 * 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)

 *  [Marventus](https://wordpress.org/support/users/marventus/)
 * (@marventus)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/widget-options-1/#post-2859619)
 * 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.

 * 1 reply
 * 2 participants
 * Last reply from: [Marventus](https://wordpress.org/support/users/marventus/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/widget-options-1/#post-2859619)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
