-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom post type support #1222
Comments
Do you mean custom taxonomies? Or do you mean it's not firing on your custom post types? |
We have a custom post type and custom taxonomy for reviews that are not auto-publishing. I tested the latest plugin update on a development site and then pushed it to a sandbox environment, but the article still shows as "Not Published." Is this an issue with the plugin, or is it related to Apple? |
Did you enable Apple News support for that custom post type? Under Settings, there is a picker that lets you choose which post types the plugin is enabled for. Is your custom post type selected there? ref: https://github.com/alleyinteractive/apple-news/wiki/configuration#post-type-options Note that it's a multi-select, so if you want to select multiple types you'll have to hold down If the custom post type is selected in settings and it's still not publishing to Apple News, can you try publishing it manually? You should be able to go to Apple News > Articles and you should see it and should be able to hover over and click the Publish link. Does that succeed or fail? Does it give you an error message? |
Post Type Options Options shown are:- Posts > Selected Manually publishing fails with this message There has been an error with the Apple News API: INVALID_DOCUMENT - Invalid Content-Length [30675634] greater than 20000000 for stream [https://kelsey-other-preprod.go-vip.net/thegreatoutdoorsmag/wp-content/uploads/sites/15/2024/03/51370352629_cca8c106e6_o.jpg] If you need assistance, please reach out for support on WordPress.org or GitHub. |
@kelsey-admin-martin it seems like your document is too big. What do you have set for the "Use Remote Images?" Apple News setting? |
Use Remote Images? > Yes Since changing this to No the article published, what does this change mean for the images? |
the image you were using is 30.7 MB. Apple limits the image size it can pull in to 20 MB. If you can use an image that is smaller than 20 MB, that would probably be the best fix. If not, then turning off Remote Images will probably work, but could cause some slowness in saving/publishing posts. |
Description of the bug
The automation settings do not pickup our cutom post types, is this something you can or are looking into?
Steps To Reproduce
Additional Information
No response
The text was updated successfully, but these errors were encountered: