Changes between Version 1 and Version 2 of Ticket #12955, comment 50
- Timestamp:
- 11/18/2016 11:02:27 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12955, comment 50
v1 v2 3 3 > Though you cannot extend WP_Post you can build a custom wrapper. 4 4 5 Actually, ''technically speaking,'' you are absolutely correct. It is completely technically possible to create a custom wrapper function.5 Actually, ''technically speaking,'' you are absolutely correct. It is completely technically possible to create a custom wrapper class around `WP_Post`. 6 6 7 The problem is that -- '''practically speaking''' -- you cannot actually use itin a typical WordPress theme.7 However, the problem is that -- '''practically speaking''' -- you cannot actually use said custom wrapper class in a typical WordPress theme. 8 8 9 9 Try the following; add this to `functions.php` in the your theme:
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)