How to display the Post image url?
-
I want to have a function on my homepage (index) where i can display th post url for the visitors. I have a similar code for displaying the post url but also need to display the image url.
The code im using now is:
<h4 style="text-align: center;"><strong><?php $Path=$_SERVER['REQUEST_URI']; $URI='https://gifsec.com'.$Path; ?> <input type="text" value="<?php echo get_permalink(); ?>"></strong></h4>
Can anyone help me with this? You can check out my blogs index and find the feature below the post image!
You can find my blog here: https://gifsec.com/
- The topic ‘How to display the Post image url?’ is closed to new replies.