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′]

Was this article helpful?

Related Articles

2 Comments

  1. Vijayanv

    Hi ,
    may i know the difference between take a course and apply for course. because take a course need payment. but apply for course send notification for approval then student can access entire section. please reply..

  2. fdittmar

    .single-course .widget.pricing form input.course_button.full.button {display: none;}

    does not delete the button on my site…

Leave A Comment?