[Resolved] [Plugin: Flexible Posts Widget] Query to update template
Hi – thanks for you plugin, so far I have found it very useful.
I built an alternate template according to your instructions, and it works, but I wanted to update about 25 Flexible Post Widgets to use this new template. I figured I could do this with an update query but it didn’t seem to work.
UPDATE wp_options SET option_value = REPLACE(option_value,'widget.php','my_custom.php') WHERE option_id = 1286 and option_name = 'widget_dpe_fp_widget'
It looks like the query updated the option_value string correctly but reloading the widgets page showed that all my sidebar widgets dropped off. I didn’t think there would be any problem doing this if I only touched that one portion of the string.
- The topic ‘[Resolved] [Plugin: Flexible Posts Widget] Query to update template’ is closed to new replies.