This works:
<?php include(TEMPLATEPATH.'/content.php'); ?>
This produces a ton of gobbledygook on the webpage:
<img src="<?php include(TEMPLATEPATH.'/images/hr.gif'); ?>" />
So does this:
<?php include(TEMPLATEPATH.'/images/hr.gif'); ?>
What can I do besides entering the full http://... url?
This seems to work sometimes, I think:
<?php include('wp-content/themes/mytheme/images/hr.gif'); ?>
This seems to work sometimes, I think:
<?php include('images/hr.gif'); ?>