[Resolved] Custom field values as dynamic values in shortcodes – [Closed]

Home Forums Support [Resolved] Custom field values as dynamic values in shortcodes – [Closed]

Home Forums Support Custom field values as dynamic values in shortcodes – [Closed]

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2351297
    vast

    The post How to use custom field values as dynamic data in shortcodes and HTML works great if the output is a string. Is there a similar approach for objects such as files i.e. it outputs a title of the file and a link to download it for a given post or a list of titles and links if there’s more than one file?

    #2351308
    Fernando
    Customer Support

    Hi vast,

    What plugin are you using to generate the Custom fields?

    #2351940
    vast

    Advanced Custom Fields – https://www.advancedcustomfields.com/

    #2351965
    Ying
    Staff
    Customer Support

    Hi there,

    It’s better to reach out to the ACF plugin for further instructions.

    #2367418
    vast

    ACF spits out an array for objects.

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