How to do a code in php and have text before it? (wordpress)

So I have this code: the_title()
And I am trying to add some text before it. So, it would end up like this:
PAGE TITLE: (page tile) => PAGE TITLE is what I am trying to add before my code. However, whenever I do that, the code pastes as plain text, like this:
PAGE TITLE: the_title().

I tried using echo before everything, but it is not working! Help, please?

Read more here:: How to do a code in php and have text before it? (wordpress)

Leave a Reply

Your email address will not be published. Required fields are marked *