• Resolved Ray Burtoff

    (@rburtoff)


    I want to update my Raindrops theme to the latest version, but when I do the grey striped bars at the top and bottom of the theme don’t appear anymore. I have no child themes, so I’m not sure why this is happening. Any suggestions?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author nobita

    (@nobita)

    Hi rburtoff

    Sorry

    ver 1.239

    Raindrops header image ( site title background image ) and footer background image is removed

    In order to display the image of the previous, please do the following settings

    Dashboard / Appearance / child theme name options

    Change value from none to header.png at Header background image

    Change value from none to header.png at Footer background image

    Change value from none to h2.png at Widget Title Background Image

    Thank you

    Hi Nobita,

    I have experienced weird behaviour when setting the header/footer image in my child template: when I go to the upload form and upload an image it appears correctly in the preview box and the image appears also on my site. However, when i press the “save” button (not only in the image box but when I save any other setting) the image disappears as it would have been never uploaded. What can be wrong? Can i set the header image manuály somehow?

    John

    Theme Author nobita

    (@nobita)

    I detect it is Raindrops Bug

    Thank you for pointing out.

    I will fixed next version Raindrops.

    Quick Fix below

    Open functions.php and add page first

    <?php
    /*------------- add codes start-----------------*/
    if ( !function_exists( 'raindrops_heading_image_validate' ) ) {
    
    	function raindrops_heading_image_validate( $input ) {
    
    		if ( preg_match( '/[^(a-z|0-9|_|-|\.)]+/si', $input ) ) {
    
    			return raindrops_warehouse_clone( 'raindrops_heading_image' );
    		}
    		return $input;
    	}
    
    }
    
    if ( !function_exists( 'raindrops_footer_image_validate' ) ) {
    
    	function raindrops_footer_image_validate( $input ) {
    
    		global $raindrops_options;
    
    		if ( preg_match( '/[^(a-z|0-9|_|-|\.)]+/si', $input ) ) {
    
    			return raindrops_warehouse_clone( 'raindrops_footer_image' );
    		}
    		return $input;
    	}
    
    }
    
    if ( !function_exists( 'raindrops_header_image_validate' ) ) {
    
    	function raindrops_header_image_validate( $input ) {
    
    		if ( preg_match( '/[^(a-z|0-9|_|-|\.)]+/si', $input ) ) {
    
    			return raindrops_warehouse_clone( 'raindrops_header_image' );
    		}
    		return $input;
    	}
    
    }
    /*------------- add codes end-----------------*/
    /**
     * functions and constants for Raindrops theme
     *
     *
     * @package Raindrops
     * @since Raindrops 0.1
     */
    if ( !defined( 'ABSPATH' ) ) {
    
    	exit;
    }

    Thank you.

    @rburtoff

    Sorry my mistake

    Hi Nobita,

    Thanks for the quick answer. I’ve added the workaround code to my child function.php and it works.

    John

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Update Removes Header/Footer Graphics’ is closed to new replies.