• 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

    • This topic was modified 2 years, 8 months ago by ebuege.
Viewing 1 replies (of 1 total)
  • Plugin Support Temyk

    (@webtemyk)

    Hello.

    Show a screenshot of the code in the Woody editor and a screenshot of the result

Viewing 1 replies (of 1 total)
  • The topic ‘get_the_title’ is closed to new replies.