Note that there are some explanatory texts on larger screens.

plurals
  1. POwordpress external javascript file for inline editor plugin?
    primarykey
    data
    text
    <p>Hi php wordpress people,</p> <p>I'm using inline editor plugin for wordpress I am aware that for seo purposes it is best to make sure these are external files. When I view the source in my browser I can see the javascript for inline editor plugin is displayed in the page code.</p> <p>Is there a way to make this an external js file, within the wordpress framework, or will it have to be within the page for the plugin to work?</p> <p>thanks for your help</p> <p>Regards judi</p> <p>Anyone know where this is comming from? I don't see it on my other websites so it must be from a different plugin?</p> <pre><code>&lt;script type="text/javascript"&gt; /* &lt;![CDATA[ */ var ileNicEditor; function startEditing(postId) { jQuery("#ileEditLink"+postId).hide(); jQuery("#ileEditButton-"+postId).hide(); jQuery("#ileCancelButton-"+postId).show(); ileCreateNicEditor(postId); } function ileCreateNicEditor(postId) { jQuery.ajax({async:false, type:"POST", url:"http://fr.com/wp-content/plugins/inline-editor/ajax-content.php", data:"id="+postId, success:function(data){ jQuery("#ileContent-"+postId).html(data); } }); ileNicEditor = new nicEditor({fullPanel:true, iconsPath:"http://fr.com/wp-content/plugins/inline-editor/nicEditorIcons.gif", onSave:function(content,id,instance){ileSave(postId,content)} }).panelInstance("ileContent-"+postId,{hasPanel:true});; jQuery("#ileCancelButton"+postId).show(); } function ileSave(postId,content){ jQuery.post("http://fr.com/wp-content/plugins/inline-editor/ajax-save.php", {"id":postId, "content":content}, function(data){ alert(data.message) jQuery("#ileCancelButton-"+postId).click(); }, "json"); } /* ]]&gt; */ &lt;/script&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload