Igor Kromin |   Consultant. Coder. Blogger. Tinkerer. Gamer.

| Views: 1085
I've been noticing that the SEO Metadata Plugin for FlatPress has been removing quotes and other punctuation characters from the metadata. This makes any blog snippets on social media sites (Facebook, Google Plus, etc) appear unprofessional. The plugin can already preserve these characters, it just needs to be configured.

There is a readme file in the plugin directory that describes how to configure this, but for the purposes of illustration, the changes are done in the plugin.seometataginfo.php file. There is a line that defines the $keep_char variable. I set mine to this:
 fp-plugins/seometataginfo/plugin.seometataginfo.php
$keep_char = ",.'";


Now the metadata will contain the punctuation and single quotes.



-i

Have comments or feedback on what I wrote? Please share them below! Found this useful? Consider sending me a small tip.
comments powered by Disqus
Other posts you may like...