@@ 632-640 (lines=9) @@ | ||
629 | </td> |
|
630 | </tr> |
|
631 | <?php endif; |
|
632 | if ( get_header_image() ) : ?> |
|
633 | <tr> |
|
634 | <th scope="row"><?php _e( 'Remove Image' ); ?></th> |
|
635 | <td> |
|
636 | <p><?php _e( 'This will remove the header image. You will not be able to restore any customizations.' ) ?></p> |
|
637 | <?php submit_button( __( 'Remove Header Image' ), 'button', 'removeheader', false ); ?> |
|
638 | </td> |
|
639 | </tr> |
|
640 | <?php endif; |
|
641 | ||
642 | $default_image = get_theme_support( 'custom-header', 'default-image' ); |
|
643 | if ( $default_image && get_header_image() != $default_image ) : ?> |
|
@@ 643-651 (lines=9) @@ | ||
640 | <?php endif; |
|
641 | ||
642 | $default_image = get_theme_support( 'custom-header', 'default-image' ); |
|
643 | if ( $default_image && get_header_image() != $default_image ) : ?> |
|
644 | <tr> |
|
645 | <th scope="row"><?php _e( 'Reset Image' ); ?></th> |
|
646 | <td> |
|
647 | <p><?php _e( 'This will restore the original header image. You will not be able to restore any customizations.' ) ?></p> |
|
648 | <?php submit_button( __( 'Restore Original Header Image' ), 'button', 'resetheader', false ); ?> |
|
649 | </td> |
|
650 | </tr> |
|
651 | <?php endif; ?> |
|
652 | </tbody> |
|
653 | </table> |
|
654 |