I am using ACF plugin for the first time and I was able to successfully display a Sponsor to my front page. But now I am trying to add a custom input field as,
Other Contribution: <text box that accepts numbers>
The user should be able to enter some amount in the above text box. And on the next page I retrieve the value entered by the user and use it.
I created a new “Field Group” as “Other Contribution” and added a field to it as “Additional Contribution” with field type as ‘Number’ and Location Rule as “Post Type is equal to post”. Then I added the following code to functions.php but the home page doesn’t load completely. It displays the heading “Registration” and nothing else below it.
<div id=”content” role=”main”>
<?php /* The loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>