Add prefix to link url


I want to add image link on wordpress site which redirect the user to the another page of same url but with different prefix. for example
page url is when user click the image on this page it redirect the user to the url

The following code print the current page url on every post page on site but i want to add “md” prefix in the url

<a href="<?php
?>"><img src="<?php bloginfo('template_url'); ?>/images/sgxx.png">Click Here</a>

Pls suggest the correct code to do this.

, Harendra Singh 6 years 2015-07-14T10:00:44-05:00 0 Answers 86 views 0

Leave an answer