WPDR will support Featured Image
-
Thank you for upgrading your plugin.
Since I had been doing some work on WPDR, I installed your plugin and took a look.
I recently made a fix to allow WPDR to support Featured Images – and this is in the version on Ben Balter’s github repository, so I expect it will be released at some time.
Since the Featured Image metabox disappeared, I looked for why.
Your code filters “supports” – and uses a default set of values. That’s OK for the current release version as the default set is that of WPDR.
Would it be possible sometime to change the code to
$args[ 'supports' ] = apply_filters( 'wpdrsd_filter_post_type_supports', $args[ 'supports' ] );
Unless, of course, you do not want Featured Images to be supported.
Can I point out a couple of things of
ddw_wpdrsd_post_type_as_downloads
function for your consideration please:1. It filters on
register_post_type_args
– and needs to test for the post type.It could filter on the existing WPDR filter
document_revisions_cpt
and then only be invoked for the document post type.2. It tests for the option
wpdrsd_downloads_labels
. If not there, it returns without a value.It should
return $args
Hope this is of use.
Regards,
Neil James
- The topic ‘WPDR will support Featured Image’ is closed to new replies.