1. yasirshailkh's Avatar
    I'm a beginner in wordpress, recently I installed the dokan plugin for my online shop, gave me problems and I read that the solution was add this code

    add_action('wp_enqueue_scripts', 'mgt_dequeue_stylesandscripts',99);

    function mgt_dequeue_stylesandscripts() {
    if ( class_exists( 'woocommerce' ) ) {
    wp_dequeue_style( 'select2' );
    wp_deregister_style( 'select2' );

    wp_dequeue_script( 'select2');
    wp_deregister_script('select2');

    ** } }**

    I am using the handy store template, so I put the code in the file "function", when I use this function, the text-blocks stop working, literally they disappear, and when I remove the code they come back again, how could I solve it?

    the above problem was that I had errors when uploading banners and photos.
    Last edited by gpobernardo; 12-05-2016 at 03:59 AM. Reason: Removed link to webpage.
    12-05-2016 12:12 AM

Similar Threads

  1. Does the 550 come with a memory card? Or has it a built in memory
    By Windows Central Question in forum Ask a Question
    Replies: 3
    Last Post: 12-05-2016, 10:52 PM
  2. More problems in Okie Land!
    By holdum333 in forum Site Feedback & Help
    Replies: 4
    Last Post: 12-05-2016, 03:31 PM
  3. Final Fantasy XV Battle guide: Warp strike your heart out with these tips and tricks
    By WindowsCentral.com in forum Windows Central News Discussion
    Replies: 0
    Last Post: 12-04-2016, 03:11 PM
  4. What is wrong with my laptop?
    By Windows Central Question in forum Ask a Question
    Replies: 2
    Last Post: 12-04-2016, 11:46 AM
  5. How to dominate with Scorch in Titanfall 2: loadouts, kit list, battle tips and more
    By WindowsCentral.com in forum Windows Central News Discussion
    Replies: 0
    Last Post: 12-03-2016, 03:11 PM
LINK TO POST COPIED TO CLIPBOARD