{"id":2456,"date":"2019-01-04T08:03:24","date_gmt":"2019-01-04T08:03:24","guid":{"rendered":"http:\/\/www.softaculous.com\/blog\/?post_type=docs&#038;p=2456"},"modified":"2024-06-04T11:53:50","modified_gmt":"2024-06-04T11:53:50","slug":"adding-custom-scripts","status":"publish","type":"docs","link":"https:\/\/www.softaculous.com\/blog\/docs\/admin\/script-related-settings\/adding-custom-scripts\/","title":{"rendered":"Adding Custom Scripts"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">To Add Custom Scripts<\/h3>\n\n\n\n<p class=\"alert alert-info\"><strong>NOTE&nbsp;<\/strong>&nbsp;: You will have to first make the custom package. To make the custom package refer to the following guide&nbsp;:&nbsp;<a href=\"https:\/\/softaculous.com\/docs\/Making_Custom_Package\">Making_Custom_Package<\/a><\/p>\n\n\n\n<p class=\"alert alert-info\"><strong>NOTE<\/strong> : This page is available in the Softaculous Admin panel. Please login to your control panel as (root) to access the Softaculous Admin panel.<\/p>\n\n\n\n<p>First click on the &#8220;Custom Scripts&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/10\/adding_custom_scripts_1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"480\" src=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/10\/adding_custom_scripts_1.png\" alt=\"\" class=\"wp-image-4984\" srcset=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/10\/adding_custom_scripts_1.png 1000w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/10\/adding_custom_scripts_1-300x144.png 300w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/10\/adding_custom_scripts_1-768x369.png 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/figure>\n\n\n\n<p>Then click on the &#8220;Add Custom Scripts&#8221;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/10\/adding_custom_scripts_2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"480\" src=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/10\/adding_custom_scripts_2.png\" alt=\"\" class=\"wp-image-4985\" srcset=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/10\/adding_custom_scripts_2.png 1000w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/10\/adding_custom_scripts_2-300x144.png 300w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/10\/adding_custom_scripts_2-768x369.png 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/figure>\n\n\n\n<p>Then fill up the empty blocks (shown in the figure below). And then click on the &#8220;Add Script&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/10\/adding_custom_scripts_3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1000\" height=\"480\" src=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/10\/adding_custom_scripts_3.png\" alt=\"\" class=\"wp-image-4986\" srcset=\"https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/10\/adding_custom_scripts_3.png 1000w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/10\/adding_custom_scripts_3-300x144.png 300w, https:\/\/www.softaculous.com\/blog\/wp-content\/uploads\/2021\/10\/adding_custom_scripts_3-768x369.png 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If you want to add custom logos for your Custom scripts please upload images at the following path on your server&nbsp;:<\/li>\n<\/ul>\n\n\n\n<p>1) Dimensions&nbsp;: 160X160 Format&nbsp;: PNG<\/p>\n\n\n\n<pre class=\"wp-block-preformatted bash hljs\">\/path\/to\/softaculous\/enduser\/themes\/default\/images\/topscripts\/SOFTACULOUS_NAME.png\n<\/pre>\n\n\n\n<p><strong>SOFTACULOUS_NAME<\/strong>&nbsp;refers to the Softaculous name you filled in while adding the script.<\/p>\n\n\n\n<p>2) Dimensions&nbsp;: 32X32 Format&nbsp;: GIF<\/p>\n\n\n\n<pre class=\"wp-block-preformatted bash hljs\">\/path\/to\/softaculous\/enduser\/themes\/default\/images\/topscripts\/32\/10001__logo.gif\n<\/pre>\n\n\n\n<p>3) Dimensions&nbsp;: 72X72 Format&nbsp;: GIF<\/p>\n\n\n\n<pre class=\"wp-block-preformatted bash hljs\">\/path\/to\/softaculous\/enduser\/themes\/default\/images\/topscripts\/48\/10001__logo.gif\n<\/pre>\n\n\n\n<p><strong>10001<\/strong>&nbsp;refers to the script id. You can get the script id from the following file&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted bash hljs\">\/path\/to\/softaculous\/enduser\/cscripts.php\n<\/pre>\n\n\n\n<p>3) Dimensions&nbsp;: 48X48<\/p>\n\n\n\n<p>Format&nbsp;: GIF<\/p>\n\n\n\n<pre class=\"wp-block-preformatted bash hljs\">\/path\/to\/softaculous\/enduser\/themes\/default\/images\/topscripts\/48\/10001__logo.gif<\/pre>\n\n\n\n<p><strong>10001<\/strong>&nbsp;refers to the script id. You can get the script id from the following file&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted bash hljs\">\/path\/to\/softaculous\/enduser\/cscripts.php<\/pre>\n\n\n\n<p>Format&nbsp;: PNG<\/p>\n\n\n\n<pre class=\"wp-block-preformatted bash hljs\">\/path\/to\/softaculous\/enduser\/themes\/default\/images\/topscripts\/48\/SOFTACULOUS_NAME.png\n<\/pre>\n\n\n\n<p><strong>SOFTACULOUS_NAME<\/strong>&nbsp;refers to the Softaculous name you filled in while adding the script.<br><\/p>\n\n\n\n<p>4) Dimensions&nbsp;: 100X100<\/p>\n\n\n\n<p>Format&nbsp;: GIF<\/p>\n\n\n\n<pre class=\"wp-block-preformatted bash hljs\">\/path\/to\/softaculous\/enduser\/themes\/default\/images\/topscripts\/10001__logo.gif\n<\/pre>\n\n\n\n<p><strong>10001<\/strong>&nbsp;refers to the script id. You can get the script id from the following file&nbsp;:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted bash hljs\">\/path\/to\/softaculous\/enduser\/cscripts.php<\/pre>\n\n\n\n<p>That&#8217;s it you are done<\/p>\n","protected":false},"featured_media":0,"parent":1674,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"","docs_category":[],"class_list":["post-2456","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/2456","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/comments?post=2456"}],"version-history":[{"count":7,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/2456\/revisions"}],"predecessor-version":[{"id":5833,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/2456\/revisions\/5833"}],"up":[{"embeddable":true,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs\/1674"}],"wp:attachment":[{"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/media?parent=2456"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/www.softaculous.com\/blog\/wp-json\/wp\/v2\/docs_category?post=2456"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}