Skip to content

Instantly share code, notes, and snippets.


Julian Stark julian-stark

View GitHub Profile
View vba_json_to_exel.vba
Sub js_json_api_example()
Dim req As MSXML2.ServerXMLHTTP60
Dim apiURL, ret As String
Set req = New MSXML2.ServerXMLHTTP60
' Example API:
apiURL = ""
julian-stark / echo_vs_return_in_shortcodes.php
Created Jul 17, 2020
Wordpress shortcode function: echo vs return
View echo_vs_return_in_shortcodes.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 ) {
your content / html / etc
julian-stark / style.css
Last active Jul 2, 2020
Extras for Elementor - Button Group - Horizontal Scroll
View style.css
/* add class .horizontal-scroll to element */
@media (max-width:1024px) {
.horizontal-scroll {
.horizontal-scroll li {
julian-stark / elementor-close-popup-open-popup.js
Last active Jun 28, 2020
Elementor page builder: Close current popup and open new popup
View elementor-close-popup-open-popup.js
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 / Opt-Out for Cookie Notice for GDPR.php
Last active Jun 12, 2019
Opt-Out for Cookie Notice for GDPR
View Opt-Out for Cookie Notice for GDPR.php
julian-stark / replace-eicons-with-font-awesome-in-elementor-templates.css
Created Dec 31, 2018
If you use Elementor Pro for the header, the Eicons font is used for the hamburger icon. This CSS code replaces it with Font Awesome icons.
View replace-eicons-with-font-awesome-in-elementor-templates.css
* 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;
julian-stark / remove-eicons-from-elementor.php
Last active Jul 29, 2020
This is a nicer method to replace Eicons from Elementor. Don't remove it in the backend - Elementor is based on it ;)
View remove-eicons-from-elementor.php
// Deactivate Eicons at Elementor
add_action( 'elementor/frontend/after_enqueue_styles', 'js_dequeue_eicons' );
function js_dequeue_eicons() {
// Don't remove it in the backend
if ( is_admin() || current_user_can( 'manage_options' ) ) {
julian-stark / migrate_wordpress
Created Feb 5, 2018
How to Migrate WordPress To A New Web Host
View migrate_wordpress
Main Steps:
To Search/Replace SQL DB:
Change Prefix: (SQL and Steps after)
julian-stark / linux-usb-stick.txt
Last active Feb 3, 2018 — forked from anonymous/linux-usb-stick.txt
Windows Dateien mit Lixux USB-Stick retten
View linux-usb-stick.txt
You can’t perform that action at this time.