Title: Using with custom post type?
Last modified: August 18, 2022

---

# Using with custom post type?

 *  Resolved [Soprano](https://wordpress.org/support/users/soprano/)
 * (@soprano)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/using-with-custom-post-type-3/)
 * Hello,
 * I love the idea of this plugin.
 * I have a custom post type I’ve created called “Videos” to separate my content
   from the text posts.
 * Is it possible to just select the random posts to target one of the custom video
   post type?
 * Thank you.
 * Matt

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

 *  [airdrummer](https://wordpress.org/support/users/airdrummer/)
 * (@airdrummer)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/using-with-custom-post-type-3/#post-15927895)
 * rtfm;-)
 * post_type
    Default is “post”. Needs to be set if you want to redirect to anything
   else, like “product” or “page”. Note for custom post types: Requires has_archive
   in the definition of that post type.
 *  [https://documentation.chattymango.com/documentation/redirect-url-to-post/getting-started-redirect-url-to-post/search-parameters/](https://documentation.chattymango.com/documentation/redirect-url-to-post/getting-started-redirect-url-to-post/search-parameters/)
 *  Plugin Author [Christoph](https://wordpress.org/support/users/camthor/)
 * (@camthor)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/using-with-custom-post-type-3/#post-15927964)
 * Yep 🙂 … and here is some inspiration from examples to build the URL: [https://documentation.chattymango.com/documentation/redirect-url-to-post/getting-started-redirect-url-to-post/examples-wordpress-redirects-to-posts/#random-of-another-post-type](https://documentation.chattymango.com/documentation/redirect-url-to-post/getting-started-redirect-url-to-post/examples-wordpress-redirects-to-posts/#random-of-another-post-type)
 *  Thread Starter [Soprano](https://wordpress.org/support/users/soprano/)
 * (@soprano)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/using-with-custom-post-type-3/#post-15930752)
 * Terrific, love this plugin, thank you!

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

The topic ‘Using with custom post type?’ is closed to new replies.

 * ![](https://ps.w.org/redirect-url-to-post/assets/icon-256x256.png?rev=1742449)
 * [Random Post Plugin - Redirect URL to Post](https://wordpress.org/plugins/redirect-url-to-post/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/redirect-url-to-post/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/redirect-url-to-post/)
 * [Active Topics](https://wordpress.org/support/plugin/redirect-url-to-post/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redirect-url-to-post/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redirect-url-to-post/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [Soprano](https://wordpress.org/support/users/soprano/)
 * Last activity: [3 years, 9 months ago](https://wordpress.org/support/topic/using-with-custom-post-type-3/#post-15930752)
 * Status: resolved