This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// http://www.gravityhelp.com/forums/topic/mathematics-to-gravity-forms | |
add_action('gform_pre_submission', 'ch_total_quiz_values'); | |
function ch_total_quiz_values ($form) { | |
// change the number 20 here to your form ID | |
// if this is not form 20, don't do any processing | |
if($form['id'] != 3) | |
return $form; | |
// otherwise ... | |
$score = 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function rgt_custom_dashboard_logo(){ | |
echo '<style type="text/css"> | |
h1 a { | |
background-image:url('.get_stylesheet_directory_uri().'/images/put-your-logo-filename-here.gif) !important; | |
} | |
</style>'; | |
} | |
add_action('login_head', 'rgt_custom_dashboard_logo'); |