Opened 11 years ago
Closed 9 years ago
#34656 closed enhancement (duplicate)
the_archive_description doesn't display the custom post type description
| Reported by: | overclokk | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Posts, Post Types | Version: | 4.3.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | template |
Description
A while ago a I found this bug, in CPT archive the the_archive_description function doesn't display the description arguments of the register_post_type(), it displays only description for other post type.
To replicate this bug you can create a new custom post type and add a dummy description in the $args variable and see it in archive.php and CPT's archive page.
Patch created at #wpcdit, the first Italian WordPress Contributor Day with Nikolay Bachiyski
Attachments (1)
Change History (4)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Closing as a duplicate of #38487, as the patch over there provides a solution more inline with how other archive descriptions are already handled.