You should create Child Theme
Copy header.php from Raindrops to Child Theme
and customize,
from
<?php
/**
* Conditional Switch html headding element
*
* example
* raindrops_site_title( " add some text" );
*
*/
echo raindrops_site_title( );
to
<?php
/**
* Conditional Switch html headding element
*
* example
* raindrops_site_title( " add some text" );
*
*/
echo raindrops_site_title( );
?>
<a href="https://example.com"><img src="https://example.com/images/twitter.png" width="50" /></a>
<!-- your html -->
<?php
The creation method of a Child Theme
Child theme name:mysite
Creation of – theme holder
wp-content/themes/mysite
Creation of – stylesheet
style.css is created in the
wp-content/themes/mysite/style.css
The contents are as follows.
Creation of a style sheet
style.css
/*
Theme Name: mysite
Author: Your name
Author URI: https://yoursite.com
Version: 0.1
Template:raindrops
*/
Usually, when making a child theme, it is explained that the style of a parent theme is imported as follows, but in rained Rops, it is unnecessary.
the child theme is detected and it imports automatically.
/* Raindrops No need import rules like below*/
@import url('../twentyten/style.css');
make file functions.php
ver1.200 ~
<?php
add_action( 'switch_theme', 'puddle_uninstall' );
function puddle_uninstall(){
delete_option("raindrops_theme_settings");
}
?>
This description is intended to use in a child theme, and change settings of Raindrops, if you uninstall, delete the configuration changes of the parent theme.
If you did not delete, you may be when you install the new Raindrops, correct, it is not displayed by default.
Finish.