i need a one format like the_permalink
for add read more link in the text
but this is a php and not work in the wordpress editor
i’m need 1 format for use in word press editor
<a href=ââ.get_permalink().ââ rel=ânofollowâ><span>check this</span></a>
the_permalink Not work in wordpress editor for use
in text?????
how can i do ???
can i add link in text to read more ?
You wrap it in
<?php
tags so the PHP preprocessor can render it:I’m not sure if you need the
echo
there, so if it doesn’t work, get rid ofecho
and it should print out just fine.