Home › Forums › Add-ons › Repeater Field › (again) Uncaught ReferenceError: wp is not defined › Reply To: (again) Uncaught ReferenceError: wp is not defined
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” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<?php acf_form_head(); wp_head(); ?>
<meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />
<title>Nowe zamówienie – Drukarnia DPI</title>
<META NAME=”ROBOTS” CONTENT=”NOINDEX, NOFOLLOW”>
<link href=”<?php bloginfo('stylesheet_directory'); ?>/css/logowanie.css” rel=”stylesheet” type=”text/css” />
<link href='http://fonts.googleapis.com/css?family=Lato:300,400,700,400italic' 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
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
The ACF site is currently experiencing some issues.— Advanced Custom Fields (@wp_acf) September 21, 2022
We apologize for the inconvenience and we are working hard to get it back up and running as soon as possible.
© 2022 Advanced Custom Fields.