If name="post_type" is set in search template the archive template is loaded.
|Reported by:||ZaneMatthew||Owned by:|
I have a hidden form field named "post_type", which is used in the search form. When the user searches the archive.php template is loaded and not the search.php template.
I'm not sure if this is a bug, or unexpected behavior, note my fix was to use a different form field name.
Change History (14)
comment:4 SergeyBiryukov — 18 months ago
comment:13 webord — 5 months ago
- Keywords close added
- Resolution set to invalid
- Status changed from new to closed