מצאתי הסבר באנגלית אבל לא ממשית הבנתי מה לעשות בדיוק http://www.tipsandtricks-hq.com/how-...t-or-page-1845 מישהו מוכן להסביר לי ?
מצאתי הסבר באנגלית אבל לא ממשית הבנתי מה לעשות בדיוק http://www.tipsandtricks-hq.com/how-...t-or-page-1845 מישהו מוכן להסביר לי ?
|
|
זה מראה לך איך לקחת כתובת JS חיצונית.
מזאת אומרת ? תוכל להסביר לי בדיוק מה לעשות ?
תקרא פה וזהו![]()
איך ההסבר שנתתי למעלה לא קשור לWP ? עם הכותרת How to Add Javascript in a WordPress Post or Page
לא פועל .זה ההסבר בבקשה תתרגם לי מה לעשות .Adding javascript in WordPress post is really simple. You just have to switch to the HTML view in the editor and paste the JavaScript code and that’s pretty much it.If the JavaScript code is in an external file then you need to include it first. You will need to add a bit of code similar to the following in your “header.php” or “footer.php” file to include the external JavaScript file:I prefer to add javascript in the footer for site performance factors. You can paste it in the HTML view of the post too if this file is only needed in that one post. Replace “http://www.your-domain-name.com/scri...vascript.js” with the actual location of the JavaScript file.After you have included the file you can use any functions that is defined in that file. Use something similar to the following:Replace “custom_function();” with the actual name of the function.
יש גוגל תרגומון...
בכל מקרה, שמת את הקוד בין תגיות ה-script?
כן לא פעל אחי אני מבין מה אני קורא אבל עדיין לא הבנתי בדיוק מה לעשות תוכל להגיד לי ?
שלח לי את כל הקוד ואני אנסה לפתור לך