Putting in Footer an html file, but it is not displayed
Permalink 1 user found helpful
Hi there,
I have an html file that I want to put in the footer. I have already uploaded the file to themes/images and modified the path, so as the footer.php finds the file. However, it is not displayed.
Please any help, what am I doing wrong?
Thanks for any help!!!!
I have an html file that I want to put in the footer. I have already uploaded the file to themes/images and modified the path, so as the footer.php finds the file. However, it is not displayed.
Please any help, what am I doing wrong?
Thanks for any help!!!!
Hi,
Thanks for your help! I have just found out a solution for this!
I had an image in the footer with 790x43 and wanted to add links such as Data policy, disclaimer, Contact, etc.
So, I modified the image and converted it into html with links, but it wasn't displayed when uploaded and modified the path in the footer.php, because I had an error in the HTML code.
Thanks for your help again!!!!
Thanks for your help! I have just found out a solution for this!
I had an image in the footer with 790x43 and wanted to add links such as Data policy, disclaimer, Contact, etc.
So, I modified the image and converted it into html with links, but it wasn't displayed when uploaded and modified the path in the footer.php, because I had an error in the HTML code.
Thanks for your help again!!!!
your answer solved my question. thank you.
Thank you so much!!! This helped me too!! big smiles from me
Are you trying to place an image in the footer.php or replace the footer with another file?
You mention you have an html file to put in the footer and placed it in themes images. So, I think you have an image you want displayed on the footer of your site.. Correct?
If this is an image - can it be added using file manager and placed on the footer as an image block?
If there is no area for an image and you need to place it in the footer.php file - the link will need to be prepended with some php to get the root of the themes directory.
<?php echo $this->getThemePath();?>
This is the root of the themes directory so your complete path would be:
src="<?php echo $this->getThemePath();?>/images/myimage.png"