https://github.com/wordpress-phoenix/developer-snippets
Collection of developer php classes and or functions to assist in commonly requested features.
https://github.com/wordpress-phoenix/developer-snippets
php wordpress wordpress-development
Last synced: about 1 month ago
JSON representation
Collection of developer php classes and or functions to assist in commonly requested features.
- Host: GitHub
- URL: https://github.com/wordpress-phoenix/developer-snippets
- Owner: WordPress-Phoenix
- Created: 2017-08-10T18:40:04.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-10T19:02:00.000Z (almost 9 years ago)
- Last Synced: 2025-03-21T22:21:50.292Z (over 1 year ago)
- Topics: php, wordpress, wordpress-development
- Language: PHP
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WordPress (Phoenix) Developer Snippets
Collection of developer php classes and or functions to assist in commonly requested features.
## Custom Post Formats
Creating custom post formats is hard. Some of the WordPress core team doesn't beleive in allowing customization of post formats, and have not offered to assist us in the process of hooking and building our own. However, we have been able to work around the code and provide a way to create and use custom post formats of your own.
You can follow along in the WordPress trac ticket here: https://core.trac.wordpress.org/ticket/31399
You can use the following snippet library to assess and build your own custom post formats:
[Custom Post Formats](snippets/custom_post_formats/)
Start by investigating the primary class
[class-custom-post-formats.php](snippets/custom_post_formats/class-custom-post-formats.php)
## What Next?
Have something to contribute? send us a PR and we will pull in anything we deem valuable and generic enough for the community as a whole.