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

Basic installation question #9

Closed
rsrc1147 opened this issue Aug 4, 2012 · 4 comments
Closed

Basic installation question #9

rsrc1147 opened this issue Aug 4, 2012 · 4 comments

Comments

@rsrc1147
Copy link

rsrc1147 commented Aug 4, 2012

Sorry - I know I should know this but to install the add on, I have uploaded it into my plugins folder, but where do I put the registration code? And if it is in my plugins folder are you able to give an example of what I might enter as the direct path please?

Thank you and sorry again!
James

@rpcook
Copy link

rpcook commented Sep 20, 2012

+1 to this.

I'm afriad that I'm new enough to WordPress that I can't follow the installation instructions that come with this plugin. Specifically, I don't understand where to put the code files on the webserver (blank WP 3.4.2 install) nor where the quoted php code should be inserted.

Apologies for this (I'm sure) trivial query.

Thanks,
Rob

@frankspin
Copy link

Please point us in the right direction. Do we need to include this in our theme functions.php or in acf.php ?

@trewknowledge
Copy link

For those who are having a hard time installing this add on. This is what I did:

  • In my theme's root folder I created a subfolder called "acf" and put the users_field.php file in that folder.
  • In my theme's "functions.php" file also located in my themes root folder I added the code:

' if(function_exists('register_field')) {
register_field('Users_field', dirname(File) . '/acf/users_field.php');
}
'

That is all you need to do to get this working.

@lewismcarey
Copy link
Owner

I have improved the installation page as per trewknowledge's additions

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

4 participants