shorif2000
Forum Replies Created
-
working now thanks.
how can i place this code in footer so it loads after my jquery
<!-- BEGIN GADWP v4.8.1.3 Universal Tracking - https://deconf.com/google-analytics-dashboard-wordpress/ --> <script type="text/javascript"> (function($){ $(window).load(function() { //Track Downloads $('a').filter(function() { return this.href.match(/.*\.(zip|mp3*|mpe*g|pdf|docx*|pptx*|xlsx*|rar*)(\?.*)?$/); }).click(function(e) { ga('send','event', 'download', 'click', this.href); }); //Track Mailto $('a[href^="mailto"]').click(function(e) { ga('send','event', 'email', 'send', this.href); }); //Track Outbound Links $('a[href^="http"]').filter(function() { if (!this.href.match(/.*\.(zip|mp3*|mpe*g|pdf|docx*|pptx*|xlsx*|rar*)(\?.*)?$/)){ if (this.href.indexOf('spectrumgeo.com') == -1) return this.href; } }).click(function(e) { ga('send','event', 'outbound', 'click', this.href); }); //Track Hashmarks $('a').filter(function() { if (this.href.indexOf('spectrumgeo.com') != -1 || this.href.indexOf('://') == -1) return this.hash; }).click(function(e) { ga('send','event', 'hashmark', 'click', this.href); }); }); })(jQuery); </script>
this is the only mention of jquery in my
functions.php
add_action( 'wp_enqueue_scripts', 'enqueue_child_theme_styles', PHP_INT_MAX); function enqueue_child_theme_styles() { wp_enqueue_script( 'json2'); // required by recent.js for JSON. ie8 wp_enqueue_script( 'prototype_recent', CHILD_TEMPLATE_DIR . '/js/prototype.js', array(), '1.7.2', true ); // required by recent.js for JSON if( !is_front_page() && !is_page('interactive-map') && !is_page('contact-us') && !is_tree(6822) && !is_tree(6765) && !is_tree(6755) && !is_search() && !is_404() && ( (!is_ie()) || is_ie() && get_browser_version() > 8 ) ) wp_enqueue_script( 'recent_pages', CHILD_TEMPLATE_DIR . '/js/recent_pages.js' ); wp_enqueue_script('jquery-ui-accordion'); $data = array('site_url' => __(site_url())); wp_localize_script('custom', 'php_data', $data); wp_enqueue_script( 'custom', CHILD_TEMPLATE_DIR . '/js/custom.js', array(), '1', true ); if(is_front_page()){ wp_enqueue_script( 'mapper', CHILD_TEMPLATE_DIR . '/js/mapper/mapper.js', array(),'2.4', true ); } if(is_404() || is_search()){ wp_enqueue_script( 'gcse', CHILD_TEMPLATE_DIR . '/js/gcse.js',array(),'',true); } wp_enqueue_script( 'jquery-cookie', CHILD_TEMPLATE_DIR . '/js/jquery.cookie.js',array(),'1.4.1',true); }
Forum: Plugins
In reply to: [WP Job Manager] sending mail to applicanti have purchased it, problem solved i hope thank you.
Forum: Plugins
In reply to: [WP Job Manager] sending mail to applicantwhich plugin do i need to buy?
Forum: Plugins
In reply to: [WP Job Manager] sending mail to applicantcan you show me link to download job application plugin?
Forum: Plugins
In reply to: [WP Job Manager] sending mail to applicantI dont have the “Job Application” section. I only have “Job Listings”
same problem here
Forum: Plugins
In reply to: [WP-reCAPTCHA] recaptcha ignored without error messageI am having same problem. if you ignore the recaptcha you can still submit the form.
Forum: Plugins
In reply to: [WP-FFPC] php noticei have over 20 plugins and when i am trying to debug a plugin its hard to do this when there is alot of unwanted notices appearing. when i mean “resolve” i meant fixing the code so it does not produce the PHP Notice
Forum: Plugins
In reply to: [Contact Form 7] Contact Form 7 – Submission was referred to as spamI have changed the from section to
[myName] <[myEmail]>
would this resolve the problem. i dont see the article mentioning anything else.Forum: Plugins
In reply to: [WP Job Manager] use job position as subject in emailit works thanks
Forum: Plugins
In reply to: [WooCommerce] footer not being displayedi had an if statement in wrong file. working now, thanks
Forum: Plugins
In reply to: [WooCommerce] footer not being displayedi had an
if woocommerce return false
on the wrong sidebar.phpForum: Plugins
In reply to: [TwentyTwenty] slider not displaying correctly or renderingparent theme was applying border radius which i had to remove. working now.