External URL
-
Hello. First of all, thanks for this great plugin.
I have a question. I am using a custom field to get a website address. So, in the meta I set this:
<?php
$url = get_field(‘site’);
?>
<p>Website: <?php if( $url ): ?>“><?php endif; ?> <?php the_field(‘site’) ?> <?php if( $url ): ?><?php endif; ?></p>The problem is that when the link appears, repeats the root url of my own website:
https://localhost/wordpress/site_url/
What I am doing wrong? Or is my wp config?
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘External URL’ is closed to new replies.