Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #180823

    I 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.exe

    WordPress 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

    #181129

    Hey paulseager!

    Are you sure that file exists?

    Cheers!
    Josue

    #181669

    All 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

    #181739

    Hi!

    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,
    Josue

    #181842

    Josue
    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.

    #181843

    Hi!

    You need to use the full path: http://visionitsystems.ltd.uk/wp-content/uploads/2013/10/visionitlogo.png

    Best regards,
    Josue

    #181847

    Ahhh. now that works – but my menu is still falling into the main content of the page?

    http://visionitsystems.ltd.uk

    #181852

    Oh, 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!
    Josue

    #181860

    Top bloke…. many thanks. One happy client. You are a star!

    #181862

    Glad we could help, let us know if you have any more questions or issues :)

    Regards,
    
Josue

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Big trouble creating a link from an image to .exe file’ is closed to new replies.