Join the Webstudio community

Updated 3 weeks ago

Removing HTML from Wordpress GraphQL Response

At a glance
Hey All,

I am trying to use the post.excerpt node on my description so I can provide an excerpt on social media and search engine queries. However, something I ran into is that WP is storing that data in paragraph elements. Is there a way from within Webstudio's expression editor I can clean up the output? Or, do I have to go look for a wordpress plugin, or create my own, to clean up the data from WP's side?

I followed the recommended setup from the tutorial.
Attachment
image.png
Marked as solution
hi, expressions don't have ability to manipulate data, they only select the data you provided
View full solution
O
1 comment
hi, expressions don't have ability to manipulate data, they only select the data you provided
Add a reply
Sign up and join the conversation on Discord