סקירה
מדריך זה עוסק ב־אבטחת וורדפרס ומספק פתרון מלא.
קוד 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לפי ההנחיות. - נקה מטמון וודא שהשינוי פעיל.
כלים מומלצים
📊 נתוני צפיות
סה"כ צפיות: 21
מבקרים ייחודיים: 21
- 🧍 172.70.134.130 (
United States) - 🧍 104.23.209.116 (
United States) - 🧍 162.158.187.34 (
United States) - 🧍 104.23.197.226 (
United States) - 🧍 172.71.254.149 (
United States) - 🧍 104.23.209.136 (
United States) - 🧍 172.68.245.199 (
United States) - 🧍 172.70.206.216 (
United States) - 🧍 104.23.166.135 (
Netherlands) - 🧍 172.68.244.200 (
United States) - 🧍 172.71.194.66 (
United States) - 🧍 172.68.245.204 (
United States) - 🧍 104.23.229.116 (
France) - 🧍 172.71.146.147 (
United States) - 🧍 162.158.79.136 (
United States) - 🧍 104.23.213.170 (
United States) - 🧍 172.68.244.130 (
United States) - 🧍 172.69.222.194 (
France) - 🧍 172.71.194.157 (
United States) - 🧍 104.23.209.46 (
United States) - 🧍 104.23.211.137 (
United States)
United States)
Netherlands)
France)