use php code in the text ( add read more link in text) wordpress

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

Read More

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 ?

Related posts

Leave a Reply

1 comment

  1. You wrap it in <?php tags so the PHP preprocessor can render it:

    <a href=”<?php echo get_permalink(); ?>” rel=”nofollow”><span>check this</span></a>
    

    I’m not sure if you need the echo there, so if it doesn’t work, get rid of echo and it should print out just fine.