Title: Post Title Rendered
Last modified: November 10, 2016

---

# Post Title Rendered

 *  [jrwstudio](https://wordpress.org/support/users/jrwstudio/)
 * (@jrwstudio)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/post-title-rendered/)
 * Hi
 * I’d like to get a post title as a plain string.
 * Currently using:
 * post.title.rendered
 * Which is working great when I output to HTML,
 * but I would also like to get the title as a plain string without the character
   encoding, so
 * string = “Hyphen – in my post title’s”
 * would be
 * string = “Hyphen – in my post title’s”
 * Have you any advice on how to do this please? I’m not sure if I need to do some
   decoding in JavaScript or access the title differently.
 * P.s. my specific need is to include the post title when building up social media
   URL’s, and the & are causing problems.
 * Many Thanks
    JRW

The topic ‘Post Title Rendered’ is closed to new replies.

 * ![](https://ps.w.org/rest-api/assets/icon-256x256.png?rev=1346297)
 * [WordPress REST API (Version 2)](https://wordpress.org/plugins/rest-api/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rest-api/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rest-api/)
 * [Active Topics](https://wordpress.org/support/plugin/rest-api/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rest-api/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rest-api/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [jrwstudio](https://wordpress.org/support/users/jrwstudio/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/post-title-rendered/)
 * Status: not resolved