Skip to content

Instantly share code, notes, and snippets.

View xxxdepy's full-sized avatar

Deepak Kamat xxxdepy

View GitHub Profile
@xxxdepy
xxxdepy / all-in-one-restore.md
Last active December 17, 2022 19:15
Use Restore functionality on All-In One WP Migration without the paid extension

Uploading large files to All-in-One WP Migration *

** without the paid extension

To use this code first upload the .wpress backup file you want to restore in the wp-content > ai1wm-backups folder of the target site, upload it using FTP or a file manager plugin, whichever is easy for you.

Go to the Backups page under the plugin, which is at /wp-admin/admin.php?page=ai1wm_backups

Fire up the Chrome DevTools or dev tools in whichever browser you are using, go to the Console tab and paste the following snippet

@xxxdepy
xxxdepy / checkout-random-products.css
Created October 17, 2020 18:12
Script for Random Products Add to Cart on Shopify Checkout Page
/*
* Add to Cart module for Checkout
*/
.checkout-add-cart-module {
padding: 0px;
background-color: transparent;
margin-top: 30px;
/**
* Okie
*/
.unicorn {
background:linear-gradient(90deg, red, orange, yellow, green, blue, indigo, purple);
}
/* other shit */