Skip to content

Instantly share code, notes, and snippets.

View julian-stark's full-sized avatar

Julian Stark julian-stark

View GitHub Profile
@julian-stark
julian-stark / elementor-close-popup-open-popup.js
Last active June 28, 2020 07:58
Elementor page builder: Close current popup and open new popup
jQuery( document ).ready( function( $ ) {
// Let's assume the trigger is a link in div with ID #new-popup-trigger
$( "#new-popup-trigger a" ).click(function() {
// Replace XXX1 with the post id of the current popup
$( "#elementor-popup-modal-XXX1 .dialog-close-button" ).click();
// Replace XXX2 with the post id of the new popup
elementorProFrontend.modules.popup.showPopup( { id: XXX2 } );
});
@julian-stark
julian-stark / Opt-Out for Cookie Notice for GDPR.php
Last active June 12, 2019 06:30
Opt-Out for Cookie Notice for GDPR
@julian-stark
julian-stark / migrate_wordpress
Created February 5, 2018 14:22
How to Migrate WordPress To A New Web Host
Main Steps:
http://www.wpexplorer.com/migrating-wordpress-website/
To Search/Replace SQL DB:
https://github.com/interconnectit/Search-Replace-DB
Change Prefix: (SQL and Steps after)
https://richjenks.com/change-mysql-database-table-prefix/
http://tdot-blog.com/wordpress/6-simple-steps-to-change-your-table-prefix-in-wordpress
@julian-stark
julian-stark / linux-usb-stick.txt
Last active February 3, 2018 13:19 — forked from anonymous/linux-usb-stick.txt
Windows Dateien mit Lixux USB-Stick retten
https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-windows#1
https://unetbootin.github.io/
https://de.wikihow.com/In-Ubuntu-auf-Windows-Dateien-zugreifen
https://forum.ubuntuusers.de/topic/usb-festplatte-unter-ubuntu-einbinden/
https://askubuntu.com/questions/859787/how-to-unmount-and-mount-pen-drive-in-ubuntu-via-command-line