{"id":560801,"date":"2007-05-08T16:14:07","date_gmt":"2007-05-08T16:14:07","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/pass-the_title-into-variable\/"},"modified":"2016-08-18T22:52:07","modified_gmt":"2016-08-18T22:52:07","slug":"pass-the_title-into-variable","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/pass-the_title-into-variable\/","title":{"rendered":"Pass the_title() into variable"},"content":{"rendered":"<p>Does anyone know of a way to get the value of the_title() into a variable.<\/p>\n<p>I&#8217;d like to do some conditional formatting based on whether different words appear in the post title.<\/p>\n","protected":false},"template":"","class_list":["post-560801","topic","type-topic","status-closed","hentry","topic-tag-variable"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/560801","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/560801\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=560801"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}