WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#39443 new defect (bug)

Search Page Template the_category() bug

Reported by: cybentizen Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7
Component: Posts, Post Types Keywords: needs-screenshots
Focuses: Cc:
PR Number:

Description

Suppose If I've selected three categories following a structure HR -> Reports -> Daily Reports.

Single.php shows the structure in the right way but when I use the same the_category () function inside Search template then it shows the different result. Rather than showing it in the default structure, it shows it like Daily Reports -> HR -> Reports. In search template the structure changes to order by name. The_category working perfectly in other pages.

Change History (1)

#1 @bhargavbhandari90
3 years ago

  • Keywords needs-screenshots added
Note: See TracTickets for help on using tickets.