Skip to content
View marklchaves's full-sized avatar
🏄‍♂️
🏄‍♂️

Block or report marklchaves

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.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

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

Report abuse

Pinned Loading

  1. Example usage of wp_add_inline_scrip... Example usage of wp_add_inline_script loading inline JS after JS library is loaded.
    1
    <?php
    2
    
                  
    3
    /**
    4
     * Example usage of wp_add_inline_script
    5
     *
  2. Reply to Avada Froum Thread: Change ... Reply to Avada Froum Thread: Change Column Order on Mobile https://theme-fusion.com/forums/topic/change-columns-order-on-mobile
    1
    #  Reply to Avada Froum Thread: Change Column Order on Mobile https://theme-fusion.com/forums/topic/change-columns-order-on-mobile 
    2
    
                  
    3
    Thanks for sharing your code, Austern & Alex!
    4
    
                  
    5
    I've used CSS `order` properties with other themes, but not yet with Avada. Your posts gave me inspiration to refactor one of my Avada staggered layout designs as a test.
  3. Popup Maker: Basic template for call... Popup Maker: Basic template for calling jQuery via PHP hook (can use for JavaScript too)
    1
    <?php // Ignore this first line when copying to your child theme's functions.php file.
    2
    
                  
    3
    /**
    4
     * Add custom JavaScript scripts to the footer of your site theme.
    5
     *
  4. Find all forms and flag forms with n... Find all forms and flag forms with no IDs
    1
    let firstNoId = true;
    2
    let forms = [];
    3
    let noIds = [];
    4
    let out = "";
    5
    
                  
  5. Grab a comma separated list of popup... Grab a comma separated list of popup IDs from a specific page's or post's ACF field.
    1
    <?php
    2
    /**
    3
     * PHP to get popup IDs from ACF and render them in a data attribute.
    4
     *
    5
     * This code should be placed in your theme's header.php, footer.php,
  6. Put my go-to menu items in the top-r... Put my go-to menu items in the top-right admin toolbar ;-)
    1
    <?php // Ignore this first line when copying to your child theme's functions.php file.
    2
    
                  
    3
    add_action('admin_bar_menu', function(WP_Admin_Bar $admin_bar) {
    4
    	// Plugins
    5
        $admin_bar->add_menu( array(