This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Deactivate Eicons in Elementor | |
add_action( 'wp_enqueue_scripts', 'js_remove_default_stylesheet', 20 ); | |
function js_remove_default_stylesheet() { | |
// Don't remove it in the backend | |
if ( is_admin() || current_user_can( 'manage_options' ) ) { | |
return; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Replace Eicons with FontAwesome | |
*/ | |
.eicon { | |
display: inline-block; | |
font: normal normal normal 14px/1 FontAwesome; | |
font-size: inherit; | |
text-rendering: auto; | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 } ); | |
}); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* add class .horizontal-scroll to element */ | |
@media (max-width:1024px) { | |
.horizontal-scroll ul.ee-button-group { | |
display:flex; | |
flex-wrap:nowrap; | |
overflow-x:auto; | |
justify-content:flex-start; | |
} | |
.horizontal-scroll ul.ee-button-group li { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Don't use echo in the shortcodes. If you have to, use ob_start() / return ob_get_clean() | |
add_shortcode('test', 'my_test_func'); | |
function my_test_func( $args ) { | |
ob_start(); | |
?> | |
your content / html / etc | |
<?php |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub js_json_api_example() | |
Dim req As MSXML2.ServerXMLHTTP60 | |
Dim apiURL, ret As String | |
Set req = New MSXML2.ServerXMLHTTP60 | |
' Example API: Openweathermap.org | |
apiURL = "https://samples.openweathermap.org/data/2.5/weather?lat=35&lon=139&appid=439d4b804bc8187953eb36d2a8c26a02" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* If #anchor link scrolls to deep -> e.g. heading is hidden by sticky header | |
**/ | |
h2 { | |
/* margin: 20px 0; Let's imagine h2 has margin-top of 20px */ | |
padding-top: 100px; /* new padding-top = height element should be moved down in scroll (e.g. sticky header height) */ | |
margin-top: -80px; /* new margin top = old margin-top - new padding-top */ | |
} |
OlderNewer