How to output link with php
-
I need output link in as “https:// + content of the post”
I’m using<a href="<?php echo get_the_content() ?>" rel="details"><?php the_title(); ?></a>
But it outputs “home domain + external link”
How can I do it. Thanks.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to output link with php’ is closed to new replies.