Hide take this course button & show the custom form or render any shortcode in place of that button

Dear Readers 🙂

Please paste this snippets in your wp-admin >> plugins >> editor >> wplms-customizer plugin >> wplms-customizer.php

or use your FTP || Sftp || c-panel to edit the  wplms-customizer plugin >> wplms-customizer.php

copy code from here: https://gist.github.com/madhvendras84/5a4c04a33ea5e5a6f293809eacda1dce

if the course button is hidden only then the shortcode will render at the same place of the take this course button.

refer setting in frontend editor >> settings.

refer: https://share.getcloudapp.com/NQuZOmrO

effects: https://share.getcloudapp.com/jkuKrBP8

 

NOTE: USE SINGLE QUOTE MARK IF THERE IS ANY PARAMETER PASSED IN THE SHORTCODE.

something like this: [contact-form-7 id=’585′ title=’Contact form 1′]

Leave a Reply

Your email address will not be published. Required fields are marked *