• Hi there!

    I can I create a custom template? Or how can I add the description field to the fancy 2 template?

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor mbrsolution

    (@mbrsolution)

    Hi, unfortunately that feature is not currently available. I have submitted a message to the developers to investigate further your request.

    Kind regards

    Plugin Author mra13

    (@mra13)

    There is a filter hook that you can use to completely override the fancy2 templates output.

    However, it maybe easier for you to just modify the plugin files to make your little modification. You find the code in the following file (look at the “sdm_generate_fancy2_display_output” function in there):

    includes/templates/fancy2/sdm-fancy-2.php

    Thread Starter Michael

    (@flinkthink)

    Thanks for your fast reply.

    I like to have it update compatible. So I think I need to hook in the output. I’ve tried it with this code, but unfortunately it doesn’t work. What I’m doing wrong?

    /* Downloads */
    function custom_download_output($output, $atts){
      $output = 'Test';
      return $output;
    }
    add_filter('sdm_download_shortcode_output', 'custom_download_output', 10, 2);
    Plugin Author mra13

    (@mra13)

    I have created a sample example code in the following page:
    https://simple-download-monitor.com/simple-download-monitor-filter-hook-reference/

    I have tested that code and it works. Maybe that will help you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom Template?’ is closed to new replies.