Issue with Remove html comments and Robots
-
With ‘Remove html comments’option selected I noticed the entire block of code below was being stripped out, which was breaking the JS on the site.
<!-- ngg_resource_manager_marker --><script type='text/javascript'> /* <![CDATA[ */ var wpcf7 = {"apiSettings":{"root":"https:\/\/squalonet.com.au\/wp-json\/contact-form-7\/v1","namespace":"contact-form-7\/v1"},"recaptcha":{"messages":{"empty":"Please verify that you are not a robot."}}}; /* ]]> */ </script> <script type='text/javascript' src='/wp-content/plugins/contact-form-7/includes/js/scripts.js'></script> <script type='text/javascript'> /* <![CDATA[ */ var mPS2id_params = {"instances":{"mPS2id_instance_0":{"selector":"a[rel='m_PageScroll2id']","autoSelectorMenuLinks":"true","scrollSpeed":1300,"autoScrollSpeed":"true","scrollEasing":"easeInOutExpo","scrollingEasing":"easeInOutCirc","pageEndSmoothScroll":"true","stopScrollOnUserAction":"false","layout":"vertical","offset":0,"highlightSelector":"","clickedClass":"mPS2id-clicked","targetClass":"mPS2id-target","highlightClass":"mPS2id-highlight","forceSingleHighlight":"false","keepHighlightUntilNext":"false","highlightByNextTarget":"false","appendHash":"false","scrollToHash":"false","scrollToHashForAll":"false","scrollToHashDelay":0,"disablePluginBelow":0,"adminDisplayWidgetsId":"true","adminTinyMCEbuttons":"true","unbindUnrelatedClickEvents":"false","normalizeAnchorPointTargets":"false"}},"total_instances":"1","shortcode_class":"_ps2id"}; /* ]]> */ </script> <script type='text/javascript' src='/wp-content/plugins/page-scroll-to-id/js/page-scroll-to-id.min.js'></script> <script type='text/javascript' src='/wp-content/themes/twentysixteen/js/skip-link-focus-fix.js'></script> <script type='text/javascript'> /* <![CDATA[ */ var screenReaderText = {"expand":"expand child menu","collapse":"collapse child menu"}; /* ]]> */ </script> <script type='text/javascript' src='/wp-content/themes/twentysixteen/js/functions.js'></script> <script type='text/javascript' src='/wp-content/plugins/bj-lazy-load/js/bj-lazy-load.min.js'></script> <script type='text/javascript' src='/wp-includes/js/wp-embed.min.js'></script> <script type='text/javascript' src='/wp-content/plugins/slide-anything/owl-carousel/owl.carousel.min.js'></script> <!-- The IP2Location Redirection is using IP2Location LITE geolocation database. Please visit https://lite.ip2location.com for more information. -->
Also the robots.txt file wasn’t being created for me and when importing options from another domain the Host and Sitemap details are not updated to the current domain.
It would also be great if the import options could include which components were active/deactivated.
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Issue with Remove html comments and Robots’ is closed to new replies.