From 1b8d04e60da247675752a5d950be92c7b47a5a46 Mon Sep 17 00:00:00 2001 From: TomJaeger Date: Wed, 6 May 2026 16:33:18 -0400 Subject: [PATCH] Add search form entry_id parameter docs --- docs/add-ons/search/advanced.md | 14 ++++++++++++++ docs/add-ons/search/simple.md | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/docs/add-ons/search/advanced.md b/docs/add-ons/search/advanced.md index 76207ca6d..2adaa86be 100755 --- a/docs/add-ons/search/advanced.md +++ b/docs/add-ons/search/advanced.md @@ -257,6 +257,20 @@ Or you can add the word "not" (with a space after it) to exclude channels: channel="not channel1|channel2|channel3" +### `entry_id=` + + entry_id="147" + +You can hard code the search form to only include specific entries. You may also specify multiple entries by separating them with the pipe character: + + entry_id="13|42|147" + +Or use "not" to exclude entries: + + entry_id="not 45|534|807" + +If you set the entry_id parameter to no value, the parameter will be ignored. + ### `form_class=` form_class="search_form" diff --git a/docs/add-ons/search/simple.md b/docs/add-ons/search/simple.md index e6d1047e6..5a5d2fb25 100755 --- a/docs/add-ons/search/simple.md +++ b/docs/add-ons/search/simple.md @@ -161,6 +161,20 @@ Or you can add the word "not" (with a space after it) to exclude channels: channel="not channel1|channel2|channel3" +### `entry_id=` + + entry_id="147" + +You can hard code the search form to only include specific entries. You may also specify multiple entries by separating them with the pipe character: + + entry_id="13|42|147" + +Or use "not" to exclude entries: + + entry_id="not 45|534|807" + +If you set the entry_id parameter to no value, the parameter will be ignored. + ### `where=` where="all"