get_the_title
-
I want to use a specific a href link tag as a shortcode but I need to add a dynamic php code in it
my code must be like that to get page title and add it to my e-mail as a subject
<a href="mailto:[email protected]?subject=<?php echo get_the_title(); ?>&body=BLABLA">LIBNK TEXT</a>
PHP or HTML snippets not working.. It shows php as a basic text.. not get the right value
Is anyone there to help me.. Its a bit urgent
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘get_the_title’ is closed to new replies.