Title: Parameter based on custom field
Last modified: March 1, 2023

---

# Parameter based on custom field

 *  Resolved [fsjones](https://wordpress.org/support/users/fsjones/)
 * (@fsjones)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/parameter-based-on-custom-field/)
 * Is it possible to create a parameter based on custom field (ACF)? I’m creating
   pages that include quiz questions and want to use redirect plugin to either show
   pages that the user got the question correct (for example, custom field says “
   correct”) or incorrect (for example, custom field says “incorrect”).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Christoph](https://wordpress.org/support/users/camthor/)
 * (@camthor)
 * [3 years, 3 months ago](https://wordpress.org/support/topic/parameter-based-on-custom-field/#post-16551434)
 * I’m not sure, but you could try the identifier “meta_key”, see [https://developer.wordpress.org/reference/classes/wp_query/#order-orderby-parameters](https://developer.wordpress.org/reference/classes/wp_query/#order-orderby-parameters)
   The meta_key should contain the custom field value.

Viewing 1 replies (of 1 total)

The topic ‘Parameter based on custom field’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Christoph](https://wordpress.org/support/users/camthor/)
 * Last activity: [3 years, 3 months ago](https://wordpress.org/support/topic/parameter-based-on-custom-field/#post-16551434)
 * Status: resolved