PostTypes
PostTypes copied to clipboard
Simple WordPress custom post types.
the error in taxonomy.php on line 361 causes another issue with the HappyFiles plugin (https://happyfiles.io) - I'm unable to create a new folder using HappyFiles in PHP 8 - it...
was just chatting with wpengine - they provided me an error log file with tons off fatal PHP errors referring to taxonomy.php line 361 - let me know if you...
Provide the ability to create custom bulk and row actions with PostTypes. An example of the API could be as follows, but needs further exploration. ```php // Create a basic...
This PR refactors Post Type and Taxonomy classes by moving the logic to handle registering types to WordPress to their own separate Registrar classes. This is a large change but...
hello allow me a quick question hiding e.g. the 'author' column for posts works just fine - was trying to use the same code for post type 'attachment' but couldn't...
[11-Dec-2021 12:33:41 UTC] PHP Warning: in_array() expects parameter 2 to be array, null given in /public/wp-content/plugins/bgi-plugin/vendor/jjgrainger/posttypes/src/Taxonomy.php on line 360 [11-Dec-2021 12:33:41 UTC] PHP Stack trace: [11-Dec-2021 12:33:41 UTC] PHP 1....
Add default column populate method referred in issue #67.
In my usecase, i added serval post metas in columns, is there any way to set default column polulate method? so we can keep the code more dry? maybe add...
Between `PostType` and `Taxonomy` classes, there is repeated code around the names, labels, options, and column methods. Consider using PHP traits to reduce duplicate code and make it easier to...
ERROR: ``` PHP Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in .../vendor/jjgrainger/posttypes/src/Taxonomy.php:361 ``` FIX: return empty array if `$query->query_vars['taxonomy']` is null. Closes:...