Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: child theme functions.php

@r-a-y

Keymaster

The step there isn’t really clear.

By renaming functions, what the codex article means is renaming the function name and not the filename.

Continue using /wp-content/themes/YOUR-THEME/functions.php. Just try to prefix your function names in this file.

eg.

`
// bad
function do_crazy_stuff() {

}`

`// better
function my_theme_do_crazy_stuff() {

}
`

Skip to toolbar