{"id":979,"date":"2025-05-11T02:42:04","date_gmt":"2025-05-11T02:42:04","guid":{"rendered":"https:\/\/pensplace.co.uk\/?post_type=wpdmpro&#038;p=979"},"modified":"2025-05-11T02:42:04","modified_gmt":"2025-05-11T02:42:04","slug":"zendesk-garden-icons","status":"publish","type":"wpdmpro","link":"https:\/\/pensplace.co.uk\/index.php\/download\/zendesk-garden-icons\/","title":{"rendered":"Zendesk Garden Icons"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"200\" height=\"200\" src=\"https:\/\/pensplace.co.uk\/wp-content\/uploads\/2025\/05\/9273473.png\" alt=\"\" class=\"wp-image-980\" srcset=\"https:\/\/pensplace.co.uk\/wp-content\/uploads\/2025\/05\/9273473.png 200w, https:\/\/pensplace.co.uk\/wp-content\/uploads\/2025\/05\/9273473-150x150.png 150w\" sizes=\"auto, (max-width: 200px) 100vw, 200px\" \/><\/figure>\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\"><tbody><tr><td><strong>Column Name<\/strong><\/td><td><strong>Data<\/strong><\/td><td><strong>Description<\/strong><\/td><\/tr><tr><td>Name<\/td><td>Zendesk Garden<\/td><td>Name of the Pack<\/td><\/tr><tr><td>Shortcode<\/td><td>garden<\/td><td>Shortcode of the pack used for filtering<\/td><\/tr><tr><td>Github Link<\/td><td><a href=\"https:\/\/github.com\/zendeskgarden\/svg-icons\">https:\/\/github.com\/zendeskgarden\/svg-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>Zendesk<\/td><td>Author of the Icon Pack<\/td><\/tr><tr><td>Author Link<\/td><td><\/td><td>Link to the Author<\/td><\/tr><tr><td>Icon SVG<\/td><td><br><\/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\"><tbody><tr><td><strong>Name<\/strong><\/td><td><strong>Transform From<\/strong><\/td><td><strong>Transform To<\/strong><\/td><\/tr><tr><td>1<\/td><td>currentColor<\/td><td>{{IconColor}}<\/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\\garden-20250511.csv&quot;\nwrite-host &quot;zendesk garden icons&quot;\n$setName = &quot;garden&quot;\n$path = &quot;D:\\Appz\\IconManager\\Packs\\garden\\svg-icons\\src\\*.svg&quot;\n$icons = get-childitem -File $path -recurse\nForEach($icon in $icons){\n    [string]$string = Get-Content $icon.FullName\n    [string]$path = $icon.DirectoryName.Split(&#039;\\&#039;)[-1]\n    $cat = $icon.Name.Split(&#039;-&#039;)[-1].Replace(&#039;.svg&#039;,&#039;&#039;)\n    $TextInfo = (Get-Culture).TextInfo\n    $stname = $icon.Name.Replace(&quot;.svg&quot;,&quot;&quot;).Replace(&quot;-&quot;,&quot; &quot;).Replace($cat,&quot;&quot;).Trim()\n    $name = $TextInfo.ToTitleCase($stname.ToLower())\n    $objResults = New-Object PSObject -Property @{\n        pp_id = $counter;\n        pp_name = $name\n        pp_svg = $string.Replace(&quot;&quot;&quot;&quot;,&quot;&#039;&quot;);\n        pp_pack = $setName\n        pp_size = $path\n        pp_category = $cat\n    }\n    $counter++\n    $objResults | Export-CSV $file -Append -NoTypeInformation -force\n}<\/code><\/pre>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Meta Data Column Name Data Description Name Zendesk Garden Name of the Pack Shortcode garden Shortcode of the&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-979","wpdmpro","type-wpdmpro","status-publish","hentry","wpdmcategory-icon-packs"],"_links":{"self":[{"href":"https:\/\/pensplace.co.uk\/index.php\/wp-json\/wp\/v2\/wpdmpro\/979","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=979"}],"wp:attachment":[{"href":"https:\/\/pensplace.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=979"}],"wp:term":[{"taxonomy":"wpdmcategory","embeddable":true,"href":"https:\/\/pensplace.co.uk\/index.php\/wp-json\/wp\/v2\/wpdmcategory?post=979"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}