Skip to content

Commit

Permalink
Move WordPress folder to category PHP where it belongs to
Browse files Browse the repository at this point in the history
At the moment calling the "new file" wizard will show WordPress folder on each project type, which doesn't make sense. So I added the specific category where it belongs to, which is "PHP" in this case. So it will only show up in php projects.
  • Loading branch information
Chris2011 committed Jun 13, 2023
1 parent 384610b commit bd60fcf
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,34 +8,39 @@
scriptEngine = "freemarker"),
@TemplateRegistration(
folder = "WordPress",
category = "PHP",
iconBase = WordPress.WP_ICON_16,
displayName = "#WordPress_Plugin_Template_DisplayName",
content = "WpPlugin.php",
description = "WpPluginDescription.html",
scriptEngine = "freemarker"),
@TemplateRegistration(
folder = "WordPress",
category = "PHP",
iconBase = WordPress.WP_ICON_16,
displayName = "#WordPress_Plugin_Readme_DisplayName",
content = "readme.txt",
description = "WpPluginReadmeDescription.html",
scriptEngine = "freemarker"),
@TemplateRegistration(
folder = "WordPress",
category = "PHP",
iconBase = WordPress.WP_ICON_16,
displayName = "#WordPress_Theme_Style_DisplayName",
content = "style.css",
description = "WpThemeStyleDescription.html",
scriptEngine = "freemarker"),
@TemplateRegistration(
folder = "WordPress",
category = "PHP",
iconBase = WordPress.WP_ICON_16,
displayName = "#WordPress_Child_Theme_Style_DisplayName",
content = "child-style.css",
description = "WpChildThemeStyleDescription.html",
scriptEngine = "freemarker"),
@TemplateRegistration(
folder = "WordPress",
category = "PHP",
// iconBase = WordPress.WP_ICON_16,
displayName = "#WordPress_Permalink_Htaccess_DisplayName",
content = ".htaccess",
Expand Down

0 comments on commit bd60fcf

Please sign in to comment.