Support » Plugin: Advanced Custom Fields (ACF) » Fatal Error: Call to undefined function the_field()

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Md Jahidul Islam

    (@onetarek)

    My issue has been solved. That was my mistake. Actually I downloaded this plugin for wordpress.org and plugin files were blank. Then I downloaded this plugin form https://github.com/elliotcondon/acf/. Now it works for me.

    Can you tell me what files where empty? I did install both versions of this plugin in wordpress 3.5.2, via wordpress and git. And in both case I have the same error, Call to undefined function the_field().

    In my case I solved it by placing the call out of the custom fields after:

    <?php get_template_part( 'content', 'meta' ); ?>

    And I call the fields like this:

    <?php the_field('ip_address'); ?>

    Hope this helps somebody else.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal Error: Call to undefined function the_field()’ is closed to new replies.