Shortcode window not working

Home Forums Legacy Support Support queries How-to & Troubleshooting Shortcode window not working

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #338963
    Physiotutors
    Participant
    Hey, i am trying to debug an issue where the shortcode window/popup doesn't open and other dropdown select fields such as "include in course" or "associated product" do not work. Live site: http://prnt.sc/ytyuh8 Clone site: http://prnt.sc/ytytbs i have cloned my site on a local install and everything works as expected. Can you take a look what is going on on the live site? I will include a temporary login in the next post
    #338964
    Physiotutors
    Participant
    This reply has been marked as private.
    #339196
    Ada
    Participant
    Hi This issue you are facing due to wordpress update. So please Install and Activate from wp-admin > Plugins > Search here “Jquery Migrate Helper plugin” Then add this code in wp-admin > Plugins > editor > Select WPLMS Customizer Plugin > wplms-customizer.php
    
    add_action( 'admin_enqueue_scripts', 'enqueue_jquery_for_select2');
    function enqueue_jquery_for_select2(){
    	wp_enqueue_style('select2', 'https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/css/select2.min.css' );
    	wp_enqueue_script('select2', 'https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/js/select2.min.js', array('jquery') );
    }
    
    #339203
    Physiotutors
    Participant
    Hey this has fixed the dropdown menus however the shortcode popup to insert e.g. accordions, tabs, or video iframe doesn't open. Could you take a look at this as well?
    #339539
    Diana
    Participant
    This reply has been marked as private.
    #339564
    Physiotutors
    Participant
    Thanks! I checked in incognito and it works. However when I use the [iframevideo] shortcode it leaves it empty and doesn't insert the video. We use Vimeo iframes. It only works in the "text editor" not "visual editor"
    #339695
    Diana
    Participant
    Yes, the iframe shortcode you have to add in editor's text mode to make it work Closing this topic now
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Shortcode window not working’ is closed to new replies.