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

Avoid duplicating data in the backend #7

Open
benorgan opened this issue Sep 13, 2018 · 2 comments
Open

Avoid duplicating data in the backend #7

benorgan opened this issue Sep 13, 2018 · 2 comments

Comments

@benorgan
Copy link

echo CFS()->get( 'partners_contact_name', 175 ); ?><span>

You already have this field for the contact page (see themes/community-land-trust/page-templates/contact.php)

@jaridnft
Copy link
Collaborator

Is this still an issue if the field number is explicitly passed into the function call?

@benorgan
Copy link
Author

Sorry, I wasn't clear with my description. I mean you have the same data in two different places in the backend. It would be better to just use one CFS field for both instances (passing in the ID as a second parameter).

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

2 participants