maduroblanco

Unregistered less info
149 reputation
16
bio website
location
age
visits member for 3 years, 4 months
seen Feb 27 '11 at 19:39

Dec
18
awarded  Notable Question
Aug
17
awarded  Self-Learner
May
30
awarded  Popular Question
Feb
24
revised hide Wordpress 3.1 admin menu
added 57 characters in body
Feb
24
answered hide Wordpress 3.1 admin menu
Jan
12
revised Changing widget options via the functions.php when there are no hooks
added 3 characters in body
Jan
12
accepted Changing the comments link produced by the get_comments_link() and get_comments_pagenum_link() functions
Jan
12
revised Changing widget options via the functions.php when there are no hooks
Improved the sense of the title and main question
Jan
12
comment Changing widget options via the functions.php when there are no hooks
I hadn't realised you could filter a specific named option using add_filter('option_name_widget-some-widget', ... Interesting. However, in the meantime I've come up with what seems to be an elegant (and tested) solution (see my answer).
Jan
12
revised Changing widget options via the functions.php when there are no hooks
edited body
Jan
11
answered Changing widget options via the functions.php when there are no hooks
Jan
11
revised Changing widget options via the functions.php when there are no hooks
deleted 27 characters in body
Jan
11
revised Changing widget options via the functions.php when there are no hooks
added 212 characters in body; edited title; deleted 17 characters in body
Jan
11
comment Changing widget options via the functions.php when there are no hooks
The idea is to alter any particular widget's settings without either having to alter its core code or having to do it manually. This would be extremely useful in many situations--user interactions, time, context, etc. Many widgets do not come with any useful hooks for example--by directly altering their settings in the database much of this can be overcome. I think I have outlined an efficient way of doing it, but I just don't know how to select a particular setting in a serialized array when there are multiple occurrences of the same widget.
Jan
11
revised Changing widget options via the functions.php when there are no hooks
edited title
Jan
11
revised Changing widget options via the functions.php when there are no hooks
deleted 67 characters in body; added 10 characters in body
Jan
11
revised Changing widget options via the functions.php when there are no hooks
added 4 characters in body
Jan
11
asked Changing widget options via the functions.php when there are no hooks
Dec
21
accepted How to correctly call custom field dates into a posts_where filter using SQL statements
Dec
20
awarded  Teacher