I am trying to get the the my posts title in my single.php in an unencoded format. I have tried using the_title();
, the_title_attribute();
and html_entity_decode(the_title());
however all still encode characters like &.
Can someone tell me what the correct syntax is to use?