Home Forums Add-ons Repeater Field (again) Uncaught ReferenceError: wp is not defined Reply To: (again) Uncaught ReferenceError: wp is not defined

  • Hi,

    I had this same problem (can’t add filles, dont show visual editr), but in my case solution was easy.

    Please check your footer code:
    <? wp_footer(); ?>

    or if you use custom template
    <?php get_footer(); ?>

    I use the same version of WordPress and ACF
    Meyby this is solution for this problem.

    If you need, my all code:`/* Template Name: Dodawanie zlecenia */ ?>
    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “”&gt;
    <html xmlns=””&gt;
    <?php acf_form_head(); wp_head(); ?>
    <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
    <title>Nowe zamówienie – Drukarnia DPI</title>
    <link href=”<?php bloginfo('stylesheet_directory'); ?>/css/logowanie.css” rel=”stylesheet” type=”text/css” />
    <link href=',400,700,400italic&#039; rel='stylesheet' type='text/css'>
    $args = array(
    'post_id' => 'new',
    'field_groups' => array( 204 ),
    'submit_value' => 'Realizuj'
    <?php acf_form( $args ); wp_footer(); ?>

    Sorry for my english.
    If i’m just stupid and only I forget about footer sorry for hopes.
    In my country now is middle of night