- start a basic plugin that can send code to front

- for the moment it send js scripts, css, and variables
This commit is contained in:
asus
2024-02-07 18:46:28 +01:00
parent e3ae101fdd
commit b943682047
7 changed files with 98 additions and 3 deletions

View File

@@ -0,0 +1,5 @@
const title = document.querySelector(".has-text-align-center.wp-block-post-title");
title.innerHTML = "coucou ;)";
console.log("myvar_1: " + myvar_1);

View File

@@ -0,0 +1,4 @@
const title2 = document.querySelector(".wp-block-quote");
title2.innerHTML = "ho boy !";

View File

@@ -0,0 +1,5 @@
const title3 = document.querySelector(".has-text-align-center.wp-block-post-title");
title3.innerHTML = "bye bye";
console.log("myvar_2: " + myvar_2);