Forums

Javascript call (3 posts)

  1. LumBenny
    Member
    Posted 3 years ago #

  2. RockyMtnHi
    Member
    Posted 3 years ago #

    Inline Javascript is bad for SEO, so you should always use an include like this:
    <script type="text/javascript" src="http://yoursite.com/scripts/jsfile.js"></script>

    Place your code into the scripts folder in a file named jsfile.js and it will execute when you want. Make sure to not use <script> delimiters in that file.

  3. stvwlf
    Member
    Posted 3 years ago #

    I have been using this plugin
    http://gonahkar.com/wordpress-plugins/custom-fields-shortcode/

    to enter code as a custom field, and inserting it into the post as a shortcode. Has worked well

Topic Closed

This topic has been closed to new replies.

About this Topic