How to get url in original language in content?
-
Hi,
I’ve got a url in the content that needs to link to the original language, because of a conflict with the DK PDF plugin. The code for the link is as follows:
<?php echo esc_url(add_query_arg('pdf', $post->ID)); ?>
Is there a function I can use in which I can place
add_query_arg('pdf', $post->ID)
in order to get the url to the original language or the language of my choosing?Kind regards,
Arjen
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to get url in original language in content?’ is closed to new replies.