{"id":8078494,"date":"2016-03-18T14:20:49","date_gmt":"2016-03-18T14:20:49","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/efficiency-suggestion\/"},"modified":"2017-08-14T13:37:26","modified_gmt":"2017-08-14T13:37:26","slug":"efficiency-suggestion","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/efficiency-suggestion\/","title":{"rendered":"efficiency suggestion"},"content":{"rendered":"<p>For extra scripts are not loaded in the front, do so in NasherSEO.php file:<\/p>\n<pre><code>add_action(&#039;admin_enqueue_scripts&#039;, &#039;back_end_include_files&#039;);\nfunction back_end_include_files() {\n\twp_enqueue_script(&#039;custom-js&#039;, plugins_url( &#039;&#039;, __FILE__ ).&#039;\/js\/custom-js.js&#039;);\n\twp_enqueue_script(&#039;limit&#039;, plugins_url( &#039;&#039;, __FILE__ ).&#039;\/js\/limit.js&#039;);\n\twp_enqueue_script(&#039;selectall&#039;, plugins_url( &#039;&#039;, __FILE__ ).&#039;\/js\/selectall.js&#039;);\n\twp_enqueue_script(&#039;mytabs&#039;, plugins_url( &#039;&#039;, __FILE__ ).&#039;\/js\/mytabs.js&#039;,array( &#039;jquery-ui-tabs&#039; ));\n\twp_enqueue_script(&#039;jquery-ui&#039;, plugins_url(&#039;&#039;, __FILE__) . &#039;\/js\/jquery-ui.js&#039;);\n\twp_enqueue_script(&#039;nashr-autocomplete&#039;, plugins_url(&#039;&#039;, __FILE__) . &#039;\/js\/nashr-autocomplete.js&#039;, array( &#039;jquery-ui-autocomplete&#039; ));\n\t\/\/load ajax files\n\twp_register_script(&quot;ajax-js&quot;, plugins_url( &#039;&#039;, __FILE__ ) . &#039;\/js\/ajax-js.js&#039;, array(&#039;jquery&#039;));\n\twp_localize_script(&#039;ajax-js&#039;, &#039;ajax&#039;, array(&#039;ajaxurl&#039; =&gt; admin_url(&#039;admin-ajax.php&#039;)));\n\twp_enqueue_script(&#039;ajax-js&#039;);\n\t\/\/ load ajax\n\twp_register_script(&quot;ajax-nashr&quot;,plugins_url(&#039;&#039;, __FILE__) .&#039;\/js\/ajax-nashr.js&#039;, array(&#039;jquery&#039;));\n\twp_localize_script(&#039;ajax-nashr&#039;, &#039;myAjax&#039;, array(&#039;ajaxurl&#039; =&gt; admin_url(&#039;admin-ajax.php&#039;)));\n\twp_enqueue_script(&#039;ajax-nashr&#039;);\n}<\/code><\/pre>\n<p>FIX BUG &#8220;HERF&#8221;<br \/>\nfile: nashr-seo\/include\/mnbaa_functions.php line:89<\/p>\n<pre><code>function mnbaa_seo_make_linkTage($value, $content){\n\techo &#039;&lt;link rel=&#039;.$value.&#039; herf=&quot;&#039;.$content.&#039;&quot; \/&gt;\n&#039;;\n}<\/code><\/pre>\n<p>replace &#8220;herf&#8221; to &#8220;href&#8221;<\/p>\n","protected":false},"template":"","class_list":["post-8078494","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8078494","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8078494\/revisions"}],"predecessor-version":[{"id":9408274,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8078494\/revisions\/9408274"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=8078494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}