201 <?php |
201 <?php |
202 if ( current_theme_supports( 'custom-header', 'video' ) ) { |
202 if ( current_theme_supports( 'custom-header', 'video' ) ) { |
203 _e( 'Click “Add new image” to upload an image file from your computer. Your theme works best with an image that matches the size of your video — you’ll be able to crop your image once you upload it for a perfect fit.' ); |
203 _e( 'Click “Add new image” to upload an image file from your computer. Your theme works best with an image that matches the size of your video — you’ll be able to crop your image once you upload it for a perfect fit.' ); |
204 } elseif ( $width && $height ) { |
204 } elseif ( $width && $height ) { |
205 printf( |
205 printf( |
206 /* translators: %s: header size in pixels */ |
206 /* translators: %s: Header size in pixels. */ |
207 __( 'Click “Add new image” to upload an image file from your computer. Your theme works best with an image with a header size of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ), |
207 __( 'Click “Add new image” to upload an image file from your computer. Your theme works best with an image with a header size of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ), |
208 sprintf( '<strong>%s × %s</strong>', $width, $height ) |
208 sprintf( '<strong>%s × %s</strong>', $width, $height ) |
209 ); |
209 ); |
210 } elseif ( $width ) { |
210 } elseif ( $width ) { |
211 printf( |
211 printf( |
212 /* translators: %s: header width in pixels */ |
212 /* translators: %s: Header width in pixels. */ |
213 __( 'Click “Add new image” to upload an image file from your computer. Your theme works best with an image with a header width of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ), |
213 __( 'Click “Add new image” to upload an image file from your computer. Your theme works best with an image with a header width of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ), |
214 sprintf( '<strong>%s</strong>', $width ) |
214 sprintf( '<strong>%s</strong>', $width ) |
215 ); |
215 ); |
216 } else { |
216 } else { |
217 printf( |
217 printf( |
218 /* translators: %s: header height in pixels */ |
218 /* translators: %s: Header height in pixels. */ |
219 __( 'Click “Add new image” to upload an image file from your computer. Your theme works best with an image with a header height of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ), |
219 __( 'Click “Add new image” to upload an image file from your computer. Your theme works best with an image with a header height of %s pixels — you’ll be able to crop your image once you upload it for a perfect fit.' ), |
220 sprintf( '<strong>%s</strong>', $height ) |
220 sprintf( '<strong>%s</strong>', $height ) |
221 ); |
221 ); |
222 } |
222 } |
223 ?> |
223 ?> |