 
	
		
		
		
		
			
- 
		AuthorPosts
- 
		
			
				
October 25, 2013 at 10:01 pm #180823I have recently been asked to convert a simple html site to wordpress and cannot create a simple link to a downloadable .exe file stored on the same server. The site is 
 http://visionitsystems.ltd.uk and the .exe file resides at: http://visionitsystems.ltd.uk/exe_files/visionit.exeWordPress is being very clever and suggesting the page/post does not exist and directs me to the default 404 page of the theme. How do I get around this please, or am I just being stupid!@ Many thanks in advance October 27, 2013 at 2:29 am #181129Hey paulseager! Are you sure that file exists? Cheers! 
 JosueOctober 28, 2013 at 5:16 pm #181669All sorted…. I was being stupid. Now I have a corrected path to the file it does work – although the client has asked me to link the header logo to the same .exe file. Can this be done please? The link is: http://visionitsystems.ltd.uk/visionIit.exe October 28, 2013 at 7:32 pm #181739Hi! Sure, open header.php, go to line 153: 
 echo avia_logo(AVIA_BASE_URL.'images/layout/logo.png', false, 'strong');Replace it by this: 
 echo "<a href='http://visionitsystems.ltd.uk/visionIit.exe'><img src='YOUR_LOGO_PATH'></a>";Best regards, 
 JosueOctober 28, 2013 at 10:50 pm #181842Josue 
 Sorry to bother you again…
 This does not seem to work – it displays a missing image icon and knocks the menu down out of the header div.
 I replaced ‘YOUR_LOGO-PATH’ with ‘images/layout/logo.png’ thinking that might draw in the image – but it still displays missing image icon?The client is not that bothered in having it working – so happy to leave it there. Thanks for your reply though. October 28, 2013 at 10:57 pm #181843Hi! You need to use the full path: http://visionitsystems.ltd.uk/wp-content/uploads/2013/10/visionitlogo.png Best regards, 
 JosueOctober 28, 2013 at 11:03 pm #181847Ahhh. now that works – but my menu is still falling into the main content of the page? October 28, 2013 at 11:08 pm #181852Oh, i forgot you must add the .class logo the hyperlink: echo "<a href='http://visionitsystems.ltd.uk/visionIit.exe' class='logo'><img src='http://visionitsystems.ltd.uk/wp-content/uploads/2013/10/visionitlogo.png'></a>";Cheers! 
 JosueOctober 28, 2013 at 11:24 pm #181860Top bloke…. many thanks. One happy client. You are a star! October 28, 2013 at 11:24 pm #181862Glad we could help, let us know if you have any more questions or issues :) Regards, 
 Josue
- 
		AuthorPosts
- The topic ‘Big trouble creating a link from an image to .exe file’ is closed to new replies.
