• Resolved labucque

    (@labucque)


    Hello,

    This plugin seems to be great but always displays the download button at the top of the page when using Divi. Shortcode is OK but the top button is always there…
    Can you please help me ?
    Thank you ! Keep up the good work ! ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Richard Webster

    (@rwebster85)

    Hello mate if you use a plugin called Code Snippets you can add the following to your site, which will remove the default button output entirely.

    remove_action( 'somdn_load_product_page_content', 'somdn_load_product_page_content_woo' );

    * Edit: it’s one long line.

    Thread Starter labucque

    (@labucque)

    GREAT !!!
    And quick answer… Thank you so much : exactly what I wanted ??
    Really great, I’m Happy !

    Thread Starter labucque

    (@labucque)

    perfect

    Plugin Author Richard Webster

    (@rwebster85)

    ??

    FYI, since you are using Divi, you do not need Code Snippets plugin. Just add the code to your custom code section.

    I’m having this issue as well. Is there a shortcode I can use to put the download button where I want? Also @mandraagora I’m using a code module in the Divi Theme Builder for the product page custom body template to try and get rid of the button and it is not working. The code I’m using is <script> remove_action( 'somdn_load_product_page_content', 'somdn_load_product_page_content_woo' ); </script>. Do you know why?

    Thanks so much!

    Plugin Author Richard Webster

    (@rwebster85)

    Hi Annemarie, the shortcode to get the download button on product pages is [download_now_page]

    Thanks @rwebster85, that works! Now I just have to figure out how to get the code snippet working to get rid of the other one. Cheers.

    Plugin Author Richard Webster

    (@rwebster85)

    Follow my first reply to this thread. Install code snippets, create a new snippet, and paste the code I put in as a single line.

    Fantastic! Worked like a charm. I was hoping to achieve this using the solution @mandraagora suggested above, avoiding yet another Plugin, but I couldn’t get his solution to work. Yours did, so many thanks, once again!

    Plugin Author Richard Webster

    (@rwebster85)

    No probs, Code Snippets is alright ?? And handy if you want/need to make small tweaks.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Download Button with Divi’ is closed to new replies.