Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Copying functions.php to child theme

  • @ace200

    Participant

    How can I copy functions.php from “BuddyPress Default” into my child theme without getting an error when I reload the site?

    Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • @mrjarbenne

    Participant

    Unlike CSS, which a child theme will override the parent theme files, a child theme will utilize both functions.php files.

    See the WordPress Codex: https://codex.wordpress.org/Child_Themes#Using_functions.php
    And the Buddypress Codex: https://codex.buddypress.org/legacy/building-a-buddypress-child-theme/

    So don’t copy it over. The functions are being applied in your child theme already. If there are additional functions you want to add in your child theme, add them to the child theme functions.php file.

    @ace200

    Participant

    I wanted to let you know that there’s only about 5 lines of code in my child theme’s functions.php file…And nothing more. Am I missing something? Thank you.

    @ace200

    Participant

    Actually, I think I got your point now!!

    Thank you ;).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Copying functions.php to child theme’ is closed to new replies.
Skip to toolbar