I found the answer in this post, thank you.
https://www.ads-software.com/support/topic/not-working-with-custom-post-type-3/
NOTE: Be sure to name your custom post type properly in the function, and if the type isn’t named ‘page’, change that as well.
Thank you.