Support for custom post types
-
Hi there,
Thanks for writing this plugin. Would it be possible to support more post types? I have a number of custom post types that would benefit from having some custom css injected.
Having looked at your code quickly, I think changing line 60 in the main plugin file to:
$post_types = apply_filters( 'wp-add-custom-css-supported-post-types', array( 'post', 'page' ) );would do the trick…
Thanks,
Thijs
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Support for custom post types’ is closed to new replies.