Why is my embeded javascript code not displaying on my WordPress page? -


update: have discovered impeding script displaying.

i trying embed javascript code http source https wordpress page.

the error reads: page @ 'https://www.site*.com/' loaded on https, requested insecure script 'http://uvlog.com/assets/js/embed.js'. request has been blocked; content must served on https.

the site seem have https there many required plugins/resources called on not on https.

i have searched javascript embed issues here , have been scouring google have not found addresses issue.

i have read , followed wordpress codex embedding javascript, uploaded , referenced js file don't know how around https issue.

any ideas or appreciated

according wordpress codex need have javascript inside of separate .js file, , call file in content editor, , call specific function .js file:

<script type="text/javascript" src="/scripts/updatepage.js"></script> <script type="text/javascript">     <!--         updatepage();     //--> </script> 

this done because allowing javascript inside content editor bring serious security flaws/exploits in wordpress system.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -