Viewing 15 replies - 1 through 15 (of 16 total)
  • Plugin Support gonzalesc

    (@gonzalesc)

    Hi.
    I see you have several errors in your console log.
    Please, deactivate the plugin that origin these errors and try one more time the popup.

    A question, the popup is centered? whats is the position you seted?

    Regards

    Thread Starter INIwebteam

    (@iniwebteam)

    how do i find what errors are in my console log?

    i didnt change the default position of the popup.

    Plugin Support gonzalesc

    (@gonzalesc)

    Hi.
    You must push F11

    In others pages? the popup appears?
    Thanks

    Thread Starter INIwebteam

    (@iniwebteam)

    F11 is full screen?

    the popup works on other websites, but not csctimes.com – only the background shows

    Plugin Support gonzalesc

    (@gonzalesc)

    Hi.
    Is F12

    I thinks you changed the theme. Because it works now.

    Regards

    • This reply was modified 6 years, 4 months ago by gonzalesc.
    Thread Starter INIwebteam

    (@iniwebteam)

    yes, its an issue w/ the theme. Any ideas on what might be the problem?

    Plugin Support gonzalesc

    (@gonzalesc)

    Hi,
    What is the theme? Please, the link to download it.

    Regards

    Thread Starter INIwebteam

    (@iniwebteam)

    its a paid theme

    Plugin Support gonzalesc

    (@gonzalesc)

    Oh, Well.
    Maybe I can see if you activate the theme in your site now. With some popup activated too.

    Regards

    Thread Starter INIwebteam

    (@iniwebteam)

    Great! I switched back to the theme were were using. popup is active, but its not showing correctly on site – only background shows.

    Plugin Support gonzalesc

    (@gonzalesc)

    Hi.

    There is conflict with the JS :
    https://www.csctimes.com/wp-content/themes/newswire/includes/js/jquery-ui-1.8.5.custom.min.js?ver=1.8.5

    If block this script, the popup appears.

    Maybe it must be changed to the oficial JS :
    https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.js

    I will continue doing tests

    Regards

    Plugin Author Damian

    (@timersys)

    Wordpress itself includes that javascript. If your theme can’t use the official provided with wordpress I’m afraid it won’t be compatible.

    Plugin Support gonzalesc

    (@gonzalesc)

    Hi.

    You can try remove the JQuery and JQuery UI in your theme and put the official scripts provided by WordPress.

    To add the official scripts, you can do it in your functions.php

    <?php
    function timersys_custom_js() {
    	wp_enqueue_script( 'jquery' );
    	wp_enqueue_script( 'jquery-ui-widget' );
    	wp_enqueue_script( 'jquery-ui-mouse' );
    	wp_enqueue_script( 'jquery-ui-accordion' );
    	wp_enqueue_script( 'jquery-ui-autocomplete' );
    	wp_enqueue_script( 'jquery-ui-slider' );
    }
    
    add_action( 'wp_enqueue_scripts', 'timersys_custom_js' );
    ?>

    There is several scripts to JQuery UI in this link

    Thanks

    Thread Starter INIwebteam

    (@iniwebteam)

    i put that code in my theme’s functions.php file but the popup doesnt show

    Plugin Support gonzalesc

    (@gonzalesc)

    Hi.
    They in his theme remove Jquery official and put other Jquery, besides put a JQUery UI customized. Before of put the code, you must undo these change in your theme.

    Too you can deregister thoses script with wp_dequeue_script().

    <?php
    function timersys_custom_js() {
    	$jquery_theme = '';
    	$jqueryui_theme = '';
    
    	wp_dequeue_script($jquery_handle);
    	wp_dequeue_script($jqueryui_handle);
    	
    	wp_enqueue_script( 'jquery' );
    	wp_enqueue_script( 'jquery-ui-core' );
    }
    
    add_action( 'wp_enqueue_scripts', 'timersys_custom_js', 1000 );
    ?>

    You must change $jquery_handle by the handle of jquery that has your theme.
    You can read about handle in wp_enqueue_script()

    Regards

    • This reply was modified 6 years, 4 months ago by gonzalesc.
Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘popup not showing’ is closed to new replies.