Hey, that seems to work for the most part. Here’s a sample:
<meta itemprop=”description” content=”I’m a bit of a minimalist when it comes to my wallet, never wanting to come close to having the dreaded” />
Just have to get the encoding right. That’s not showing up here though. It also seems to be tripping over links and images but I think there’s a way to strip those out.
So, if it’s a single post you’re … creating the postdata for that post, then echoing the get_the_excerpt and escaping HTML attributes in the process. Do I have that right?
I’m thrilled it works but I’d also like to learn exactly why it works too ??