Forum Replies Created

Viewing 10 replies - 16 through 25 (of 25 total)
  • Thread Starter Kermit524

    (@kermit524)

    Thanks!
    I did look for it on the website. I am looking over on the site yet again, right now. Can’t find any “contact us” or “support” link. Sorry for being stupid. And also: any idea why my API key would not qualify?

    Thread Starter Kermit524

    (@kermit524)

    Thanks wp.insider! Yes, I just now managed to dequeue the js files so I can add them directly in my build. However for some reason the css files are not dequeued. I probably miss something. Here’s the piece of code out of the function.php file:

    function remove_membershop_calls() {
    	/* Remove Simple membership js and css */
    	wp_dequeue_script( 'jquery.validationEngine-en' );
    	wp_dequeue_script('jquery.validationEngine');
    	wp_dequeue_style( 'swpm.common-css' );
    	wp_dequeue_style('validationEngine.jquery-css');
    }
    add_action( 'wp_enqueue_scripts', 'remove_membershop_calls', 20 );

    Any idea what am I doing wrong?
    Thanks again, and in advance.

    Thread Starter Kermit524

    (@kermit524)

    Thank you all! It is still a mystery how come this url was set by Yoast in the first place, but after some digging I have managed to set a designated image for the homepage, and that, apparently fixed it:
    Homepage edit screen -> Yoast SEO box -> on the box’ left there are three buttons: the traffic lights icon, a settings icon and a social/share icon. clicking on that last icon enables the editing of the page’s social settings. It was rather hard to figure out, but apparently that did the trick.

    Thread Starter Kermit524

    (@kermit524)

    Hi thanks for your replay,
    I am using wp_dequeue_script and wp_dequeue_style functions to remove the 2 css files and the 2 javascript files.
    In the source code, the files are referred like this:

    <link rel='stylesheet' id='swpm.common-css'  href='https://carrier/thewines/wp-content/plugins/simple-membership/css/swpm.common.css?ver=4.5.2' type='text/css' media='all' />
    <link rel='stylesheet' id='validationEngine.jquery-css'  href='https://carrier/thewines/wp-content/plugins/simple-membership/css/validationEngine.jquery.css?ver=4.5.2' type='text/css' media='all' />
    <script type='text/javascript' src='https://carrier/thewines/wp-content/plugins/simple-membership/js/jquery.validationEngine-en.js?ver=4.5.2'></script>
    <script type='text/javascript' src='https://carrier/thewines/wp-content/plugins/simple-membership/js/jquery.validationEngine.js?ver=4.5.2'></script>

    Here’s what’s in my functions.php file:

    function remove_vendor_scripts () {
    wp_deregister_style( 'dashicons' );
    
    wp_dequeue_script( 'swpm.common-css' );
    wp_dequeue_script('validationEngine.jquery-css');
    }
    
    add_action('wp_enqueue_scripts', 'remove_vendor_scripts');

    1. The css files have handlers: swpm.common-css and validationEngine.jquery-css, so I am passing them as arguments for the wp_dequeue_styles() function, but this doesn’t affect the page.
    2. The javascript files don’t have handlers, so I am not sure which is the best way to refer to them for the wp_dequeue_scripts function.

    Currently I don’t have any cache plugin installed.

    Thanks again.
    Michal

    Thread Starter Kermit524

    (@kermit524)

    Problem Solved:
    The Database user didn’t have permissions to delete from the table. I have granted the right permissions and it fixed the issue.

    Thread Starter Kermit524

    (@kermit524)

    Sure! ??

    Thread Starter Kermit524

    (@kermit524)

    Ok, just to make sure that login would not be opssible when the IP is blocked.
    Thanks again! ??

    Thread Starter Kermit524

    (@kermit524)

    Thank! I looked at the new login attempts just now (The list keeps updating), and on this list nothing is blocked.
    But instead of going over everything and blocking the addresses one by one, I went ahead and set it with the options section – blocking any invalid username login and preventing login by “admin”. I really hope that fixes it. Thanks again for your help! ??

    Thread Starter Kermit524

    (@kermit524)

    Ai Anne, thanks for your comment!
    The ztree_install function only included one line to verify that it was called at all.
    But eventually it turned out to be a false alarm. The error message was thrown in fact due to a completely different issue, that was not handled right in my code. I have sorted that one out – and all is working fine!
    Thanks again,
    Michal

    Thread Starter Kermit524

    (@kermit524)

    I am too tired already… I meant off-course:

    <select>
    <option value="0" id="a">myText</option>
    <option value="1" id="b">moreText</option>
    ...
    </select>

Viewing 10 replies - 16 through 25 (of 25 total)