Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Mohammad Asad
Mohammad Asad
3,944 Points

Problem With Advanced Custom Field

Hi WordPress Theme Developers,

I am a novice in WP theme development. Currently I am trying to convert a Static website to WP. I am trying to make a dynamic section using Advanced Custom Field Plugin. Please have a look at the screenshots. I don't understand what is wrong with my codes. It outputs an empty field. Somedays ago I did a project with the some techniques, it's working fine. But now I am feeling trouble, please help!

https://ibb.co/fsBKmK https://ibb.co/k4rr0e https://ibb.co/m0sQRK https://ibb.co/kkQJfe

1 Answer

Rama Olson
Rama Olson
11,670 Points

You have to echo those variables.

<?php echo $welcome_title; ?>

Mohammad Asad
Mohammad Asad
3,944 Points

Yeah, You are right. What a terrible mistake it was! Thanks