סקירה
מדריך זה עוסק ב־אבטחת וורדפרס ומספק פתרון מלא.
קוד PHP
// Disable XML-RPC
קוד JavaScript להדגמה
document.addEventListener('click',function(e){
if(e.target.classList.contains('copy-btn')){
const id=e.target.dataset.target;
const txt=document.getElementById(id).innerText;
navigator.clipboard.writeText(txt).then(()=>{
e.target.textContent='הועתק!';
setTimeout(()=>e.target.textContent='העתק קוד',1500);
});
}
});
שלבים
- הדבק את קוד ה‑PHP בפלאגין קסטום.
- טען את
copy-code.jsלפי ההנחיות. - נקה מטמון וודא שהשינוי פעיל.
כלים מומלצים
📊 נתוני צפיות
סה"כ צפיות: 19
מבקרים ייחודיים: 19
- 🧍 104.23.211.16 (
United States) - 🧍 172.68.15.216 (
United States) - 🧍 172.71.223.51 (
United States) - 🧍 172.70.39.150 (
United States) - 🧍 172.68.245.123 (
United States) - 🧍 172.71.150.167 (
United States) - 🧍 172.71.147.115 (
United States) - 🧍 104.23.209.171 (
United States) - 🧍 162.158.122.158 (
Spain) - 🧍 172.70.206.217 (
United States) - 🧍 172.70.111.55 (
United States) - 🧍 172.70.34.140 (
United States) - 🧍 162.158.79.59 (
United States) - 🧍 104.23.211.219 (
United States) - 🧍 104.23.213.3 (
United States) - 🧍 172.71.190.50 (
United States) - 🧍 172.70.34.160 (
United States) - 🧍 172.70.42.207 (
United States) - 🧍 172.71.131.101 (
France)
United States)
Spain)
France)