Home Forums Technical Support How can I add plugin magnific-popup on everywhere?

Topic Resolution: Resolved

This topic contains 9 replies, has 3 voices, and was last updated by  Louis Alviss 1 year, 2 months ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #402

    Now I use this code in funtion.php (wr-nitro-child):

    function wr_nitro_child_enqueue_scripts() {
    wp_enqueue_style( ‘wr-nitro-child-style’, get_stylesheet_directory_uri() . ‘/style.css’ );
    <span style=”color: red;”>wp_enqueue_script( ‘magnific-popup2’ , get_template_directory_uri() . ‘/assets/3rd-party/magnific-popup/jquery-magnific-popup.min.js’, array(jquery), false, true );</span>
    }
    add_action( ‘wp_enqueue_scripts’, ‘wr_nitro_child_enqueue_scripts’, 1000000000 );

    #411

    Hi,

    You just need to add this code inside this function

    wp_enqueue_script( 'magnific-popup' );

    Best regards,
    Richard

    #426

    function wr_nitro_child_enqueue_scripts() {
    wp_enqueue_style( ‘wr-nitro-child-style’, get_stylesheet_directory_uri() . ‘/style.css’ );
    wp_enqueue_script( ‘magnific-popup’ );
    }
    add_action( ‘wp_enqueue_scripts’, ‘wr_nitro_child_enqueue_scripts’, 1000000000 );

    It doesn’t work.

    #436

    Hi,

    Could you please kindly provide the site login info and FTP credential to help us try ?

    Thank you.

    #449

    Yes. Where can I send?

    #455

    Hi,

    You can attach it to your message and check the “Set as private reply” option before submit.

    Thank you.

    #466
    This reply has been marked as private.
    #495

    Hi,
    Sorry for the late, I have fixed this issue for you, please check.

    Cheers,
    Richard

    #522

    Hi,

    Thank you.

    #536

    Hello,

    We are happy to see that problem solved 🙂

    We would be happy if you share your experience of using the product and the support quality you received. You can rate our product by going to the “Downloads” tab in Themeforest.

    This ticket will be closed because the issue is solved. Please kindly open up new tickets for additional questions.

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘How can I add plugin magnific-popup on everywhere?’ is closed to new replies.