1,723
edits
m |
m |
||
Line 1: | Line 1: | ||
To change an announcement color "in bulk", use the following command;<syntaxhighlight lang="text"> | To change an announcement color "in bulk", use the following command;<syntaxhighlight lang="text"> | ||
UPDATE | UPDATE wp_postmeta | ||
SET | SET meta_value = '#WhatEverHexColor' | ||
WHERE | WHERE meta_key = 'announcement_color'; | ||
NOTE: WhatEverHexColor should be a six character RGB color code. | NOTE: WhatEverHexColor should be a six character RGB color code. | ||
</syntaxhighlight>This can be applied to other values as well. | </syntaxhighlight>This can be applied to other values as well. |