Alln great!
Can you screenshot your td_config? The Google Fonts portion. After you made the changes. In your last screen shot I do not see a separator “|” but according to Google documentation you need to use it.
It isn’t a custom service, your theme is spitting out errors on site tests and I am just asking you all for support how to correct it since support comes with the purchased theme.
I looked at what you provided the location of the code, thank you, based on what the Google documentation this is what I done:

after saving and replacing the old td_config the site quits working and only displays a white screen. Am I on the right track here? If we can combine these in to 1 link then that will save a round trip to the server, making the theme a little bit faster, and 1 less error in the code, we could then make this correction part of the default newspaper theme I would imagine.
for some reason the picture I attached in the above post doesn’t seem to load here is a link to it
I am using Content.AD ad’s – I have looked at the link you supplied for “non-adsense code” and then also checked the content.ad website and documentation but nothing says how to turn the code in to responsive code.

and here is the actual code
<div id="contentad170219"></div>
<script type="text/javascript">
(function(d) {
var params =
{
id: "81d28b1c-0f8d-47d1-95ad-2f35edfd67ff",
d: "YWxleHBvdWNoZXIuY29t",
wid: "170219",
cb: (new Date()).getTime()
};
var qs=[];
for(var key in params) qs.push(key+'='+encodeURIComponent(params[key]));
var s = d.createElement('script');s.type='text/javascript';s.async=true;
var p = 'https:' == document.location.protocol ? 'https' : 'http';
s.src = p + "://api.content.ad/Scripts/widget2.aspx?" + qs.join('&');
d.getElementById("contentad170219").appendChild(s);
})(document);
</script>
is there anyway to make this work I do not really want to remove the ad since it gets clicked on a lot.
-
This reply was modified 9 years by
alexpoucher.
-
This reply was modified 9 years by
alexpoucher.
ok, so I disabled Photon in jetpack, cleared all my caches, re-ran a site test and the “remove query strings from static resources” went from a score of 17 to a score of 88! Almost of them are gone but not all of them yet.

While it almost fixed the original problem it seems it has caused an entire new problem that I have never seen before, it never existed see below

How do I go about fixing what the first fix caused now?
-
This reply was modified 9 years by
alexpoucher.
Yes I am using Jetpack and Photon, but I am using the “Publicize” plugin from Jetpack, so I need it. I could possibly do away with Photon though since I am using WP Smush to optimize photos, do you think just disabling Photon and the problem is fixed 100%? I will try it and report back.
Yes I have read your post. I have just spent the last 2 hours trying everything you have mentioned. When I added the above code to functions.php the site quit working and I had to install the original functions.php to fix it. I have also read all documentation on CloudFlare.
The only query option CloudFlare has is this >

According to Cloudflare to remove everything starting with the ? you should use the Ignore Query String setting, I am currently using this setting and the problem is still there, for posterity I have tried every setting and it still doesn’t fix the issue.

Your above code reads
if( strpos( $src, '?ver=' ) )
but as you see here most of my problems are query strings that are ?resize= and ?oh= and ?ig_cache_key=

so should your code be modified to something like this?
function remove_cssjs_ver( $src ) {
if( strpos( $src, '?ver= ?resize= ?oh= ?ig_cache_key=' ) )
$src = remove_query_arg( 'ver', $src );
return $src;
}
add_filter( 'style_loader_src', 'remove_cssjs_ver', 10, 2 );
add_filter( 'script_loader_src', 'remove_cssjs_ver', 10, 2 );
or maybe something like this so all urls with a ? in it gets fixed?
function remove_cssjs_ver( $src ) {
if( strpos( $src, '?*' ) )
$src = remove_query_arg( 'ver', $src );
return $src;
}
add_filter( 'style_loader_src', 'remove_cssjs_ver', 10, 2 );
add_filter( 'script_loader_src', 'remove_cssjs_ver', 10, 2 );
If you would be willing to message me, I can give you admin access to my cpanel, ftp, cloudflare and website and once you fix it I will send you 85 dollars to your paypal account, please help me.
-
This reply was modified 9 years by
alexpoucher.
-
This reply was modified 9 years by
alexpoucher.
I have read many tutorials, followed along best I could, still no luck, what is the code I put in functions.php to fix it? I have tried fixing this myself for the last couple weeks with no luck, I was promised support when I bought this theme I will need more than you just sending me to a url and telling me to figure it out myself, the problem has existed ever since switching to Newspaper and before signing up for Cloudflare, can I message someone an admin login for my site and you log in and fix this for me? I can pay you via paypal for fixing this. I am desperate please help.
bump, is this the support forum? I have a valid key I bought your product, where is the support?
bump