WordPress.org

Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #22058, comment 62


Ignore:
Timestamp:
09/13/2016 11:50:14 AM (4 years ago)
Author:
cdog
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22058, comment 62

    v2 v3  
    2121Or WP-CLI:
    2222
    23 `$ wp theme mod set background_repeat repeat-x`
     23{{{
     24$ wp theme mod set background_repeat repeat-x
     25}}}
    2426
    2527To test default settings:
    2628
    27 `$ wp theme mod remove background_size background_position_x background_position_y background_repeat background_attachment`
     29{{{
     30$ wp theme mod remove background_size background_position_x background_position_y background_repeat background_attachment
     31}}}
    2832
    2933This could be further improved by adding predefined presets which set the background options automatically and toggle the visibility of controls based on user choices. Looking forward for some input. Thanks!