From fa43e5087df41dccf457806f3bf27ff5d3ed87d0 Mon Sep 17 00:00:00 2001 From: Brandonma21 Date: Wed, 6 May 2026 09:04:34 +0200 Subject: [PATCH 1/4] feat: add client name field to portfolio fields and create software and project_type taxonomy --- .../group_ls_plugin_portfolio_fields.json | 21 ++++++ scf-json/taxonomy-portfolio-project-type.json | 70 +++++++++++++++++++ scf-json/taxonomy-portfolio-software.json | 70 +++++++++++++++++++ 3 files changed, 161 insertions(+) create mode 100644 scf-json/taxonomy-portfolio-project-type.json create mode 100644 scf-json/taxonomy-portfolio-software.json diff --git a/scf-json/group_ls_plugin_portfolio_fields.json b/scf-json/group_ls_plugin_portfolio_fields.json index 15a1e9f..16d5fc7 100644 --- a/scf-json/group_ls_plugin_portfolio_fields.json +++ b/scf-json/group_ls_plugin_portfolio_fields.json @@ -43,6 +43,27 @@ }, "placeholder": "https://", "default_value": "" + }, + { + "key": "field_ls_plugin_client_name", + "label": "Client Name", + "name": "ls_plugin_client_name", + "aria-label": "", + "type": "text", + "instructions": "", + "required": 0, + "conditional_logic": 0, + "wrapper": { + "width": "", + "class": "", + "id": "" + }, + "default_value": "", + "maxlength": "", + "allow_in_bindings": 0, + "placeholder": "", + "prepend": "", + "append": "" } ], "location": [ diff --git a/scf-json/taxonomy-portfolio-project-type.json b/scf-json/taxonomy-portfolio-project-type.json new file mode 100644 index 0000000..7e524ee --- /dev/null +++ b/scf-json/taxonomy-portfolio-project-type.json @@ -0,0 +1,70 @@ +{ + "key": "taxonomy_ls_plugin_portfolio_project_type", + "title": "Project types", + "menu_order": 0, + "active": true, + "taxonomy": "ls_plugin_portfolio_project_type", + "object_type": [ + "ls_plugin_portfolio" + ], + "advanced_configuration": true, + "labels": { + "name": "Project types", + "singular_name": "Project type", + "menu_name": "Project types", + "all_items": "All Project types", + "edit_item": "Edit Project type", + "view_item": "View Project type", + "update_item": "Update Project type", + "add_new_item": "Add New Project type", + "new_item_name": "New Project type Name", + "parent_item": "Parent Project type", + "parent_item_colon": "Parent Project type:", + "search_items": "Search Project types", + "popular_items": "Popular Project types", + "separate_items_with_commas": "Separate project types with commas", + "add_or_remove_items": "Add or remove project types", + "choose_from_most_used": "Choose from the most used project types", + "not_found": "No project types found", + "items_list_navigation": "Project types list navigation", + "items_list": "Project types list", + "back_to_items": "Back to Project types", + "item_link": "Project type Link", + "item_link_description": "A link to a project type." + }, + "description": "", + "capabilities": { + "manage_terms": "manage_categories", + "edit_terms": "manage_categories", + "delete_terms": "manage_categories", + "assign_terms": "edit_posts" + }, + "public": true, + "publicly_queryable": true, + "hierarchical": true, + "show_ui": true, + "show_in_menu": true, + "show_in_nav_menus": true, + "show_in_rest": true, + "rest_base": "portfolio-project-type", + "rest_namespace": "wp/v2", + "rest_controller_class": "", + "show_tagcloud": true, + "show_in_quick_edit": true, + "show_admin_column": true, + "rewrite": { + "slug": "portfolio-project-type", + "permalink_rewrite": "custom_permalink", + "with_front": "1", + "rewrite_hierarchical": "1" + }, + "query_var": "post_type_key", + "query_var_name": "", + "default_term": { + "default_term_enabled": "0" + }, + "sort": false, + "meta_box": "default", + "meta_box_cb": "", + "meta_box_sanitize_cb": "" +} diff --git a/scf-json/taxonomy-portfolio-software.json b/scf-json/taxonomy-portfolio-software.json new file mode 100644 index 0000000..4cc280f --- /dev/null +++ b/scf-json/taxonomy-portfolio-software.json @@ -0,0 +1,70 @@ +{ + "key": "taxonomy_ls_plugin_portfolio_software", + "title": "Softwares", + "menu_order": 0, + "active": true, + "taxonomy": "ls_plugin_portfolio_software", + "object_type": [ + "ls_plugin_portfolio" + ], + "advanced_configuration": true, + "labels": { + "name": "Softwares", + "singular_name": "Software", + "menu_name": "Softwares", + "all_items": "All Softwares", + "edit_item": "Edit Software", + "view_item": "View Software", + "update_item": "Update Software", + "add_new_item": "Add New Software", + "new_item_name": "New Software Name", + "parent_item": "Parent Software", + "parent_item_colon": "Parent Software:", + "search_items": "Search Softwares", + "popular_items": "Popular Softwares", + "separate_items_with_commas": "Separate softwares with commas", + "add_or_remove_items": "Add or remove softwares", + "choose_from_most_used": "Choose from the most used softwares", + "not_found": "No softwares found", + "items_list_navigation": "Softwares list navigation", + "items_list": "Softwares list", + "back_to_items": "Back to Softwares", + "item_link": "Software Link", + "item_link_description": "A link to a software." + }, + "description": "", + "capabilities": { + "manage_terms": "manage_categories", + "edit_terms": "manage_categories", + "delete_terms": "manage_categories", + "assign_terms": "edit_posts" + }, + "public": true, + "publicly_queryable": true, + "hierarchical": true, + "show_ui": true, + "show_in_menu": true, + "show_in_nav_menus": true, + "show_in_rest": true, + "rest_base": "portfolio-software", + "rest_namespace": "wp/v2", + "rest_controller_class": "", + "show_tagcloud": true, + "show_in_quick_edit": true, + "show_admin_column": true, + "rewrite": { + "slug": "portfolio-software", + "permalink_rewrite": "custom_permalink", + "with_front": "1", + "rewrite_hierarchical": "1" + }, + "query_var": "post_type_key", + "query_var_name": "", + "default_term": { + "default_term_enabled": "0" + }, + "sort": false, + "meta_box": "default", + "meta_box_cb": "", + "meta_box_sanitize_cb": "" +} From 1c2862a35a132ad87dc8fcc9b11f3d139500393f Mon Sep 17 00:00:00 2001 From: Brandonma21 Date: Tue, 12 May 2026 16:39:51 +0200 Subject: [PATCH 2/4] fix: correct title from "Softwares" to "Software" in portfolio taxonomy --- scf-json/taxonomy-portfolio-software.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scf-json/taxonomy-portfolio-software.json b/scf-json/taxonomy-portfolio-software.json index 4cc280f..722faaa 100644 --- a/scf-json/taxonomy-portfolio-software.json +++ b/scf-json/taxonomy-portfolio-software.json @@ -1,6 +1,6 @@ { "key": "taxonomy_ls_plugin_portfolio_software", - "title": "Softwares", + "title": "Software", "menu_order": 0, "active": true, "taxonomy": "ls_plugin_portfolio_software", From 1c598ac38f7ce31f26aaac37c331535b5311d1d5 Mon Sep 17 00:00:00 2001 From: Warwick Booth Date: Wed, 13 May 2026 13:45:09 +0200 Subject: [PATCH 3/4] Apply suggestion from @gemini-code-assist[bot] Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Warwick Booth --- scf-json/taxonomy-portfolio-software.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scf-json/taxonomy-portfolio-software.json b/scf-json/taxonomy-portfolio-software.json index 722faaa..6fc4923 100644 --- a/scf-json/taxonomy-portfolio-software.json +++ b/scf-json/taxonomy-portfolio-software.json @@ -58,7 +58,7 @@ "with_front": "1", "rewrite_hierarchical": "1" }, - "query_var": "post_type_key", + "query_var": true, "query_var_name": "", "default_term": { "default_term_enabled": "0" From 581f3c5061fcb0567e05c766418a0c73eb7b2c9e Mon Sep 17 00:00:00 2001 From: Warwick Booth Date: Wed, 13 May 2026 13:45:18 +0200 Subject: [PATCH 4/4] Apply suggestion from @gemini-code-assist[bot] Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Signed-off-by: Warwick Booth --- scf-json/taxonomy-portfolio-project-type.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scf-json/taxonomy-portfolio-project-type.json b/scf-json/taxonomy-portfolio-project-type.json index 7e524ee..b62eaab 100644 --- a/scf-json/taxonomy-portfolio-project-type.json +++ b/scf-json/taxonomy-portfolio-project-type.json @@ -58,7 +58,7 @@ "with_front": "1", "rewrite_hierarchical": "1" }, - "query_var": "post_type_key", + "query_var": true, "query_var_name": "", "default_term": { "default_term_enabled": "0"