sguerreiro
Forum Replies Created
-
Forum: Plugins
In reply to: [Autoptimize] Minifying a Single PageWould this code go onto the page i want it to affect?
Forum: Fixing WordPress
In reply to: Images don’t appear in custom templateYup that worked. Thanks!
Forum: Fixing WordPress
In reply to: Page isn’t picking up Google Adwords Conversion CodeHey Frank,
That seemed to do the trick! Thanks for your help!
Forum: Fixing WordPress
In reply to: Images don’t appear in custom templateOh that’s good to know. I can fix that. However that’s not the image that’s not loading. If you scroll down the page you’ll see a big gap. The image is supposed to be in there.
Forum: Fixing WordPress
In reply to: Images don’t appear in custom templateForum: Fixing WordPress
In reply to: Page isn’t picking up Google Adwords Conversion Codehttps://www.clicklockroofing.com/thank-you/
This is the URL that I want to exclude AO on.
Forum: Fixing WordPress
In reply to: Page isn’t picking up Google Adwords Conversion CodeYep it’s active. I’m not really sure why it isn’t working.
Forum: Fixing WordPress
In reply to: Page isn’t picking up Google Adwords Conversion CodeYup. All caches are cleared. And looking at the source code, all the js and css has been minified into ao files.
Forum: Fixing WordPress
In reply to: Page isn’t picking up Google Adwords Conversion CodeI’ve tried with and without the slash. Neither works. The code is running everywhere.
Forum: Fixing WordPress
In reply to: Page isn’t picking up Google Adwords Conversion CodeI installed the code snippet plugin and put the code in like this:
add_filter(‘autoptimize_filter_noptimize’,’sguerreiro_noptimize’,10,0);
function sguerreiro_noptimize() {
if (strpos($_SERVER[‘REQUEST_URI’],’/thank-you’)!==false) {
return true;
} else {
return false;
}
}The page i’m trying to exclude is /thank-you. However it doesn’t seem to be working. Do i need to have the full url in before the thank-you?
Forum: Fixing WordPress
In reply to: Page isn’t picking up Google Adwords Conversion CodeHey Frank,
I’m looking in the helper.php_example file, and I think i need the stop function based on URL (there’s only one page I dont want it activated on) but i don’t see a place in that code to put the URL. Am I missing something? Or do i put that code into the page i want to deactivate it from?
Thanks
Forum: Fixing WordPress
In reply to: Page isn’t picking up Google Adwords Conversion CodeHey Frank,
It actually is Autoptimize that’s causing the issue.
In order to exclude it, it says put a unique string in the “exclude” section. Since it’s the Google conversion code, one of the vars is “google_conversion_id”. Could I put that in the exclude? Or is there another place to put the code?
Thanks
Forum: Plugins
In reply to: [Autoptimize] Weird Site BlockingIsn’t the theme apparently. They’re saying a caching plugin or minifying plugin. I use WP Super Cache. Could that be doing it?
Forum: Plugins
In reply to: [Autoptimize] Weird Site BlockingHmm I don’t believe it’s a plugin. The only plugins I have that I think would influence css are Autoptimize and a plugin that allows custom css on individual pages. I don’t see any options that would do that but I’ll take another look. My only guess is that there’s an option that isn’t labelled saying it does that.
Forum: Plugins
In reply to: [Autoptimize] Weird Site BlockingHey @futtta,
The theme is called Sarraty.