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 Penguin update. Making Google Worse than Ever.
Google has released a new update and this time its called Penguin. The days of Panda are over and SEO’s all over the world are very unhappy. Penguin seems to have gone too far making search results less relevant than ever. Goolge says these updates are aimed at cleaning up the spammy results from the…
Penality for ‘Over-Optimized’ websites
On the SWSX event in America, Google’s Spam team member Matt Cutt’s announced about the new changes in Google search results coming in Weeks/months designed to penalize the Over – Optimized Sites. This announcements give shock to the techies & SEO professional. After Spreading this news over the Web the response by the Matt cutt’s…
Google Panda 3.4
Google recently used Twitter to officially announce the release of the latest update to its ranking algorithm, Panda 3.4. This update rolled out on March 24 andis targeting low-quality websites. The update was specifically a refresh to Panda 3.3, so it seems no new signals or algorithm changes were made. What this means is that…