Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/horttcore/custom-post-type-clients
WordPress custom post type for managing clients
https://github.com/horttcore/custom-post-type-clients
clients custom-post-type wordpress
Last synced: about 1 month ago
JSON representation
WordPress custom post type for managing clients
- Host: GitHub
- URL: https://github.com/horttcore/custom-post-type-clients
- Owner: Horttcore
- License: gpl-3.0
- Created: 2012-12-09T16:54:14.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2021-04-29T20:10:40.000Z (over 3 years ago)
- Last Synced: 2024-04-10T21:58:59.032Z (9 months ago)
- Topics: clients, custom-post-type, wordpress
- Language: PHP
- Homepage: https://horttcore.de
- Size: 232 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Custom Post Type Clients
A custom post type to manage clients
## Supports
* Title
* Post-Thumbnail
* Page Attributes## Custom Fields
* URL
## Template functions
* `get_client_url(int $post_id)` Get client url
* `the_client_url(int $post_id = the_ID() )` Print client url## Language Support
* english
* germanTranslation ready
## Hooks
### Actions
* `custom-post-type-clients-information-meta-box-before` - Post object is past as arguement
* `custom-post-type-clients-information-meta-box-after` - Post object is past as arguement### Filters
* `save-client-meta` - Save client meta
### Templating
* `custom-post-type-clients-loop-template` - Template file for the loop
* `custom-post-type-clients-single-template` - Template file for a single entry in the loop
* `custom-post-type-clients-image-size` - Default image size## Changelog
### v1.0
### v0.5
* Added: Admin logo column
* Added: Admin url column
* Added: Tempalte functions `get_client_url()` and `the_client_url()`
* Changed: Set default order to menu_order, title### v0.4
* Changed: Refactoring
* Changed: Updated register post type labels
* Changed: Updated register taxonomy labels
* Changed: Update translations
* Changed: Renamed hooks### v0.3
* Enhancement: Cleanup
* Added hook: `save-client-meta`### v0.2
* Bugfix: Fixed function comments
* Added: Hooks
* Added: Menu icon
* Enhancement: Security fixes### v0.1
* Initial release