I have some code in my wordpress installation. I wrote a function to display the post title in a place in my theme. I want to get the html as the post title redirect from my function.
I name the title "A & B". But I get the exact A & B in my theme instead of A & B. What am I doing wrong? Is there any php function for that ?
If I understand you well, you maybe need htmlspecialchars($string) function.