Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working almost at all. #7

Open
ivandoric opened this issue May 16, 2014 · 1 comment
Open

Not working almost at all. #7

ivandoric opened this issue May 16, 2014 · 1 comment

Comments

@ivandoric
Copy link

Wordpress 3.9.1
ACF - 4.3.8

When using CSS, doesn't output anything.

When using PHP throws eval error if the code is not evaluated properly, and if it is evaluated properly it doesn't output anything.

When using HTML it outputs that HTML on page. Doesn't show the code. It just becomes part of the page.

Didn't try JS.

Am I missing something here. I tried it on my custom theme, and on twentytwelve, same errors on both of them.

Should I wrap the_field('code_area_field'); in something?

@ivandoric
Copy link
Author

Ok this plugin definitely just outputs the code. If I write this in the editor:

add_action('acf/register_fields', 'my_register_fields');

function my_register_fields()
{
include_once('acf_code_area-field/acf_code_area-v3.php');
}

It throws an error:

Fatal error: Cannot redeclare my_register_fields() (previously declared in ... which you would expect if you try to redeclare plugin function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant