I hereby claim:
- I am chuckreynolds on github.
- I am chuckreynolds (https://keybase.io/chuckreynolds) on keybase.
- I have a public key whose fingerprint is 5D77 7FD4 D61C F075 EC92 97C5 C8E1 4D91 7714 E0E8
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| <!-- For most inputs, you should remove autocorrect and autocapitalize --> | |
| <input type="(your input type)" autocapitalize="off" autocorrect="off"> | |
| <!-- Email --> | |
| <input type="email"> | |
| <!-- Phone number --> | |
| <input type="tel"> | |
| <!-- Some numeric input, like credit card number or ZIP code --> |
| <input type="text" title="email" required pattern="[^@]+@[^@]+.[a-zA-Z]{2,6}" /> |
| if (defined('WPSEO_VERSION')) { | |
| add_filter( 'wpseo_use_page_analysis', '__return_false' ); | |
| } |
| function jquery_cdn() { | |
| if (!is_admin()) { | |
| wp_deregister_script('jquery'); | |
| wp_register_script('jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js', false, '1.8.3'); | |
| wp_enqueue_script('jquery'); | |
| } | |
| } | |
| add_action('init', 'jquery_cdn'); |
| <?php | |
| function rkv_remove_columns( $columns ) { | |
| // remove the Yoast SEO columns | |
| unset( $columns['wpseo-score'] ); | |
| unset( $columns['wpseo-title'] ); | |
| unset( $columns['wpseo-metadesc'] ); | |
| unset( $columns['wpseo-focuskw'] ); |
| <?php | |
| $args = array( | |
| // Normal query goes here // | |
| 'no_found_rows' => true, // counts posts, remove if pagination required | |
| 'update_post_term_cache' => false, // grabs terms, remove if terms required (category, tag...) | |
| 'update_post_meta_cache' => false, // grabs post meta, remove if post meta required | |
| ); |
| /* Use WP-CLI instead https://developer.wordpress.org/cli/commands/search-replace/ */ | |
| SET @oldsite='http://oldsite.com'; | |
| SET @newsite='http://newsite.com'; | |
| UPDATE wp_options SET option_value = replace(option_value, @oldsite, @newsite) WHERE option_name = 'home' OR option_name = 'siteurl'; | |
| UPDATE wp_posts SET post_content = replace(post_content, @oldsite, @newsite); | |
| UPDATE wp_links SET link_url = replace(link_url, @oldsite, @newsite); | |
| UPDATE wp_postmeta SET meta_value = replace(meta_value, @oldsite, @newsite); | |
| /* only uncomment next line if you want all your current posts to post to RSS again as new */ |
| function _straps_replace_howdy( $wp_admin_bar ) { | |
| $my_account=$wp_admin_bar->get_node('my-account'); | |
| $newtitle = str_replace( 'Howdy,', 'Logged in as, ', $my_account->title ); | |
| $wp_admin_bar->add_node( array( | |
| 'id' => 'my-account', | |
| 'title' => $newtitle, | |
| ) ); | |
| } | |
| add_filter( 'admin_bar_menu', '_straps_replace_howdy' ); |
| add_filter( 'enable_post_format_ui', '__return_false' ); |