[Resolved] Links in pages
You need to specify the full path to the file in ‘Family“‘
The function get_page_link(74) does that automatically.
If you put your php file in your current theme/child theme, then you can get the location via
Please see the
Codex Function Reference/get stylesheet directory uri
Hope this helps.
Thanks for the response.
When I use
get_template_directory_uri()it links to the theme folder and not the php page.
You can use something similar to:
<img src="<?php echo get_stylesheet_directory_uri() ?>/images/aternus.png" alt="" title="" width="" height="" />
This is the example that is on the page that I mention in my first post if you need more info.
Your php file can be put in the theme folder and then replace /images/aternus.png above with your php file.
btw I am not sure if it will work to put a php file in an anchor……
- The topic ‘[Resolved] Links in pages’ is closed to new replies.