Title: Custom Post Type For Push Notifications?
Last modified: October 14, 2017

---

# Custom Post Type For Push Notifications?

 *  Resolved [lazyym](https://wordpress.org/support/users/lazyym/)
 * (@lazyym)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/custom-post-type-for-push-notifications/)
 * Hi Greg,
 * I have onesignal setup for push notifications.
 * By default it will not send push notifications for classifieds.
 * The field in onesignal to setup custom posts types asks: Additional Custom Post
   Types for Automatic Notifications Created From Plugins
 * The entry field displays: forum, reply, topic. (comma separated, no spaces between
   commas)
 * What do I enter here for adverts?
 * Thank you sir!

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Plugin Author [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * (@gwin)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/custom-post-type-for-push-notifications/#post-9590294)
 * Hi, i think you should enter there ‘advert’ as WPAdverts registers post type 
   named advert.
 *  Thread Starter [lazyym](https://wordpress.org/support/users/lazyym/)
 * (@lazyym)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/custom-post-type-for-push-notifications/#post-9591186)
 * Excellent, that pulls a push!
 * It does not pull the image of the advert like it does for regular posts though.
 * Any ideas on how to make images work?
 *  Plugin Author [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * (@gwin)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/custom-post-type-for-push-notifications/#post-9593721)
 * You will most likely need to enable thumbnails support for Advert custom post
   types, see my post here [https://wordpress.org/support/topic/wpadverts-thumbnail-support/](https://wordpress.org/support/topic/wpadverts-thumbnail-support/)
   for “how to”.
 *  Thread Starter [lazyym](https://wordpress.org/support/users/lazyym/)
 * (@lazyym)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/custom-post-type-for-push-notifications/#post-9594687)
 * Thanks Greg,
 * The force featured image update plugin does work: [https://github.com/simpliko/wpadverts-snippets/blob/master/force-featured-image/force-featured-image.php](https://github.com/simpliko/wpadverts-snippets/blob/master/force-featured-image/force-featured-image.php)
 * But it is now wanting an update because someone else has built a similar plugin
   and their update damages the function. How do we turn off the update?
 *  Plugin Author [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * (@gwin)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/custom-post-type-for-push-notifications/#post-9597141)
 * Try disabling the add-on, the rename folder it is in to for example “adverts-
   force-featured-image’ and activate it again.
 *  Thread Starter [lazyym](https://wordpress.org/support/users/lazyym/)
 * (@lazyym)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/custom-post-type-for-push-notifications/#post-9597908)
 * I renamed to folder as you suggested to adverts-force-featured-image. It still
   wants to update Greg. Should I change the file name too maybe?
 *  Plugin Author [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * (@gwin)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/custom-post-type-for-push-notifications/#post-9600683)
 * You should not need to do that, maybe the information is cached somewhere, try
   clicking Check Again button from wp-admin / Dashboard / Updates panel.
 * In very least in the code snippet change version to 9999.
 *  Thread Starter [lazyym](https://wordpress.org/support/users/lazyym/)
 * (@lazyym)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/custom-post-type-for-push-notifications/#post-9601663)
 * Still there after check again, no cache either.
 * Where do I change the version to 9999? I don’t see it in the snippet?
 *  Plugin Author [Greg Winiarski](https://wordpress.org/support/users/gwin/)
 * (@gwin)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/custom-post-type-for-push-notifications/#post-9603870)
 * You can add it there on line 3 below
 *     ```
        * Plugin Name: Force Featured Image.
       ```
   
 * the version line should be
 *     ```
        * Version: 9999
       ```
   
 *  Thread Starter [lazyym](https://wordpress.org/support/users/lazyym/)
 * (@lazyym)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/custom-post-type-for-push-notifications/#post-9604670)
 * Very good, that did it. Thank you sir!

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Custom Post Type For Push Notifications?’ is closed to new replies.

 * ![](https://ps.w.org/wpadverts/assets/icon-256x256.png?rev=2423472)
 * [WPAdverts - Classifieds Plugin](https://wordpress.org/plugins/wpadverts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpadverts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpadverts/)
 * [Active Topics](https://wordpress.org/support/plugin/wpadverts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpadverts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpadverts/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [lazyym](https://wordpress.org/support/users/lazyym/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/custom-post-type-for-push-notifications/#post-9604670)
 * Status: resolved