tgakk
Forum Replies Created
-
This is what I added to JS excludes, js deferred excludes, guest mode js excludes. It’s still having the same issue. However, I started playing around and comparing the settings between basic and advanced in page optimization and switching them one by one and purging the cache in between. The one that appears to be causing the issue is HTML Minify. If I leave everything else the same as what the Advanced preset sets in page optimization, then ads stop showing. If I turn off HTML minify, then ads start showing again. Any idea why?
I tried adding the inline js code to the exclude boxes under page optimization/tuning after changing presets back to Advanced from Basic. It’s still not showing ads on mobile, just desktop. I may have the format wrong in the exclude boxes. Basically, I just pasted this:
<script>my multi-line javascript</script>
(sorry, it’s not letting me paste the actual code here. I put this in the js excludes, js deferred excludes, and gues t mode js excludes. I have maybe around 5 of these <script> elements I pasted into those boxes. After purging, no ads on mobile. When I switch back to Basic preset, then ads show again.Forum: Plugins
In reply to: [XML Sitemap Generator for Google] Issue with Sitemaps for Custom Post TypesThanks auctollo. I actually went with a different solution in the end as well, but appreciate you looking into it and hopefully it’s fixed for others!
Thanks for the reply. It’s a few lines of js code. In the header and then a few more lines where I need to put the ad. Do I need to put those in a js file that I then exclude from all 3 places or can I paste the few lines of code in the exclude boxes? I assume exclude only works with a file but wanted to confirm.
Forum: Plugins
In reply to: [XML Sitemap Generator for Google] Issue with Sitemaps for Custom Post TypesI am having a similar issue where custom post types don’t end up in the sitemap. single word vs multi-word slug doesn’t seem to make a difference for me (just tested). But still nothing in the custom post type site map.
Custom posts sitemaps are empty on mine as well. I was just about to post my issue, but possibly this is similar so thought I’d add my issue here too. I just barely started using this XML sitemap generator plugin so I can’t say if it was working before this version. 4.1.15 and 4.1.16 both have the same issue. I haven’t tried rolling back to 4.1.11 as OP states.