Home User profile
tagDiv Member
Journalist. Anonymous since 2001. Activist. Million Mask March Co-Organizer alongside Best Friend and Founder John Anthony Fairhurst between 2012 and 2017. I also played a huge role in helping Ferguson Organize after the death of Mike Brown in 2014 I acquired a house to be a base of operations and then started bringing in Anons, Journalists and Medics from all across the US and beyond to help rally for the cause. I Have Filmed Breaking News & Protests in Over 35 Countries since 2014. I have photographed every major head of state and President as well as holding credentials for the German Chancellery and have attended the most notable events around the world as an invited accredited Journalist. Seen on @RT_com @VICE @BBC @DailyDot @CBS @Mashable +many more. Anytime Anonymous is in the news I usually have something to do with it. The BBC did an expose and called me the original founder of the group while I was a mod for 4Chan in 2001-2004 - I also helped bring together the very first protest against Scientology and have had my hand in just about every OP in a major way. I have met and stayed with Anons from 27 countries across 4 continents.
alexpoucher
tagDiv Member

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.

alexpoucher
tagDiv Member

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:

combined

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.

alexpoucher
tagDiv Member

for some reason the picture I attached in the above post doesn’t seem to load here is a link to it

ad

alexpoucher
tagDiv Member

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.

ads
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.

alexpoucher
tagDiv Member

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.

static

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

0

How do I go about fixing what the first fix caused now?

alexpoucher
tagDiv Member

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.

alexpoucher
tagDiv Member

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 >

cache

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.

cache levels

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=

error

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.

alexpoucher
tagDiv Member

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.

alexpoucher
tagDiv Member

bump, is this the support forum? I have a valid key I bought your product, where is the support?

alexpoucher
tagDiv Member

bump

Viewing 10 posts - 1 through 10 (of 10 total)