-
AuthorPosts
-
October 2, 2018 at 9:57 am #1016952
Morning,
Yesterday I made the following site live for my client http://www.events-intelligence.com/
He has now come back to me with a list of html queries that I really don’t understand. (see attached) I build WP website but I am not a developer which is why i love using Enfold for my sites.
Could you help me sort out his requests? I have dealt with the “build site” issue but not surew about RSS and all the other queries.I look forward to hearing form you shortly
Kimhe has sent me this
Can we delete the references to build site in the HTML header, tidy up the RSS (there is none), and delete the comments about theme (assume these are unnecessary, and provide attack vectors),Also why is there API access to the site (https://www.events-intelligence.com/wp-json/) spits back a JSON file
Can you also delete the author/admin page – the API’s refer to an obsolete part of the site – e.g. if you issue a GET to the following URL https://www.events-intelligence.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.events-intelligence.com%2F you get the following link back amongst all the other bumpf – https://www.events-intelligence.com/author/admin/. Please delete this and other unused pages.
html as follows:
<head>
<meta charset=”UTF-8″>
<meta name=”robots” content=”index, follow”><!– mobile setting –>
<meta name=”viewport” content=”width=device-width, initial-scale=1, maximum-scale=1″><!– Scripts/CSS and wp_head hook –>
<title>A Build Site: Events Intelligence – Growing exhibitions through data</title>
<link rel=”dns-prefetch” href=”//s.w.org”>
<link rel=”alternate” type=”application/rss+xml” title=”A Build Site: Events Intelligence » Feed” href=”https://www.events-intelligence.com/feed/”>
<link rel=”alternate” type=”application/rss+xml” title=”A Build Site: Events Intelligence » Comments Feed” href=”https://www.events-intelligence.com/comments/feed/”>
<link rel=”alternate” type=”application/rss+xml” title=”A Build Site: Events Intelligence » Home Comments Feed” href=”https://www.events-intelligence.com/home-2/feed/”><!– google webfont font replacement –>
<script type=”text/javascript” async=”” src=”https://www.google-analytics.com/analytics.js”></script><script type=”text/javascript”>
if(!document.cookie.match(/aviaPrivacyGoogleWebfontsDisabled/)){
(function() {
var f = document.createElement(‘link’);f.type = ‘text/css’;
f.rel = ‘stylesheet’;
f.href = ‘//fonts.googleapis.com/css?family=Lato:300,400,700%7COswald’;
f.id = ‘avia-google-webfont’;document.getElementsByTagName(‘head’)[0].appendChild(f);
})();
}
</script><link type=”text/css” rel=”stylesheet” href=”//fonts.googleapis.com/css?family=Lato:300,400,700%7COswald” id=”avia-google-webfont”>
<script type=”text/javascript”>
window._wpemojiSettings = {“baseUrl”:”https:\/\/s.w.org\/images\/core\/emoji\/11\/72×72\/”,”ext”:”.png”,”svgUrl”:”https:\/\/s.w.org\/images\/core\/emoji\/11\/svg\/”,”svgExt”:”.svg”,”source”:{“concatemoji”:”https:\/\/www.events-intelligence.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=4.9.8″}};
!function(a,b,c){function d(a,b){var c=String.fromCharCode;l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,a),0,0);var d=k.toDataURL();l.clearRect(0,0,k.width,k.height),l.fillText(c.apply(this,b),0,0);var e=k.toDataURL();return d===e}function e(a){var b;if(!l||!l.fillText)return!1;switch(l.textBaseline=”top”,l.font=”600 32px Arial”,a){case”flag”:return!(b=d([55356,56826,55356,56819],[55356,56826,8203,55356,56819]))&&(b=d([55356,57332,56128,56423,56128,56418,56128,56421,56128,56430,56128,56423,56128,56447],[55356,57332,8203,56128,56423,8203,56128,56418,8203,56128,56421,8203,56128,56430,8203,56128,56423,8203,56128,56447]),!b);case”emoji”:return b=d([55358,56760,9792,65039],[55358,56760,8203,9792,65039]),!b}return!1}function f(a){var c=b.createElement(“script”);c.src=a,c.defer=c.type=”text/javascript”,b.getElementsByTagName(“head”)[0].appendChild(c)}var g,h,i,j,k=b.createElement(“canvas”),l=k.getContext&&k.getContext(“2d”);for(j=Array(“flag”,”emoji”),c.supports={everything:!0,everythingExceptFlag:!0},i=0;i<j.length;i++)c.supports[j[i]]=e(j[i]),c.supports.everything=c.supports.everything&&c.supports[j[i]],”flag”!==j[i]&&(c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&c.supports[j[i]]);c.supports.everythingExceptFlag=c.supports.everythingExceptFlag&&!c.supports.flag,c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.everything||(h=function(){c.readyCallback()},b.addEventListener?(b.addEventListener(“DOMContentLoaded”,h,!1),a.addEventListener(“load”,h,!1)):(a.attachEvent(“onload”,h),b.attachEvent(“onreadystatechange”,function(){“complete”===b.readyState&&c.readyCallback()})),g=c.source||{},g.concatemoji?f(g.concatemoji):g.wpemoji&&g.twemoji&&(f(g.twemoji),f(g.wpemoji)))}(window,document,window._wpemojiSettings);
</script><script src=”https://www.events-intelligence.com/wp-includes/js/wp-emoji-release.min.js?ver=4.9.8″ type=”text/javascript” defer=””></script>
<style type=”text/css”>
img.wp-smiley,
img.emoji {
display: inline !important;
border: none !important;
box-shadow: none !important;
height: 1em !important;
width: 1em !important;
margin: 0 .07em !important;
vertical-align: -0.1em !important;
background: none !important;
padding: 0 !important;
}
</style>
<link rel=”stylesheet” id=”avia-merged-styles-css” href=”https://www.events-intelligence.com/wp-content/uploads/dynamic_avia/avia-merged-styles-c14a0af1d687c05c1dcc32792cc2249f.css” type=”text/css” media=”all”>
<script type=”text/javascript” src=”https://www.events-intelligence.com/wp-includes/js/jquery/jquery.js?ver=1.12.4″></script>
<script type=”text/javascript” src=”https://www.events-intelligence.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1″></script>
<link rel=”https://api.w.org/” href=”https://www.events-intelligence.com/wp-json/”>
<link rel=”EditURI” type=”application/rsd+xml” title=”RSD” href=”https://www.events-intelligence.com/xmlrpc.php?rsd”>
<link rel=”wlwmanifest” type=”application/wlwmanifest+xml” href=”https://www.events-intelligence.com/wp-includes/wlwmanifest.xml”>
<meta name=”generator” content=”WordPress 4.9.8″>
<link rel=”canonical” href=”https://www.events-intelligence.com/”>
<link rel=”shortlink” href=”https://www.events-intelligence.com/”>
<link rel=”alternate” type=”application/json+oembed” href=”https://www.events-intelligence.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.events-intelligence.com%2F”>
<link rel=”alternate” type=”text/xml+oembed” href=”https://www.events-intelligence.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwww.events-intelligence.com%2F&format=xml”>
<!– Global site tag (gtag.js) – Google Analytics –>
<script async=”” src=”https://www.googletagmanager.com/gtag/js?id=UA-28528641-10″></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag(‘js’, new Date());gtag(‘config’, ‘UA-28528641-10′);
</script><link rel=”profile” href=”http://gmpg.org/xfn/11″>
<link rel=”alternate” type=”application/rss+xml” title=”A Build Site: Events Intelligence RSS2 Feed” href=”https://www.events-intelligence.com/feed/”>
<link rel=”pingback” href=”https://www.events-intelligence.com/xmlrpc.php”>
<!–[if lt IE 9]><script src=”https://www.events-intelligence.com/wp-content/themes/enfold/js/html5shiv.js”></script><![endif]–>
<link rel=”icon” href=”http://www.events-intelligence.com/wp-content/uploads/2018/09/ei-16×16.png” type=”image/png”>
<style type=”text/css”>.recentcomments a{display:inline !important;padding:0 !important;margin:0 !important;}</style><!– To speed up the rendering and to display the site as fast as possible to the user we include some styles and scripts for above the fold content inline –>
<script type=”text/javascript”>’use strict’;var avia_is_mobile=!1;if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&’ontouchstart’ in document.documentElement){avia_is_mobile=!0;document.documentElement.className+=’ avia_mobile ‘}
else{document.documentElement.className+=’ avia_desktop ‘};document.documentElement.className+=’ js_active ‘;(function(){var e=[‘-webkit-‘,’-moz-‘,’-ms-‘,”],n=”;for(var t in e){if(e[t]+’transform’ in document.documentElement.style){document.documentElement.className+=’ avia_transform ‘;n=e[t]+’transform’};if(e[t]+’perspective’ in document.documentElement.style)document.documentElement.className+=’ avia_transform3d ‘};if(typeof document.getElementsByClassName==’function’&&typeof document.documentElement.getBoundingClientRect==’function’&&avia_is_mobile==!1){if(n&&window.innerHeight>0){setTimeout(function(){var e=0,o={},a=0,t=document.getElementsByClassName(‘av-parallax’),i=window.pageYOffset||document.documentElement.scrollTop;for(e=0;e<t.length;e++){t[e].style.top=’0px’;o=t[e].getBoundingClientRect();a=Math.ceil((window.innerHeight+i-o.top)*0.3);t[e].style[n]=’translate(0px, ‘+a+’px)’;t[e].style.top=’auto’;t[e].className+=’ enabled-parallax ‘}},50)}}})();</script><style type=”text/css”>
@font-face {font-family: ‘entypo-fontello’; font-weight: normal; font-style: normal;
src: url(‘https://www.events-intelligence.com/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.eot’);
src: url(‘https://www.events-intelligence.com/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.eot?#iefix’) format(’embedded-opentype’),
url(‘https://www.events-intelligence.com/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.woff’) format(‘woff’),
url(‘https://www.events-intelligence.com/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.ttf’) format(‘truetype’),
url(‘https://www.events-intelligence.com/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello.svg#entypo-fontello’) format(‘svg’);
} #top .avia-font-entypo-fontello, body .avia-font-entypo-fontello, html body [data-av_iconfont=’entypo-fontello’]:before{ font-family: ‘entypo-fontello’; }
</style><!–
Debugging Info for Theme support:Theme: Enfold
Version: 4.4.1
Installed: enfold
AviaFramework Version: 4.7
AviaBuilder Version: 0.9.5
aviaElementManager Version: 1.0.1
ML:256-PU:42-PLA:5
WP:4.9.8
Compress: CSS:all theme files – JS:all theme files
Updates: disabled
PLAu:5
–>
</head>October 2, 2018 at 2:02 pm #1017066Hey bauchope,
Here is how to remove the theme debug info
If you need further assistance please let us know.
Best regards,
VictoriaOctober 4, 2018 at 2:37 pm #1017914Hi Victoria,
nothing seems to be attached. Can you send it again?
Kim
October 4, 2018 at 2:39 pm #1017918Victoria,
actually I can see what is attached now but not quite sure what part of this needs doing. Also can you guide me through the adding of coding into the php? Lastt time I tried that on another site it broke the site.
KimOctober 8, 2018 at 3:55 am #1018778Hi,
You can add the snippet in the functions.php file.
remove_action('wp_head','avia_debugging_info',1000); remove_action('admin_print_scripts','avia_debugging_info',1000);
Post the login details in the private field if you need assistance adding the code.
Best regards,
IsmaelOctober 8, 2018 at 8:41 am #1018845This reply has been marked as private.October 8, 2018 at 7:37 pm #1019164Hi Kim,
On, but credentials did not work for me. Could you please update the credentials?
Best regards,
VictoriaOctober 16, 2018 at 2:46 pm #1022212This reply has been marked as private.October 16, 2018 at 4:34 pm #1022251Hi,
I’ve added the code in the functions.php file. That will remove the debugging info. Please note that this modification is not update proof because it will get overwritten when you update the theme, so you need to use a child theme.
// https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#why-child-theme
Regarding the “wp-json” API, you can disable that with a plugin but it may break plugins or functions that relies on the API data.
// https://wordpress.org/plugins/disable-wp-rest-api/
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.