Thanks Chris – it’s these two occurrences of this ‘text/javascript’ script – appears to come from Cloudflare? I’d seen on .org the CF page rules and made those – will try with it off (damn got a great page speed with it on) or research other page rules etc – Thanks so much for guidance – Pat
<script type=”text/javascript”>
//<![CDATA[
try{if (!window.CloudFlare) {var CloudFlare=[{verbose:0,p:1459189503,byc:0,owlid:”cf”,bag2:1,mirage2:0,oracle:0,paths:{cloudflare:”/cdn-cgi/nexp/dok3v=1613a3a185/”},atok:”e7248e677b025eae8544ee8b80a99ccc”,petok:”d96c85f314d86f469b9127c26bd7ad7b00449ffe-1459709693-1800″,zone:”westbridgfordwire.com”,rocket:”0″,apps:{“ga_key”:{“ua”:”UA-46276619-1″,”ga_bs”:”2″}},sha2test:0}];!function(a,b){a=document.createElement(“script”),b=document.getElementsByTagName(“script”)[0],a.async=!0,a.src=”//ajax.cloudflare.com/cdn-cgi/nexp/dok3v=e982913d31/cloudflare.min.js”,b.parentNode.insertBefore(a,b)}()}}catch(e){};
//]]>
</script>
<link rel=”canonical” href=”http://westbridgfordwire.com/nottingham-window-company-open-melton-road/”/>
<script custom-element=”amp-analytics” src=”https://cdn.ampproject.org/v0/amp-analytics-0.1.js” async></script>
<script src=”https://cdn.ampproject.org/v0.js” async></script>
<style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript>
<script type=”application/ld+json”>{“@context”:”http:\/\/schema.org”,”@type”:”Article”,”mainEntityOfPage”:”http:\/\/westbridgfordwire.com\/nottingham-window-company-open-melton-road\/”,”publisher”:{“@type”:”Organization”,”name”:”West Bridgford Wire”,”logo”:{“@type”:”ImageObject”,”url”:”http:\/\/westbridgfordwire.com\/wp-content\/uploads\/2015\/05\/wbw-copy-2.jpg”,”width”:500,”height”:52}},”headline”:”Nottingham Window Company to Open in Melton Road West Bridgford”,”datePublished”:”2016-04-03T19:42:09+00:00″,”dateModified”:”2016-04-03T19:43:49+00:00″,”author”:{“@type”:”Person”,”name”:”WBWire”},”image”:{“@type”:”ImageObject”,”url”:”http:\/\/westbridgfordwire.com\/wp-content\/uploads\/2016\/04\/image1-e1459708238145.jpg”,”width”:696,”height”:522}}</script>
<style amp-custom>@font-face{font-family:’Merriweather’;src:url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-regular-webfont.woff2’) format(‘woff2’),url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-regular-webfont.woff’) format(‘woff’),url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-regular-webfont.ttf’) format(‘truetype’),url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-regular-webfont.svg#merriweatherregular’) format(‘svg’);font-weight:400;font-style:normal;}@font-face{font-family:’Merriweather’;src:url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-italic-webfont.woff2’) format(‘woff2’),url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-italic-webfont.woff’) format(‘woff’),url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-italic-webfont.ttf’) format(‘truetype’),url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-italic-webfont.svg#merriweatheritalic’) format(‘svg’);font-weight:400;font-style:italic;}@font-face{font-family:’Merriweather’;src:url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-bold-webfont.woff2’) format(‘woff2’),url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-bold-webfont.woff’) format(‘woff’),url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-bold-webfont.ttf’) format(‘truetype’),url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-bold-webfont.svg#merriweatherbold’) format(‘svg’);font-weight:700;font-style:normal;}@font-face{font-family:’Merriweather’;src:url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-bolditalic-webfont.woff2’) format(‘woff2’),url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-bolditalic-webfont.woff’) format(‘woff’),url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-bolditalic-webfont.ttf’) format(‘truetype’),url(‘https://s1.wp.com/i/fonts/merriweather/merriweather-bolditalic-webfont.svg#merriweatherbold_italic’) format(‘svg’);font-weight:700;font-style:italic;}amp-img.alignright{float:right;margin:0 0 1em 1em;}amp-img.alignleft{float:left;margin:0 1em 1em 0;}amp-img.aligncenter{display:block;margin-left:auto;margin-right:auto;}.alignright{float:right;}.alignleft{float:left;}.aligncenter{display:block;margin-left:auto;margin-right:auto;}.wp-caption.alignleft{margin-right:1em;}.wp-caption.alignright{margin-left:1em;}.amp-wp-enforced-sizes{max-width:100%;}.amp-wp-unknown-size img{object-fit:contain;}.amp-wp-content,.amp-wp-title-bar div{max-width:640px;margin:0 auto;}body{font-family:’Merriweather’,Serif;font-size:16px;line-height:1.8;background:#fff;color:#3d596d;padding-bottom:100px;}.amp-wp-content{padding:16px;overflow-wrap:break-word;word-wrap:break-word;font-weight:400;color:#3d596d;}.amp-wp-title{margin:36px 0 0 0;font-size:36px;line-height:1.258;font-weight:700;color:#2e4453;}.amp-wp-meta{margin-bottom:16px;}p,ol,ul,figure{margin:0 0 24px 0;}a,a:visited{color:#0087be;}a:hover,a:active,a:focus{color:#33bbe3;}.amp-wp-meta,nav.amp-wp-title-bar,.wp-caption-text{font-family:-apple-system,BlinkMacSystemFont,”Segoe UI”,”Roboto”,”Oxygen-Sans”,”Ubuntu”,”Cantarell”,”Helvetica Neue”,sans-serif;font-size:15px;}ul.amp-wp-meta{padding:24px 0 0 0;margin:0 0 24px 0;}ul.amp-wp-meta li{list-style:none;display:inline-block;margin:0;line-height:24px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:300px;}ul.amp-wp-meta li:before{content:”\2022″;margin:0 8px;}ul.amp-wp-meta li:first-child:before{display:none;}.amp-wp-meta,.amp-wp-meta a{color:#4f748e;}.amp-wp-meta .screen-reader-text{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute;width:1px;}.amp-wp-byline amp-img{border-radius:50%;border:0;background:#f3f6f8;position:relative;top:6px;margin-right:6px;}nav.amp-wp-title-bar{background:#0a89c0;padding:0 16px;}nav.amp-wp-title-bar div{line-height:54px;color:#fff;}nav.amp-wp-title-bar a{color:#fff;text-decoration:none;}nav.amp-wp-title-bar .amp-wp-site-icon{float:left;margin:11px 8px 0 0;border-radius:50%;}.wp-caption-text{padding:8px 16px;font-style:italic;}blockquote{padding:16px;margin:8px 0 24px 0;border-left:2px solid #87a6bc;color:#4f748e;background:#e9eff3;}blockquote p:last-child{margin-bottom:0;}amp-carousel{background:#000;}amp-iframe,amp-youtube,amp-instagram,amp-vine{background:#f3f6f8;}amp-carousel>amp-img>img{object-fit:contain;}.amp-wp-iframe-placeholder{background:#f3f6f8 url(http://westbridgfordwire.com/wp-content/plugins/amp/assets/images/placeholder-icon.png) no-repeat center 40%;background-size:48px 48px;min-height:48px;}td,th{text-align:left;}a,a:active,a:visited{text-decoration:underline;}</style>
<script type=”text/javascript”>
Hi Chris
Yes – Apester Interactive Content (clue in title?) runs <interaction> tag and errors in Search Console – in development mode for AMP page this removes error when deactivated – can live with that. Deactivated all other plugin one by one (except VC)
But two script error(s) remain which look like this below in Chrome Dev Tools – Errors – with /amp/#developemnt=1 after url – beyond me!
Not expecting an answer Chris – just for info
nB.prototype.warn=function(a){this.qa?this.qa.push(“W: “+a):console.warn?console.warn(a):console.log(“WARNING: “+a)};nB.prototype.error=function(a){this.qa?this.qa.push(“E: “+a):console.error?console.error(a):console.log(“ERROR: “+a)};var oB=function(a,b){this.Ja=a;this.Ca=b};oB.prototype.aa=function(){return this.Ja};oB.prototype.$=function(){return this.Ca};
Hi Chris
Any chance of a steer with one AMP error
Have cleared all other errors in search console except ‘Prohibited tag – INTERACTION .
Tag is the only error left in 2,000+ posts but I can’t even find a reference to this tag anywhere on the web.
Strangely 3 posts have passed AMP but 2,000 haven’t – wonder what’s different?
(Ref our last conversation about syndicating send2press – are you US only news?)
Just use Homepage template ‘Default’
Instead of ‘Homepage + latest articles’
Pat
WORK there – I’m sure you worry there 🙂
I did it using this code;
https://forum.tagdiv.com/topic/remove-more-from-author-but-keep-related-articles/
Just to share some experiences improving site speed for the many who post here to discuss…
What I’ve also done (My site is an independent ‘hyperlocal’ news site – slightly bigger than hyperlocal really) which I think is good practice given FB Instant Articles and AMP (Already on Apple News for almost a year now) is almost ‘forget the desktop’ exists.
Due to 75%+ mobile visitors it seems good practice (if a ‘live’ news site with say 100+ articles per week) to get the site as fast and safe as possible – this may help others
– I’ve removed all home page blocks except ‘ticker’ – a lightweight grid with no slider- and a sidebar
– Removed all plugins or deactivated ones no required all the time
– Implemented Chris S .htaccess and functions.php tips exactly as described – inc image resizing
– Paid Cloudflare with page rules to remove wp-admin etc- following TagDiv recommendation settings except RocketLoader ON – Mirage in ON
– Removed my subscriber pop-up and won’t use one – promote subscriptions via another route – FB ads – Twitter ads perhaps
– Removed SumoMe and anything that fetches CSS externally
– I do run UberMenu on main site and ShiftNav on mobile (for a better user experience) – But run NO mega menu or dropdowns
– Currently RocketLoader (Cloudflare) runs and doesn’t break anything
– Only added Google Analytics via YoastSEO not on Theme Panel box – it’s there and working
– ADDED a user text box to point people to how to navigate the site – believe it or not saying ‘Press load more or click coloured category labels or main menu’ actually gets visitors to do that!
Results –
Before – GTMetrix – PageSpeed B YSlow C Page size (Homepage) 3.2MB Requests – 187 – Load time – about 7-10 secs
Pingdom 5-7 seconds
After – Page Speed A (96%) YSlow B (82%) Page size (Homepage) 1.2MB Requests 96 – Load time – 2 secs
Pingdom 700ms-1.3 secs
The theme still looks great on desktop but it’s not worth getting caught up in the aesthetics if the visitors aren’t looking at the pretty views – it looks brilliant on mobile and that’s what matters.
Thanks Chris
Yes I hope there’s an option to select articles for FB IP – in the plugins etc – will try selected ones
It appears UK Nationals are planning to put about one in ten articles through FB – while one US National has gone the whole way and done all of the news articles.
Sorry missed message – yes the responsive code is all I used – otherwise on mobiles it looks wrong – try the responsive code and don’t forget to save settings in theme panel
The two images you’ve posted are identical aren’t they?
I think you’d need a plugin to add more but not sure if that would work – more than one would annoy readers?
Not sure about that
It looks ok on mobile – if you look in Theme Panel it tells you the sizes of thumbnails used for each Block – make sure the one for the block you’re using is ‘switched on’
Upload the correct size images (or larger than the size you need) and run Force Regenerate Thumbnails’ plugin (recommended by TagDiv) you can run it just for the image(s) you need from Media Library – all for all images
Smaller images than the recommended sizes in Theme Panel can’t be made larger by Force Regenerate plugin
In your Adsense account you can prevent types of ad showing (perhaps gambling or adult etc) but if you don’t know them you haven’t changed it so that’s good
Try the responsive Adsense code not the specific size code
Do you mean when you’re in post editor?
Writing a new post?
Yes I see it’s not showing – in your Adsense account you haven’t disabled too many category types so there are actually no ads to serve?
Have you used the image and text ad options in Adsense? And the responsive as code (rather than trying to match a size)
There is a link to CSS on this forum to do that – I can’t find it right now but search and there’s a lot about it – it can be done but have to change each one – if I find it I’ll post back
Have you pressed the button in WordPress post editor that reveals all the options? It’s a square with two or three lines in it
Have you got an adblocker enabled in the browser you’re using?
Pat
Just thoughts based on my own errors in the past, have you cleared caches including browser cache?
Chris S
It seems from some things you’ve said recently you run news type sites? I do too and have built traffic over four years into a relatively high number (hyperlocal or slightly bigger than hyperlocal really) – I’m on a AppleNews, Google News, AMP – However FB Instant Articles seems different in that the others require a click to my site – FB keeps it in the app (initially) – Just wondered what your view was? Do you think we have to use it as a social signal/users like it?
I’d guess use it for some content on rollout say one in ten posts whatever?
Advertisers pay me based on traffic of course, surely this will drop massively if you put all content on FB?
Cheers
Pat
Publisher
I don’t use the forum but have you not tried Theme Panel – Fonts – bbPress Forum?
There seem to be a ton of options there
dman797
Did you ever find a way to achieve this?
Pat
Hi Publisher –
It’s simple to do this – go to Theme Panel > Fonts > Other > Breadcrumbs > – Change font, font qualities including BOLD etc
Pat