Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Where to put custom functions? #360

Closed
swthate opened this issue Jun 3, 2015 · 2 comments
Closed

Where to put custom functions? #360

swthate opened this issue Jun 3, 2015 · 2 comments

Comments

@swthate
Copy link

swthate commented Jun 3, 2015

Sorry if this is a pretty "noob" question, but where in this theme's structure is the best place to put custom php functions? Should I put them in at the bottom of functions.php? Create a separate file in the library dir? Just wondering what the best practice would be, thanks :)

@AdamChlan
Copy link
Contributor

I typically create a new file in the library dir, and call it from the functions.php file.

@swthate
Copy link
Author

swthate commented Jun 4, 2015

Thanks :)

@swthate swthate closed this as completed Jun 4, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants