Support » Plugin: GeoIP Detection » Wrap Shortcode with Advanced Custom Fields

  • Resolved Yash Baldawa

    (@baldawayash15)


    Hey there,
    Can I wrap your plugin shortcode in an Advanced Custom Fields(ACF) plugin shortcode?

    Thanks in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Benjamin Pick

    (@benjamin4)

    Oh I didn’t know ACF had shortcodes .. interesting. Can you give an example of what you try to do?

    It seems that pre-filling a value is not supported by ACF. Nesting shortcodes is possible in theory, but only with the [shortcode]inside[/shortcode]-Syntax. So without PHP this will not be possible, I guess.

    Hey there,
    ACF also provides shortcodes to display the field data using shortcode [acf field="{$field_name}"] which is same as the_field() . I was wondering if we could wrap your plugin shortcode in an ACF field would it work?

    Plugin Author Benjamin Pick

    (@benjamin4)

    I don’t understand, what are you trying to achieve?

    Hey there,
    Thanks for the help. I managed to find the solution for my problem. 🙂

    • This reply was modified 10 months, 1 week ago by Yash Baldawa.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Wrap Shortcode with Advanced Custom Fields’ is closed to new replies.