[wp-trac] [WordPress Trac] #60493: Query loop block: Search Template Issues

WordPress Trac noreply at wordpress.org
Mon Feb 12 18:28:14 UTC 2024


#60493: Query loop block: Search Template Issues
-------------------------------+------------------------------
 Reporter:  rawdolphe          |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Query              |     Version:  6.4.3
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by poena):

 Hi

 It is still unclear to me what you are trying to do.

 You are describing what options you are changing, but not what your goal
 is.

 You wrote that the search results are showing both posts and pages. Are
 you trying to show only posts?


 It is not possibly to set the filters you are describing when the option
 "inherit from template" is enabled. And you can see in the help text below
 the option, that it needs to be enabled on the search template.


 It might look like it is working on archives, because the archives do not
 need to filter the results with a search query, so it can display all the
 results according to the block settings.


 I can't speak for what is in the video. There is no way to determine that
 it is showing the correct results without having a copy of the content.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60493#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list