I am using acf on all of my pages for the content. This is how my homepage looks using acf fields for the data.
using the_content()
or get_the_content()
only outputs the string this is homepage content
which is not part of acf but the normal wordpress content. Is this the correct way of fetching the data in this case or something else has to be set up?
contents of page.blade.php
@extends('layouts.app')
@section('content')
@while(have_posts()) @php(the_post())
@include('sage-partials.page-header')
@php the_content() @endphp
@endwhile
@endsection