Dynamic Redirect via Shortcode

Support General Dynamic Redirect via Shortcode

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #31350
    Thomas PinkusThomas Pinkus
    Participant

    Hi!

    In a previous question on this subuject HERE it was stated that you were "adding the redirect option to the shortcode" in the next version. Unfortunnatly I'm unable to find how to actually add this.

    Here is my shortcode that delivers a URL via a custom field. [rwmb_meta id='eeo_file' object_id='station_settings' object_type='setting']

    While I'm on this subject, hoping to find the answer, will the redirect be able to target a new browser tab?

    Thx!!!

    #31366
    Long NguyenLong Nguyen
    Moderator

    Hi Thomas,

    The redirect attribute of the frontend shortcode has been added. Please read more on the documentation
    https://docs.metabox.io/extensions/mb-frontend-submission/#shortcode-attributes

    [mb_frontend_form id="meta-box-id" post_fields="title,content" redirect="http://your-site-url.com"]
    
    #31368
    Thomas PinkusThomas Pinkus
    Participant

    Thank you for getting back to me. So the redirect is only for a FORM? Okay, I was looking to use a URL from a Custom Field to redirect a page.

    Thx

    #31382
    Long NguyenLong Nguyen
    Moderator

    Hi,

    You can use the URL field to redirect a page, refer to this topic
    https://support.metabox.io/topic/using-url-field-type/

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.