Adding [removed] to WordPress in <head> element

前端 未结 6 568
你的背包
你的背包 2020-12-23 09:16

I\'m trying to insert this code:

 

to WordPress

6条回答
  •  庸人自扰
    2020-12-23 10:20

    One way I like to use is Vanilla JavaScript with template literal:

    var templateLiteral = [`
        
    `]
    
    var head = document.querySelector("head");
    head.innerHTML = templateLiteral;
    

提交回复
热议问题