From 10f61099827506a611db2885f3488ebe4312ba31 Mon Sep 17 00:00:00 2001 From: Brent MacKinnon Date: Fri, 5 Jan 2024 12:39:37 -0400 Subject: [PATCH] removing developer notices (#43024) removing two developer notices and adjusting the length of a long post title. --- docs/quality-and-best-practices/coding-standards.md | 2 +- .../removing-product-product-category-or-shop-from-the-url.md | 4 +--- docs/theme-development/conditional-tags.md | 2 -- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/quality-and-best-practices/coding-standards.md b/docs/quality-and-best-practices/coding-standards.md index 32086cdb516..c4b2eee40b5 100644 --- a/docs/quality-and-best-practices/coding-standards.md +++ b/docs/quality-and-best-practices/coding-standards.md @@ -1,5 +1,5 @@ --- -post_title: Coding standards for the code snippets within the WooCommerce documentation +post_title: Coding standards --- ## Position of hooks diff --git a/docs/quality-and-best-practices/removing-product-product-category-or-shop-from-the-url.md b/docs/quality-and-best-practices/removing-product-product-category-or-shop-from-the-url.md index fa4881e284b..a17421b4ddc 100644 --- a/docs/quality-and-best-practices/removing-product-product-category-or-shop-from-the-url.md +++ b/docs/quality-and-best-practices/removing-product-product-category-or-shop-from-the-url.md @@ -1,10 +1,8 @@ --- -post_title: Removing /product/ , /product-category/ , or /shop/ from the URLs +post_title: Removing /product/ , /product-category/ , or /shop/ from URLs --- -**Note:** This is a **Developer level** doc. If you are unfamiliar with code/templates and resolving potential conflicts, select a [WooExpert or Developer](https://woo.com/customizations/) for assistance. We are unable to provide support for customizations under our [Support Policy](https://woo.com/support-policy/). - ## [In sum](https://github.com/woocommerce/woocommerce/blob/trunk/docs/quality-and-best-practices/removing-product-product-category-or-shop-from-the-urls.md#section-1) Removing `/product/`, `/product-category/`, or `/shop/` from the URLs is not advisable due to the way WordPress resolves its URLs. It uses the `product-category` (or any other text for that matter) base of a URL to detect that it is a URL leading to a product category. There are SEO plugins that allow you to remove this base, but that can lead to a number of problems with performance and duplicate URLs. diff --git a/docs/theme-development/conditional-tags.md b/docs/theme-development/conditional-tags.md index c475b8a664c..b269ccc2a97 100644 --- a/docs/theme-development/conditional-tags.md +++ b/docs/theme-development/conditional-tags.md @@ -2,8 +2,6 @@ post_title: Conditional tags --- -**Note:** This is a **Developer level** doc. If you are unfamiliar with code/tags and resolving potential conflicts, select a [WooExpert or Developer](https://woo.com/customizations/) for assistance. We are unable to provide support for customizations under our [Support Policy](https://woo.com/support-policy/). - ## What are “conditional tags”? The conditional tags of WooCommerce and WordPress can be used in your template files to change what content is displayed based on what *conditions* the page matches. For example, you may want to display a snippet of text above the shop page. With the `is_shop()` conditional tag, you can.