Issue with HTML blocks inside the Post Editor
-
I have been using the HTML block in the post editor to manually place in AdSense ads. The code starts with:
<script async src="https...
WordPress has been lately messing it up by changing the code, it ads =”” after the keyword async, like this:
<script async="" src="https...
You can test this by adding the following HTML block:
<script async src="https://somelink.do" crossorigin="anonymous"></script>
Save the post, and then copy-paste (not duplicate) the block or revisit/refresh the post editor.
Although I had thought about automating this process of placing ads (not by auto ads), this issue made me realize, this is the time to implement it.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Issue with HTML blocks inside the Post Editor’ is closed to new replies.