WordPress.org

Support

Support » Plugins and Hacks » Delightful Downloads » external download links

external download links

  • I have recently installed wordpress on a new site and I have dd installed on another site. I imported the downloads to my new site and all my posts containing the download links. Everything seemed to be working properly but when I click the download button on the new site, it says wordpress error, file doesn’t exist.

    I checked the downloads and the download url points to the old site, which is how I want it. Any help would be appreciated.

    http://wordpress.org/plugins/delightful-downloads/

Viewing 1 replies (of 1 total)
  • I found a temporary solution, I replaced the following code in functions.php

    function dedo_download_link( $id ) {
    	 return home_url( '?ddownload=' . $id );

    to

    function dedo_download_link( $id ) {
    	 return ( 'http://myoldsite.com?ddownload=' . $id );

    This works, but I would like to be able to have a mixture of internal downloads and external downloads in the future.

Viewing 1 replies (of 1 total)
  • The topic ‘external download links’ is closed to new replies.
Skip to toolbar