Support » Plugin: Download Monitor » Edit dlm_download from front end

  • Resolved gordonlangley


    Hello – I’ve been updating Download Monitor and Page Addon, tip-toeing through my template customisations in the child theme. You gave me some code before that allowed me edit each download from the front-end. This has stopped working for me. If I add you code the download page doesn’t load properly + the formatting breaks. Could you advise me what the code should be?

    Here’s the orginal ticket:

    Here’s the original code:

    edit_post_link( 'Edit Download', '', '', $dlm_download->id );

    Many thanks


Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Barry Kooij


    Hey Gordon,

    Assuming the $dlm_download variable is still correct, this should work:

    edit_post_link( 'Edit Download', '', '', $dlm_download->get_id() );

    Kind Regards,

    Barry Kooij

    Thread Starter gordonlangley


    Fantastic – worked a treat.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Edit dlm_download from front end’ is closed to new replies.