I wanted a tighter integration with my blog and my Google+ stream to avoid having to visit two places.
I have added a little widget which will display the latest posts.
I recently started using the Lightbox 2 WordPress plugin on my Marbella news site to automatically add the zooming overlay effect to certain images. It is really plug & play and works out of the box.
I did encounter however that my pages stopped validating as XHTML 1.1 which is the standard doctype on all sites I develop.
The error in question is due to the square brackets (“[” and “]”) being used to link individual images in one single post together as a gallery under the “rel” attribute. The square brackets are not permitted characters and therefore the W3 Validator spits out the following error message:
character "[" is not allowed in the value of attribute "rel"
It is possible that you violated the naming convention for this attribute. For example, id and name attributes must begin with a letter, not a digit.
To avoid this XHTML 1.1 validation problem simply edit the following line in the Lightbox 2 plugin file named lightbox2.php under the “autoexpand_rel_wlightbox” function:
from:
$replacement = '$1 rel="lightbox['.$post->ID.']">';
to:
$replacement = '$1 rel="lightbox_'.$post->ID.'">';
You should now be able to validate that plugin’s output as XHTML 1.1 with no issues.
My gratitude goes to Ryan Marganti from SoulSizzle Design for taking the time to notify me about my dysfunctional comment form.
Thanks to his email I realised that apparently my blog suffered from an incompatibility between my latest active theme and the excellent spam stopper plugin. This caused all submitted comments to fail. This has now been fixed, well actually even improved a bit.
No wonder I have had no comments for nearly two months… not even spam.
Once more: Thank you Ryan!