- Revised date: 02/12/2014
Between us [company name] and you [customer name]
| function myprefix_loginpage_custom_link() { | |
| return get_bloginfo( 'url' ); | |
| } | |
| add_filter('login_headerurl','myprefix_loginpage_custom_link'); | |
| function myprefix_change_title_on_logo() { | |
| return 'My Tooltip'; | |
| } | |
| add_filter('login_headertitle', 'myprefix_change_title_on_logo'); |
| <table class="form-table"> | |
| <tr> | |
| <th scope="row">Title</th> | |
| <td></td> | |
| </tr> | |
| </table> |
| //---------------------------------------------- | |
| // Register Error if ID code does not match. | |
| //---------------------------------------------- | |
| function myplugin_check_fields($errors, $sanitized_user_login, $user_email) { | |
| $mystring = $user_email; | |
| $findme = '.edu'; | |
| $pos = strpos($mystring, $findme); |
| <div class="control-group"> | |
| <label class="control-label" for="inputEmail">LinkedIn URL</label> | |
| <div class="controls"> | |
| <input type="text" name="linkedin" id="linkedin" class="input-medium" /> | |
| </div> | |
| </div> | |
| <div class="control-group"> | |
| <label class="control-label" for="inputEmail">Twitter</label> | |
| <div class="controls"> | |
| <div class="input-prepend"> |
| $('.bxslider').bxSlider({ | |
| auto: true, | |
| autoDirection: 'prev', | |
| }); |
| /* Replace superintendent */ | |
| add_action( 'init', 'codex_superintendent_init' ); | |
| /** | |
| * Register a superintendent post type. | |
| * | |
| * @link http://codex.wordpress.org/Function_Reference/register_post_type | |
| */ | |
| function codex_superintendent_init() { | |
| $labels = array( |
| /** | |
| * | |
| * Generate Multiple Pages – Child Pages | |
| * | |
| **/ | |
| $boysTeams = array( | |
| 'Basketball', | |
| 'Baseball', |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| if(function_exists("register_field_group")) | |
| { | |
| register_field_group(array ( | |
| 'id' => 'acf_team-rosters', | |
| 'title' => 'Team Rosters', | |
| 'fields' => array ( | |
| array ( | |
| 'key' => 'field_537e71196bd9b', | |
| 'label' => 'Coach Roster', | |
| 'name' => '', |