# Sage 10 - not showing acf content on the pages

**URL:** https://discourse.roots.io/t/sage-10-not-showing-acf-content-on-the-pages/22114
**Category:** sage
**Tags:** acf, blade, sage10
**Created:** 2022-01-18T12:57:29Z
**Posts:** 3

## Post 1 by @stealth123 — 2022-01-18T12:57:29Z

I am using [acf](https://www.advancedcustomfields.com/) on all of my pages for the content. This is how my [homepage](https://ibb.co/tqjz5x6) 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
```

---

## Post 2 by @MWDelaney — 2022-01-18T15:30:18Z

This is more of an ACF support request, rather than a Sage one. ACF works the same way on any theme, including Sage.

I recommend reviewing the ACF documentation for how to work with ACF in your theme:

> **[ACF | Resources, Documentation, API, How to & Tutorial Articles](https://www.advancedcustomfields.com/resources/)**
>
> Discover code, documentation and ideas in this comprehensive resource section. Find everything from Getting Started, Field Types, Functions, Actions,, Filters, How to, & Tutorials

---

## Post 3 by @system — 2022-03-01T12:57:35Z

This topic was automatically closed after 42 days. New replies are no longer allowed.
