telophase: (shikamaru - screw you i'm going home)
telophase ([personal profile] telophase) wrote2009-03-30 01:34 pm
Entry tags:

arg wordpress!

I'm working on a database query in Wordpress, which isn't yet working and I think I've solved at least part of the problem ... SOME of my single quotes are turning into curly quotes. And I can't figure out why. Escaping them doesn't work, as it changes them all to curly end single quotes. Using double quotes and escaping them, much the same result. GAH

ETA: Unfancy Quote plugin. Aaaaaah. :)

[identity profile] tammylee.livejournal.com 2009-03-30 06:56 pm (UTC)(link)
Oooh! useful!
Do you have the php plugin?
http://wordpress.org/extend/plugins/exec-php/

[identity profile] telophase.livejournal.com 2009-03-30 06:57 pm (UTC)(link)
Yup! That's how I'm putting PHP code into a post to test the query. XD

The *next* problem I have to solve is getting the info in the query results into the proper Wordpress tags, and I'm reading up on setup_postdata right now...