Support

Account

Home Forums General Issues Can't get ACF fields to display on other pages Reply To: Can't get ACF fields to display on other pages

  • I can’t give you any help with Avada, I don’t know anything about it.

    With basic PHP you need to supply the post ID of the post you want to get the value from.

    the_field('discord_channel_title', $post_id);

    How or where you’d get this post ID value at the location you want to show the value is what I can’t say. Usually there is some type of loop. For example the standard WP post loop looks something like this

    
    while (have_posts()) {
      the_post();
      // $post_id is assumed to be the post ID of this post
      the_field('discord_channel_title');
    }
    

    I can’t say how you would get the post ID where you are trying to use ACF in Avada.