/** * Converts a string to make it suitable for use in a title tag. * * Similar to <slug_name>, but keeps spaces. * * @return The sanitized string */ function sanitize_title_text($string) { $sanitized_text = strip_special_chars($string); $sanitized_text = replace_chars($sanitized_text, $replacements = array('&' => 'and', '&' => 'and', '/' => '-', 'Dr ' => 'Dr. ')); return $sanitized_text; }
<meta property="og:description" content="Find the latest GrokNation clothing, including "I'm With Mayim" tees and sweaters. Shop Mayim Bialik inspired products today - only available at CZND. "/> <meta name="description" content="Find the latest GrokNation clothing, including "I'm With Mayim" tees and sweaters. Shop Mayim Bialik inspired products today - only available at CZND. "> <?php } elseif (is_page(2493) || has_term('bethenny-frankel', 'product_cat')) { ?> <!-- bf page --> <?php if (is_single()) { ?> <title>Bethenny Frankel | <?php bloginfo('name'); ?> </title> <meta property="og:title" content="<?php echo strip_special_chars(get_the_title()); ?> "/> <meta property="og:url" content="<?php echo get_page_link(); ?> "/> <meta property="og:image" content="<?php echo $img_src ? $img_src : 'http://cznd.co/wp-content/themes/cznd/og-image-cznd-2.jpg'; ?> " /> <?php } else { ?> <title>Bethenny Frankel Products | Flowy Tees, Trendy Notebooks</title> <meta property="og:title" content="Bethenny Frankel Products | Flowy Tees, Trendy Notebooks"/>