[wp-trac] [WordPress Trac] #43347: Introduction of 'has_single' register_post_type parameter

WordPress Trac noreply at wordpress.org
Thu Mar 12 13:23:49 UTC 2020


#43347: Introduction of 'has_single' register_post_type parameter
-------------------------------+------------------------------
 Reporter:  stevepuddick       |       Owner:  (none)
     Type:  feature request    |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:  template
-------------------------------+------------------------------

Comment (by powerbuoy):

 I know this is a two year old issue by now, but for anyone else requesting
 this I've written some code to make `has_single` work:
 https://github.com/powerbuoy/sleek-post-types/blob/master/has-single.php

 Official support would be preferred obviously.

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


More information about the wp-trac mailing list