simonwheatley
Member
Posted 7 months ago #
You need to strip slashes from your option values when you echo them into the admin screens, and again when you echo them for the actual widget and template tag. Try entering <h2 class="widget-title"> in "Before / after title:" to see the undesired effect currently. You can use the PHP function stripslashes.
I would like it if you also allowed an option to use the default sidebar before/after title and before/after widget HTML, rather than having to specify it again in the options.
http://wordpress.org/extend/plugins/wordpress-popular-posts/
Ikki24
Member
Posted 7 months ago #
Hi Simon,
Another user reported this not long ago. The fix has been already included on the next version of Wordpress Popular Posts (soon to be released).
About the default markup issue, I've also taken care of that so don't worry ;)
Gersprenz
Member
Posted 4 months ago #
Hmm, this problem still exists with the acutal version.
Ikki24
Member
Posted 3 months ago #
Hi Gersprenz,
Please download this file and replace the one you have in the wordpress-popular-posts directory. Then, go to your Wordpress Popular Posts Administration Page, delete all backslashes and resubmit the form. You should find that the stray backslash goes away.