@@ -45,78 +45,78 @@ protected function content_template() {
4545
4646 <!-- background-color -->
4747 <div class="background-color">
48- <h4><?php esc_html_e ( 'Background Color ' , 'kirki ' ); ?> </h4>
48+ <h4><?php esc_html_e ( 'Background Color ' , 'wp-indigo ' ); ?> </h4>
4949 <input type="text" data-default-color="{{ data.default['background-color'] }}" data-alpha="true" value="{{ data.value['background-color'] }}" class="kirki-color-control"/>
5050 </div>
5151
5252 <!-- background-image -->
5353 <div class="background-image">
54- <h4><?php esc_html_e ( 'Background Image ' , 'kirki ' ); ?> </h4>
54+ <h4><?php esc_html_e ( 'Background Image ' , 'wp-indigo ' ); ?> </h4>
5555 <div class="attachment-media-view background-image-upload">
5656 <# if ( data.value['background-image'] ) { #>
5757 <div class="thumbnail thumbnail-image"><img src="{{ data.value['background-image'] }}"/></div>
5858 <# } else { #>
59- <div class="placeholder"><?php esc_html_e ( 'No File Selected ' , 'kirki ' ); ?> </div>
59+ <div class="placeholder"><?php esc_html_e ( 'No File Selected ' , 'wp-indigo ' ); ?> </div>
6060 <# } #>
6161 <div class="actions">
62- <button class="button background-image-upload-remove-button<# if ( ! data.value['background-image'] ) { #> hidden <# } #>"><?php esc_html_e ( 'Remove ' , 'kirki ' ); ?> </button>
63- <button type="button" class="button background-image-upload-button"><?php esc_html_e ( 'Select File ' , 'kirki ' ); ?> </button>
62+ <button class="button background-image-upload-remove-button<# if ( ! data.value['background-image'] ) { #> hidden <# } #>"><?php esc_html_e ( 'Remove ' , 'wp-indigo ' ); ?> </button>
63+ <button type="button" class="button background-image-upload-button"><?php esc_html_e ( 'Select File ' , 'wp-indigo ' ); ?> </button>
6464 </div>
6565 </div>
6666 </div>
6767
6868 <!-- background-repeat -->
6969 <div class="background-repeat">
70- <h4><?php esc_html_e ( 'Background Repeat ' , 'kirki ' ); ?> </h4>
70+ <h4><?php esc_html_e ( 'Background Repeat ' , 'wp-indigo ' ); ?> </h4>
7171 <select {{{ data.inputAttrs }}}>
72- <option value="no-repeat"<# if ( 'no-repeat' === data.value['background-repeat'] ) { #> selected <# } #>><?php esc_html_e ( 'No Repeat ' , 'kirki ' ); ?> </option>
73- <option value="repeat"<# if ( 'repeat' === data.value['background-repeat'] ) { #> selected <# } #>><?php esc_html_e ( 'Repeat All ' , 'kirki ' ); ?> </option>
74- <option value="repeat-x"<# if ( 'repeat-x' === data.value['background-repeat'] ) { #> selected <# } #>><?php esc_html_e ( 'Repeat Horizontally ' , 'kirki ' ); ?> </option>
75- <option value="repeat-y"<# if ( 'repeat-y' === data.value['background-repeat'] ) { #> selected <# } #>><?php esc_html_e ( 'Repeat Vertically ' , 'kirki ' ); ?> </option>
72+ <option value="no-repeat"<# if ( 'no-repeat' === data.value['background-repeat'] ) { #> selected <# } #>><?php esc_html_e ( 'No Repeat ' , 'wp-indigo ' ); ?> </option>
73+ <option value="repeat"<# if ( 'repeat' === data.value['background-repeat'] ) { #> selected <# } #>><?php esc_html_e ( 'Repeat All ' , 'wp-indigo ' ); ?> </option>
74+ <option value="repeat-x"<# if ( 'repeat-x' === data.value['background-repeat'] ) { #> selected <# } #>><?php esc_html_e ( 'Repeat Horizontally ' , 'wp-indigo ' ); ?> </option>
75+ <option value="repeat-y"<# if ( 'repeat-y' === data.value['background-repeat'] ) { #> selected <# } #>><?php esc_html_e ( 'Repeat Vertically ' , 'wp-indigo ' ); ?> </option>
7676 </select>
7777 </div>
7878
7979 <!-- background-position -->
8080 <div class="background-position">
81- <h4><?php esc_html_e ( 'Background Position ' , 'kirki ' ); ?> </h4>
81+ <h4><?php esc_html_e ( 'Background Position ' , 'wp-indigo ' ); ?> </h4>
8282 <select {{{ data.inputAttrs }}}>
83- <option value="left top"<# if ( 'left top' === data.value['background-position'] ) { #> selected <# } #>><?php esc_html_e ( 'Left Top ' , 'kirki ' ); ?> </option>
84- <option value="left center"<# if ( 'left center' === data.value['background-position'] ) { #> selected <# } #>><?php esc_html_e ( 'Left Center ' , 'kirki ' ); ?> </option>
85- <option value="left bottom"<# if ( 'left bottom' === data.value['background-position'] ) { #> selected <# } #>><?php esc_html_e ( 'Left Bottom ' , 'kirki ' ); ?> </option>
86- <option value="right top"<# if ( 'right top' === data.value['background-position'] ) { #> selected <# } #>><?php esc_html_e ( 'Right Top ' , 'kirki ' ); ?> </option>
87- <option value="right center"<# if ( 'right center' === data.value['background-position'] ) { #> selected <# } #>><?php esc_html_e ( 'Right Center ' , 'kirki ' ); ?> </option>
88- <option value="right bottom"<# if ( 'right bottom' === data.value['background-position'] ) { #> selected <# } #>><?php esc_html_e ( 'Right Bottom ' , 'kirki ' ); ?> </option>
89- <option value="center top"<# if ( 'center top' === data.value['background-position'] ) { #> selected <# } #>><?php esc_html_e ( 'Center Top ' , 'kirki ' ); ?> </option>
90- <option value="center center"<# if ( 'center center' === data.value['background-position'] ) { #> selected <# } #>><?php esc_html_e ( 'Center Center ' , 'kirki ' ); ?> </option>
91- <option value="center bottom"<# if ( 'center bottom' === data.value['background-position'] ) { #> selected <# } #>><?php esc_html_e ( 'Center Bottom ' , 'kirki ' ); ?> </option>
83+ <option value="left top"<# if ( 'left top' === data.value['background-position'] ) { #> selected <# } #>><?php esc_html_e ( 'Left Top ' , 'wp-indigo ' ); ?> </option>
84+ <option value="left center"<# if ( 'left center' === data.value['background-position'] ) { #> selected <# } #>><?php esc_html_e ( 'Left Center ' , 'wp-indigo ' ); ?> </option>
85+ <option value="left bottom"<# if ( 'left bottom' === data.value['background-position'] ) { #> selected <# } #>><?php esc_html_e ( 'Left Bottom ' , 'wp-indigo ' ); ?> </option>
86+ <option value="right top"<# if ( 'right top' === data.value['background-position'] ) { #> selected <# } #>><?php esc_html_e ( 'Right Top ' , 'wp-indigo ' ); ?> </option>
87+ <option value="right center"<# if ( 'right center' === data.value['background-position'] ) { #> selected <# } #>><?php esc_html_e ( 'Right Center ' , 'wp-indigo ' ); ?> </option>
88+ <option value="right bottom"<# if ( 'right bottom' === data.value['background-position'] ) { #> selected <# } #>><?php esc_html_e ( 'Right Bottom ' , 'wp-indigo ' ); ?> </option>
89+ <option value="center top"<# if ( 'center top' === data.value['background-position'] ) { #> selected <# } #>><?php esc_html_e ( 'Center Top ' , 'wp-indigo ' ); ?> </option>
90+ <option value="center center"<# if ( 'center center' === data.value['background-position'] ) { #> selected <# } #>><?php esc_html_e ( 'Center Center ' , 'wp-indigo ' ); ?> </option>
91+ <option value="center bottom"<# if ( 'center bottom' === data.value['background-position'] ) { #> selected <# } #>><?php esc_html_e ( 'Center Bottom ' , 'wp-indigo ' ); ?> </option>
9292 </select>
9393 </div>
9494
9595 <!-- background-size -->
9696 <div class="background-size">
97- <h4><?php esc_html_e ( 'Background Size ' , 'kirki ' ); ?> </h4>
97+ <h4><?php esc_html_e ( 'Background Size ' , 'wp-indigo ' ); ?> </h4>
9898 <div class="buttonset">
9999 <input {{{ data.inputAttrs }}} class="switch-input screen-reader-text" type="radio" value="cover" name="_customize-bg-{{{ data.id }}}-size" id="{{ data.id }}cover" <# if ( 'cover' === data.value['background-size'] ) { #> checked="checked" <# } #>>
100- <label class="switch-label switch-label-<# if ( 'cover' === data.value['background-size'] ) { #>on <# } else { #>off<# } #>" for="{{ data.id }}cover"><?php esc_html_e ( 'Cover ' , 'kirki ' ); ?> </label>
100+ <label class="switch-label switch-label-<# if ( 'cover' === data.value['background-size'] ) { #>on <# } else { #>off<# } #>" for="{{ data.id }}cover"><?php esc_html_e ( 'Cover ' , 'wp-indigo ' ); ?> </label>
101101 </input>
102102 <input {{{ data.inputAttrs }}} class="switch-input screen-reader-text" type="radio" value="contain" name="_customize-bg-{{{ data.id }}}-size" id="{{ data.id }}contain" <# if ( 'contain' === data.value['background-size'] ) { #> checked="checked" <# } #>>
103- <label class="switch-label switch-label-<# if ( 'contain' === data.value['background-size'] ) { #>on <# } else { #>off<# } #>" for="{{ data.id }}contain"><?php esc_html_e ( 'Contain ' , 'kirki ' ); ?> </label>
103+ <label class="switch-label switch-label-<# if ( 'contain' === data.value['background-size'] ) { #>on <# } else { #>off<# } #>" for="{{ data.id }}contain"><?php esc_html_e ( 'Contain ' , 'wp-indigo ' ); ?> </label>
104104 </input>
105105 <input {{{ data.inputAttrs }}} class="switch-input screen-reader-text" type="radio" value="auto" name="_customize-bg-{{{ data.id }}}-size" id="{{ data.id }}auto" <# if ( 'auto' === data.value['background-size'] ) { #> checked="checked" <# } #>>
106- <label class="switch-label switch-label-<# if ( 'auto' === data.value['background-size'] ) { #>on <# } else { #>off<# } #>" for="{{ data.id }}auto"><?php esc_html_e ( 'Auto ' , 'kirki ' ); ?> </label>
106+ <label class="switch-label switch-label-<# if ( 'auto' === data.value['background-size'] ) { #>on <# } else { #>off<# } #>" for="{{ data.id }}auto"><?php esc_html_e ( 'Auto ' , 'wp-indigo ' ); ?> </label>
107107 </input>
108108 </div>
109109 </div>
110110
111111 <!-- background-attachment -->
112112 <div class="background-attachment">
113- <h4><?php esc_html_e ( 'Background Attachment ' , 'kirki ' ); ?> </h4>
113+ <h4><?php esc_html_e ( 'Background Attachment ' , 'wp-indigo ' ); ?> </h4>
114114 <div class="buttonset">
115115 <input {{{ data.inputAttrs }}} class="switch-input screen-reader-text" type="radio" value="scroll" name="_customize-bg-{{{ data.id }}}-attachment" id="{{ data.id }}scroll" <# if ( 'scroll' === data.value['background-attachment'] ) { #> checked="checked" <# } #>>
116- <label class="switch-label switch-label-<# if ( 'scroll' === data.value['background-attachment'] ) { #>on <# } else { #>off<# } #>" for="{{ data.id }}scroll"><?php esc_html_e ( 'Scroll ' , 'kirki ' ); ?> </label>
116+ <label class="switch-label switch-label-<# if ( 'scroll' === data.value['background-attachment'] ) { #>on <# } else { #>off<# } #>" for="{{ data.id }}scroll"><?php esc_html_e ( 'Scroll ' , 'wp-indigo ' ); ?> </label>
117117 </input>
118118 <input {{{ data.inputAttrs }}} class="switch-input screen-reader-text" type="radio" value="fixed" name="_customize-bg-{{{ data.id }}}-attachment" id="{{ data.id }}fixed" <# if ( 'fixed' === data.value['background-attachment'] ) { #> checked="checked" <# } #>>
119- <label class="switch-label switch-label-<# if ( 'fixed' === data.value['background-attachment'] ) { #>on <# } else { #>off<# } #>" for="{{ data.id }}fixed"><?php esc_html_e ( 'Fixed ' , 'kirki ' ); ?> </label>
119+ <label class="switch-label switch-label-<# if ( 'fixed' === data.value['background-attachment'] ) { #>on <# } else { #>off<# } #>" for="{{ data.id }}fixed"><?php esc_html_e ( 'Fixed ' , 'wp-indigo ' ); ?> </label>
120120 </input>
121121 </div>
122122 </div>
0 commit comments