Support

Account

Home Forums General Issues How to Nest File & Link ACF Get Field Reply To: How to Nest File & Link ACF Get Field

  • I would do something like this, assuming that you want the link to override the file

    
    if (get_field('link')) {
      // link for href
    } elseif (get_field('flle')) {
      // file url for href
    }