change link redirect

Home Forums Legacy Support Support queries How-to & Troubleshooting change link redirect

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1208
    trapaniettech
    Spectator
    hi, how i change the link to redirect this ? http://prntscr.com/8m4c7n thanks
    #1232
    Anshuman Sahu
    Keymaster
    Please follow these steps to add custom button instead of review curse link : 1. Hide the review course button :

    a. Go to WP Admin -> Appearance -> Customise -> Custom CSS

    b. Add this CSS :

    input.review_course[name="review_course"] {
    display: none;
    }
    .more_course .review_course{margin-top:20px !important;}
      2.  Now add your custom button by addign the given code in your wp-content/plugins/wplms-customizer/wplms-customizer.php file :
    add_action('wplms_course_start_after_timeline','custombuttonnwithcutomlink');
    
    function custombuttonnwithcutomlink(){
    
    echo '<a href="http://www.google.com"><button class="review_course unit_button full button" name="submit_course"></button>'.__('Custom','vibe').'</a>';
    
    
    
    }
     
Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘change link redirect’ is closed to new replies.