If your fonts load on desktop, but not mobile — might not be your issue as there should be no difference unless Cloudflare handles things differently for mobile devices (I don’t use CLoudflare as we have our own dedicated hardware).
Some other kind soul might have better answer.
See Cloudflare for help with setting CORS directive or ignore for fonts so they can be loaded “cross domain” — it’s a security feature.
Your fonts for the icons are in the font folder of theme; so you will need to upload that via FTP and make sure your FTP software has a setting to automatically detect text vs binary files (most do, some don’t).
However, if using Cloudflare that is more likely the issue.
Font is already in binary format (anything not a text file is a binary file – such as images, or font files).
Suggestions:
http://codex.wordpress.org/Hardening_WordPress
Plugin – not tested:
https://wordpress.org/plugins/protect-wp-admin/
Older article:
http://www.wpbeginner.com/wp-tutorials/11-vital-tips-and-hacks-to-protect-your-wordpress-admin-area/
(check comments for article on feedback re opposing views/out of date warnings for DOA plugins or procedures)
——–
main items:
a) create new superuser; delete admin account
b) use ‘limit login attempts’ plugin
c) avoid plugins not updated for security fixes in WP 4.2 era (check Securi for list of bad plugins, for example; feedback on the support forum for any plugin on WordPress.org)
d) avoid plugins from ThemeForest/Envato unless very well documented, updated for security issues, and check feedback comments to see if malware/abandonware/bugs
e) consider turning off the pingback and XLMRPC stuff.
-
This reply was modified 11 years by
simchris.
Yeah… I’ve been playing with a lightweight theme like I built in 2011 for one of our sites; which uses basically Bootstrap 3 and minimal files. Too much to do, so little time.
For our main sites WP works well because of the tools developed for it that are hard to replicate without more custom coding – such as using FeedWordPress to pull content from our mothership to our hubs; Yoast SEO so I don’t have to manually put all that crap into templates anymore or build out custom XML sitemaps anymore based on page template (although we still do that in one place for push to an aggregator like LexisNexis, etc.).
I still like static hand-built .shtml files with SSI and cgi random elements. π
Try a non-breaking space or two between the echo elements.
# just means top of page and can pretty much be ignored, as search engines do unless a jump ID added on page like #phone or #faqs, etc.
What do you mean by “security” plugins?
Do you mean like “limit login attempts” to stop people from guessing plugin over and over; or do you mean a membership plugin to control who has access to elements of the control panel based on user role? Or do you mean a security scanning service like Securi?
Choose the template number/style such as “style 2” in your root theme folder; there are 2 per style, one with the loop, one with the calls to header/footer. If you inspect them you will see whassup.
Make sure you completely clear the history/cache in IE 9 and try again; from the screenshot looks like the CSS is not loading. Also try NOT using a “child theme.”
And, stop using IE9 and start using IE10; if you’re still running Windows XP, not everything may work properly — but it “might” π
If running Windows 7, you should be using IE10 which came out 4 years ago. IE9 was very buggy.
Make sure you have uploaded your icon font for theme in binary format; also, if using a CDN/cloudflare/etc. make sure you have a CORS directive set up to allow the font to be loaded remotely -or- set your CDN/etc. to ignore fonts and let them be loaded locally from your site.
If that plugin generating error; likely good to disable it.
Also good to turn off all caching before doing any updates.
and prints on page as so:
<div class="td-header-container">
<div class="td-header-row td-header-header">
<div class="td-header-sp-ads">
<div class="td-header-ad-wrap td-ad-m td-ad-tp">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><div class="td-g-rec td-g-rec-id-header">
<script type="text/javascript">var td_screen_width=document.body.clientWidth;if(td_screen_width>=1024){document.write('<ins class="adsbygoogle" style="display:inline-block;width:970px;height:90px" data-ad-client="ca-pub-xxxxxxxxxxxxx" data-ad-slot="xxxxxxxxxxxxx"></ins>');(adsbygoogle=window.adsbygoogle||[]).push({});}
if(td_screen_width>=768&&td_screen_width<1024){document.write('<ins class="adsbygoogle" style="display:inline-block;width:468px;height:60px" data-ad-client="ca-pub-6556273450138383" data-ad-slot="4322696829"></ins>');(adsbygoogle=window.adsbygoogle||[]).push({});}</script>
</div>
</div> </div>
</div>
(thanks for kind words, too …) π
Hm.
okay, in my header ad box I have
desktop on (grey toggle); size 970×90
tablet portrait on (grey toggle); size auto
phone off (blue toggle > right)
my code looks the same –
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 2015 Responsive States -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-XXXXXXXXXXXXXXXXXX"
data-ad-slot="XXXXXXXXXXXXX"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
So, it might be something funky like a minification setting or a “java optimization” setting in your Cloudflare, WPEngine — maybe there is a setting there to “ignore” a specific block of code?
I would probably turn OFF one or both of those if you are able to see if maybe they are “re-writing” the javascript for some oddball reason. “Re-writing” — such as scripts that minify, move, re-write javascript can sometimes break the simplest thing if they can’t parse “the syntax” or the “locale” of the code for some odd reason. I ran into this with mod_pagespeed with javascript optimizations — just turned it all off !
-
This reply was modified 11 years by
simchris.
I’m a bit biased as I’ve had likely 25 themes change over time and need to go in and modify the child theme which totally defeated the purpose of just using the parent thing to modify in first place. Why have all the shenanigans of having two sets of code. I understand the concept, and certainly child themes are helpful for Canvas, and other frameworks for simpler theme development, buuuuuuut …. I prefer to have stuff in one place and keep track of the mods so I know they will or will not work due to my foobar and not a child theme issue. Did I say biased? Maybe I meant jaded? π
Funnily enough it occurred to me last night to update that just as you did, but then I forgot (was watching “MIST” on Amazon Prime…. ). Good job, kind sir! π
As to CHILD themes… well… you are correct it likely doesn’t matter anymore with TagDiv themes, although I do seem to recall it did at some point based on feedback.
I personally don’t use child themes and am against such practice, but that is my own preference due to the CSS redirect aspect. Some themes don’t do well with putting functions that change “core” behavior when put in the child theme; and this is based on my “full stack” for changes/suggested code. Your mileage may vary, depending on theme/version. Since everything in the child theme can be a redirect, I simply don’t trust it — but if it works for you, then have at it. When folks websites stop working, I usually suggest going with “lowest common denominator” and one of those debug aspects is NOT using child theme — but it’s not a “law” or anything — again, just my OPINION. π
Put another way; I’d rather have ALL the optimizations working in main theme vs having to cut some back just to use child theme. Again, your experience may vary. If you can run mods in child theme, why are you bothering to use the “slim” version exactly?
-
This reply was modified 11 years by
simchris.
This presumes you have the desktop/mobile “enabled” vs “disabled” in your theme panel where you have pasted in the complete adsense code snippet?
I’m using header 8 and mine work perfectly across multiple sites even with stuff like mod_pagespeed doing on the fly page rewrites to remove spaces and comments.
Do you have example of the adsense code you’re pasting in to the adsense ad box ?
Have you optimized your site/server for best page speed?
See the sticky post on optimization, increasing base memory, and the tutorial in theme docs on speeding up site.
You might try the Facebook debug tool to run test on your site post(s).
You might try this … we used this for a long time on one site; and worked great:
https://wordpress.org/plugins/white-label-cms/
Did you increase memory in your wp-config.php file?
Did you do clean install vs just move it ?
Use main theme, not child theme.
Turn off all plugins except VC.
Make sure you changed the domain name in anything which used that, like internal links to images, etc.
I’m using Newsmag for our sites for that very same reason π
I think you can ‘swap’ licenses if it’s been a short period of time; if you contact TagDiv. If it’s been a month or longer, doubtful.
Of course, it’s cheap enough to own both!
You might be able to do that with a role editor, but I personally haven’t tried that yet.
I personally don’t use child theme due to CSS redirect and unexpected gremlins…. oh, like in this case π