This is a great trick I found today while working on a problem for a client.
What was happening is that wordpress was wrapping her image in paragraph tags and causing it not to float right with text wrapping around it.
The solution was to add this to the functions.php file. (note, make sure you back up your funtions.php file first!)
function my_formatter($content) { $new_content = ''; $pattern_full = '{(\[raw\].*?\[/raw\])}is'; $pattern_contents = '{\[raw\](.*?)\[/raw\]}is'; $pieces = preg_split($pattern_full, $content, -1, PREG_SPLIT_DELIM_CAPTURE); foreach ($pieces as $piece) { if (preg_match($pattern_contents, $piece, $matches)) { $new_content .= $matches[1]; } else { $new_content .= wptexturize(wpautop($piece)); } } return $new_content; } remove_filter('the_content', 'wpautop'); remove_filter('the_content', 'wptexturize'); add_filter('the_content', 'my_formatter', 99);
Now you simply add [raw] and [/raw] tags around the element you are having a problem with.
Google Warning To Non-Mobile Friendly Web Sites
Today one of the sites we work with got a message in their Google Webmaster Tools. The message titled “Fix mobile usability issues found on yoursite.com” basically informs the site own that because “These pages will not be seen as mobile-friendly by Google Search, and will therefore be displayed and ranked appropriately for smartphone users.”…
Google losing market share
Recently posted in the Wall Street Journal, Market researcher Statcounter says Google’s share of U.S. search traffic, excluding mobile devices, declined to 75.3% in December from 77.5% in November, after the maker of the Firefox browser made Yahoo the default search engine. Yahoo YHOO -1.05%’s share of search traffic excluding mobile devices grew to 10%,…
Can good links solve Penguin Problems
In a recent video hangout with Google’s John Mueller, John said that even without using the disavow file or removing bad links, it is possible to recover from a Google Penguin Penalty. So instead of going through all the trouble of removing bad links and creating a disavow file, Google is saying adding good links…