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
| 501 New York | |
| 803 Los Angeles | |
| 602 Chicago | |
| 504 Philadelphia | |
| 506 Boston (Manchester) | |
| 807 San Francisco - Oakland - San Jose | |
| 623 Dallas - Fort Worth | |
| 511 Washington DC (Hagerstown) | |
| 524 Atlanta | |
| 618 Houston |
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
| <script type='text/javascript' src='https://www.gstatic.com/charts/loader.js'></script> | |
| <script type='text/javascript' src='https://www.google.com/jsapi'></script> | |
| <script type='text/javascript'>google.charts.load('42', {'packages':['geochart']}); | |
| google.charts.setOnLoadCallback(drawVisualization); | |
| function drawVisualization() {var data = new google.visualization.DataTable(); | |
| data.addColumn('string', 'Country'); | |
| data.addColumn('number', 'Value'); | |
| data.addColumn({type:'string', role:'tooltip'});var ivalue = new Array(); |
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_filter( 'advq_query_args', 'my_custom_quiz_order' ); | |
| function my_custom_quiz_order( $args ){ | |
| $args['meta_key'] = 'quiz_order'; | |
| $args['orderby'] = 'meta_value_num'; | |
| $args['order'] = 'DESC'; | |
| return $args; | |
| } |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| // All Elated Themes | |
| add_action('admin_enqueue_scripts','kendal_advisor_quiz_fix', 100); | |
| function kendal_advisor_quiz_fix() { | |
| $current_screen = get_current_screen(); | |
| if( $current_screen->id === "advquiz" ) { | |
| wp_deregister_script('eltd-ui-admin'); | |
| wp_dequeue_script('eltd-ui-admin'); | |
| wp_deregister_script('eltdf-ui-admin-skin'); | |
| wp_dequeue_script('eltdf-ui-admin-skin'); |
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_action('adqv_email_submitted', 'advq_create_new_user_from_email'); | |
| function advq_create_new_user_from_email( $email_address ){ | |
| if( null == username_exists( $email_address ) ) { | |
| // Generate the password and create the user | |
| $password = wp_generate_password( 12, false ); | |
| $user_id = wp_create_user( $email_address, $password, $email_address ); | |
| // Set the nickname |
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
| // slow redirect | |
| jQuery('.advq_profile_box').each(function() { | |
| var redirect = jQuery(this).attr('data-redirect'); | |
| jQuery(this).attr('data-slow-redirect', redirect); | |
| jQuery(this).attr('data-redirect', ''); | |
| }); | |
| jQuery('.advq_checkanswers .advq_button').on('click', function() { | |
| setTimeout(function() { | |
| jQuery('.advq_profile_box').each(function() { |
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
| .advq_disabled_button { | |
| pointer-events:all !important; | |
| opacity:1 !important; | |
| } |
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_filter( 'i_world_map_capability', 'my_custom_capability' ); | |
| function my_custom_capability() { | |
| return 'manage_options'; | |
| } |
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('html').on('mousedown', '.bx-viewport a', function() { | |
| var url = jQuery(this).attr('href'); | |
| if( url !== ''){ | |
| window.open( url, jQuery(this).attr('target') ); | |
| } | |
| }); |