[wp-trac] [WordPress Trac] #39443: Search Page Template the_category() bug

WordPress Trac noreply at wordpress.org
Tue Jan 3 07:38:11 UTC 2017


#39443: Search Page Template the_category() bug
-------------------------------+-----------------------------
 Reporter:  cybentizen         |      Owner:
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:  4.7
 Severity:  normal             |   Keywords:
  Focuses:                     |
-------------------------------+-----------------------------
 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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39443>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list