First let's make sure HB is updated. Open up terminal for the following steps.
$ brew update
First let's make sure HB is updated. Open up terminal for the following steps.
$ brew update
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>Title</title> | |
| <link href="stylesheets/main.css" rel="stylesheet" /> | |
| </head> | |
| <body> | |
| <header> | |
| <hgroup> |
| <script> | |
| jQuery( document ).ready(function() { | |
| jQuery(".et_bloom_submit_subscription").click(function(){ | |
| var form = jQuery(this).parent(), error = 0; | |
| var name_val = form.find(".et_bloom_subscribe_name input").val(); | |
| if(name_val.trim() == '') { | |
| form.find(".et_bloom_subscribe_name input").addClass('et_bloom_warn_field'); | |
| error = 1; |
| <?php | |
| // SHOW YOAST PRIMARY CATEGORY, OR FIRST CATEGORY | |
| $category = get_the_category(); | |
| $useCatLink = true; | |
| // If post has a category assigned. | |
| if ($category){ | |
| $category_display = ''; | |
| $category_link = ''; | |
| if ( class_exists('WPSEO_Primary_Term') ) |
| <?php | |
| function strip_word_html($text, $allowed_tags = '<b><i><sup><sub><em><strong><u><br>') | |
| { | |
| mb_regex_encoding('UTF-8'); | |
| //replace MS special characters first | |
| $search = array('/‘/u', '/’/u', '/“/u', '/”/u', '/—/u'); | |
| $replace = array('\'', '\'', '"', '"', '-'); | |
| $text = preg_replace($search, $replace, $text); | |
| //make sure _all_ html entities are converted to the plain ascii equivalents - it appears | |
| //in some MS headers, some html entities are encoded and some aren't |
| <!DOCTYPE html> | |
| <html lang="en-US"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <meta name="robots" content="noodp, noydir" /> | |
| <link rel="dns-prefetch" href="//cdnjs.cloudflare.com"> | |
| <link rel="canonical" href="http://mysite.com/" /> | |
| <link rel="stylesheet" href="http://mysite.com/style.css" type="text/css" /> |