Support

Account

Home Forums General Issues Prepend Setting for text field

Solved

Prepend Setting for text field

  • I am new to web development and have been learning as I go so be patient with me. I have created a field group with 9 fields, went to tools and generated the php, copied the code and pasted into a site-specific plugin and then uploaded and activated. Then in my theme file single.php added the fields example “<h3><?php the_field(‘step_1_title’); ?></h3>” but I added a prepend for text to appear before that “Title” is displayed “Step 1”. I can’t get the prepend to show up though. I have read the documentation and I still don’t understand (I am the problem not the documentation). Any help would be appreciated.

  • The “Prepend” and “Append” settings only add this in the admin when you’re editing and not on the front end when showing field values. You need to add it yourself there.

  • Thank you for your response. That helped push me in the right direction.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.