Support

Account

Home Forums ACF PRO Get first of layout 'type' in Flexible Content Reply To: Get first of layout 'type' in Flexible Content

  • How do you use this code?
    I added it to my fuctions.php and changed the $fc_field and $fc_layout variables to match mine, but how do I use it in my index.php loop? Do I need to call the function? Nothing happens when I add it to my functions file.

    I’m currently having to manually add an excerpt via the “except field”- <?php the_excerpt_max_charlength( 400 ); ?>

    Any help appreciated.