• Resolved SiKth

    (@sikth)


    Hi,

    With a custom shortcode generated with Shortcodes, Actions & Filters, is there any way of displaying all fields with “show”. I have tried show=”*” or don′t use “show” at all, but it does not show anything then. Right now i have a very long list of fields to be shown and it keeps getting longer.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Michael Simpson

    (@msimpson)

    With a CFDB shortcode you omit “show” than all fields are shown by default (assuming you aren’t using “hide”). I don’t why you don’t get anything. I’d have to know more about your custom shortcode.

    FYI: you can also use regaular expressions like show=”/.*name$/” I think would give you “first name”, “last name”, etc.

    Thread Starter SiKth

    (@sikth)

    I got it to work, but I don’t know how really. I used a variable in “trans=” but when i removed it from the shortcode and everything displayed fine.

    Thanks anyway! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Use of show=”*” in shortcodes’ is closed to new replies.