• Resolved clancel

    (@clancel)


    Hi. I have a field that has 3 dropdown options that was created through a simple custom defined relationship. I wish to show one of the options in a specific user page through a shortcode. The shortcode that I’m using does not show the option that relates to the user. I need help with a shortcode.
    Below is a shortcode I have used.
    [pods name=”payment” id=”2100″ field=”card”]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jory Hogeveen

    (@keraweb)

    The shortcode that I’m using does not show the option that relates to the user.

    What do you mean. The shortcode you’re using will show the card field for payment post ID 2100 in all cases.

    Cheers, Jory

    Thread Starter clancel

    (@clancel)

    Hi. Thank you for your response. ‘Card’ field contains 3 dropdown selections –
    4 Lessons, 10 Lessons and 20 Lessons. The shortcode I used does not show the correct selection. I would like to be able to show one of the three selections on the Student Page. So if the Student Page ID is 2100, his card field selection should show 4 lessons. I hope I made myself more clear. I just need to know how to write a shortcode for this.

    Plugin Author Jory Hogeveen

    (@keraweb)

    That is not how the Pods shortcode works.
    It will only show the selection for that field, not the options.
    The options are only shown when editing the Payment Pod.

    Creating a dropdown is something different and not supported by Pods using shortcodes.
    You could look into Pods Form but since that is not really documented anywhere I think in your case a plugin like GravityForms would be better.

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

The topic ‘Simple Relationship Pods Shortcode’ is closed to new replies.