Zen Follower
- Join Date:
- Jan 2012
- Location:
- New England
- Posts:
- 238
- Plugin Contributions:
- 0
what is the php code to return the url of the current page?
I'm trying to edit the products page so that there is a link under the product image to "See Additional Images" that links to an anchor down where the additional images are. I've tried making the link to #moreimages but instead of just moving down the page it loads the url of my site followed by the anchor and I don't know why... so I need to code it so that it fills in the url of the current page, then the anchor. But I am not a php programmer and I don't know the code. I know it will be ```php
<?php echo [something here],'#moreimages'; ?>