{"id":959,"date":"2025-05-11T00:21:12","date_gmt":"2025-05-11T00:21:12","guid":{"rendered":"https:\/\/pensplace.co.uk\/?post_type=wpdmpro&#038;p=959"},"modified":"2025-05-11T00:29:14","modified_gmt":"2025-05-11T00:29:14","slug":"959","status":"publish","type":"wpdmpro","link":"https:\/\/pensplace.co.uk\/index.php\/download\/959\/","title":{"rendered":"Simple Icons"},"content":{"rendered":"\n<p>3282 brand icons. <a href=\"https:\/\/simpleicons.org\">https:\/\/simpleicons.org<\/a> <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Meta data<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>Column Name<\/strong><\/th><th><strong>Data<\/strong><\/th><th><strong>Description<\/strong><\/th><\/tr><\/thead><tbody><tr><td>Name<\/td><td>Simple Icons<\/td><td>Name of the Pack<\/td><\/tr><tr><td>Shortcode<\/td><td>simple<\/td><td>Shortcode of the pack used for filtering<\/td><\/tr><tr><td>Github Link<\/td><td><a href=\"https:\/\/github.com\/simple-icons\">Simple Icons<\/a><\/td><td>Github Repository Link<\/td><\/tr><tr><td>Total<\/td><td><\/td><td>Total Number of Icons<\/td><\/tr><tr><td>Author<\/td><td>Simple Icons<\/td><td>Author of the Icon Pack<\/td><\/tr><tr><td>Author Link<\/td><td><a href=\"https:\/\/simpleicons.org\/\">https:\/\/simpleicons.org\/<\/a><\/td><td>Link to the Author<\/td><\/tr><tr><td>Icon SVG<\/td><td>&lt;svg <em>role<\/em>=&#8217;img&#8217; <em>viewBox<\/em>=&#8217;0 0 24 24&#8242; <em>xmlns<\/em>=&#8217;http:\/\/www.w3.org\/2000\/svg&#8217;>&lt;title>Simple Icons&lt;\/title>&lt;style>path{fill:#000} <em>@media<\/em> (prefers-color-scheme:dark){path{fill:#fff}}&lt;\/style>&lt;path <em>d<\/em>=&#8217;M12 0C8.688 0 6 2.688 6 6s2.688 6 6 6c4.64-.001 7.526 5.039 5.176 9.04h1.68A7.507 7.507 0 0 0 12 10.5 4.502 4.502 0 0 1 7.5 6c0-2.484 2.016-4.5 4.5-4.5s4.5 2.016 4.5 4.5H18c0-3.312-2.688-6-6-6Zm0 3a3 3 0 0 0 0 6c4 0 4-6 0-6Zm0 1.5A1.5 1.5 0 0 1 13.5 6v.002c-.002 1.336-1.617 2.003-2.561 1.058C9.995 6.115 10.664 4.5 12 4.5ZM7.5 15v1.5H9v6H4.5V24h15v-1.5H15v-6h1.5V15Zm3 1.5h3v6h-3zm-6 1.47c0 1.09.216 2.109.644 3.069h1.684A5.957 5.957 0 0 1 6 17.97Z&#8217;\/>&lt;\/svg><\/td><td>SVG for the Pack Logo, or<\/td><\/tr><tr><td>Logo<\/td><td><\/td><td>PNG or JPG for the Pack Logo<\/td><\/tr><tr><td>Icons CSV<\/td><td><\/td><td>CSV FIle of the Icons<\/td><\/tr><tr><td>Has Categories<\/td><td>Yes<\/td><td>Are categories used to group icons within a pack.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Transformations<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>Name<\/strong><\/th><th><strong>Transform From<\/strong><\/th><th><strong>Transform To<\/strong><\/th><\/tr><\/thead><tbody><tr><td>1<\/td><td>path d<\/td><td>path fill='{{IconColor}}&#8217;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">PowerShell script to create csv from repository.<\/h2>\n\n\n\n<pre class=\"wp-block-prismatic-blocks\"><code class=\"language-powershell\" data-line=\"\">$counter = 1\n$file = &quot;D:\\Appz\\IconManager\\Packs\\CSV\\simple-20250511.csv&quot;\nwrite-host &quot;Simplet Icons &quot;\n$setName = &quot;simple&quot;\n\n# Core\n\n$path = &quot;D:\\Appz\\IconManager\\Packs\\simple-icons\\icons\\*.svg&quot;\n$icons = get-childitem -File $path -recurse\n\n\nForEach($icon in $icons){\n    [string]$svg = Get-Content $icon.FullName;\n   # [array]$split = $icon.Name.Split(&#039;-&#039;)\n    [string]$path = $icon.DirectoryName.Split(&#039;\\&#039;)[-1]\n    $TextInfo = (Get-Culture).TextInfo\n    $string = $icon.Name.Replace(&quot;_&quot;,&quot; &quot;).Replace(&quot;.svg&quot;,&quot;&quot;).Trim()\n \n    # Capitalize the first letter of each word\n    $name = $TextInfo.ToTitleCase($string.ToLower())\n    $name\n    $path\n    $objResults = New-Object PSObject -Property @{\n        pp_id = $counter;\n        pp_name =  $name \n        pp_svg = $svg.Replace(&quot;&quot;&quot;&quot;,&quot;&#039;&quot;);\n        pp_pack = $setName\n        pp_size = &quot;24&quot;\n        pp_category = &quot;&quot;\n    }\n    $counter++\n    $objResults | Export-CSV $file -Append -NoTypeInformation -force\n}\n\nwrite-host &quot;Finished&quot;\n<\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>3282 brand icons. https:\/\/simpleicons.org Meta data Column Name Data Description Name Simple Icons Name of the Pack Shortcode&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":""},"wpdmcategory":[47],"class_list":["post-959","wpdmpro","type-wpdmpro","status-publish","hentry","wpdmcategory-icon-packs"],"_links":{"self":[{"href":"https:\/\/pensplace.co.uk\/index.php\/wp-json\/wp\/v2\/wpdmpro\/959","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pensplace.co.uk\/index.php\/wp-json\/wp\/v2\/wpdmpro"}],"about":[{"href":"https:\/\/pensplace.co.uk\/index.php\/wp-json\/wp\/v2\/types\/wpdmpro"}],"author":[{"embeddable":true,"href":"https:\/\/pensplace.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pensplace.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=959"}],"wp:attachment":[{"href":"https:\/\/pensplace.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=959"}],"wp:term":[{"taxonomy":"wpdmcategory","embeddable":true,"href":"https:\/\/pensplace.co.uk\/index.php\/wp-json\/wp\/v2\/wpdmcategory?post=959"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}