• MattDotCom

    (@mattdotcom)


    Hello! Is it possible to call a post’s ACF field with the [ccc_my_favorite_list_results] shortcode? Even a roundabout solution would be great!

    • This topic was modified 2 years ago by MattDotCom.
Viewing 1 replies (of 1 total)
  • Plugin Author Takashi Matsuyama

    (@takashimatsuyama)

    Hello! @mattdotcom

    Thank you for your rating and your question.

    If you would like to add your own functionality, please try this shortcode.

    shortcode: [ccc_my_favorite_list_custom_template]

    You can customize the list view.

    ACF get_field() function

    But I’m sorry. I’ve never used “ACF get_field()” with this shortcode, so I don’t know about compatibility, but I think you can use it by putting the post ID in get_field().

    get_field( 'your_field_name', $the_query->post->ID );

    Please see the related topic for usage.

    I hope this is helpful.

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘Call an ACF Advanced Custom Field in Faves List?’ is closed to new replies.