Custom field now showing up on my new page using WordPress?

enter image description here

I created a new template for a page.

<?php
    /**
     * Template Name: Sponsors For Homepage
     */
    ?>

    <html>
    <body>
    <?php get_header('sponsor'); ?>

    <div class='divone'>
      <?php the_content(); ?>
    </div>

    <div class='divtwo'>
    <?php sponser_advertisement(); ?>
    </div>

    </section>
    </body>
    </html>

And I added a new custom field for the template. Using the Advanced Custom Fields plugin 4.4.8

I made sure that the field would show on the correct template:

The fields showed up on my template page

enter image description here

For some reason the field value “This is the new field” does not not show up when I preview the page in my browser.

Thanks in advance.

Suggestions?

Read more here: Custom field now showing up on my new page using WordPress?

Leave a Reply

Your email address will not be published. Required fields are marked *