• Dashboard
    • Submit Ticket
    • Licenses
    • Login
  • Our Products
    • BuddyBuilder
    • Kleo
    • Typer
    • Seeko
    • SweetDate
    • BuddyApp
  • Services
    • VIP Support
    • WordPress Theme Installation Service
  1. Home
  2. BuddyApp
  3. Introduction to the child theme

Introduction to the child theme

Child themes allow you to make small or large changes to the parent theme’s design or structure in an update safe way. Any changes made in the Buddyapp child theme override original files.

To get started with using a child theme you’ll first need to have the Buddyapp theme installed, then install and activate the child theme that comes bundled with Buddyapp.

Design changes

You can add custom CSS to your child theme by saving it in the style.css file. This can be added in various ways but the two most common are

– Go to WP Admin > Appearance > Editor > Buddyapp Child > Style.css

– Editing style.css directly via your favourite code editor. Navigate to /wp-content/themes/buddyapp-child/style.css

Note: You may find you do not have an ‘Editor’ option under the ‘Appearance’ menu. This is because it has been disabled in your wp-config.php file.

Additional code

You can add custom PHP to your child theme by saving it in the functions.php file. This can be added in various ways but the two most common are

– Go to WP Admin > Appearance > Editor > Buddyapp Child > Functions.php

– Editing functions.php directly via your favourite code editor. Navigate to /wp-content/themes/buddyapp-child/functions.php

Note: Entering custom code in your functions.php via the editor may result in an error that takes your website offline. If this happens you should connect via SFTP / FTP and remove the code from /wp-content/themes/buddyapp-child/functions.php. 

Note: You may find you do not have an ‘Editor’ option under the ‘Appearance’ menu. This is because it has been disabled in your wp-config.php file.

File structure

You can edit template files by copying them from the Buddyapp folder to the Buddyapp child folder. You’ll find there is no other folder structure in the Buddyapp child theme by default and you will have to create the folders to match the identical path yourself.

Example:

If you wish to edit the Paid Memberships Pro checkout template then you would copy the checkout.php file from the path below

/wp-content/themes/buddyapp/paid-memberships-pro/pages/checkout.php

Navigate to your Buddyapp child theme folder and create the below folders (shown in bold)

/wp-content/themes/buddyapp-child/paid-memberships-pro/pages/

Once the folder structure is in place copy your checkout.php file into the newly created pages folder.

/wp-content/themes/buddyapp-child/paid-memberships-pro/pages/checkout.php

You can now safely edit the copy of checkout.php from within your child theme.

Further reading

You can read more about child themes at WordPress.org

Child Themes

Blazing Fast Site Hosting & Maintenance

  • Welcome to BuddyApp!
  • Theme Requirements
  • Installing BuddyApp
  • Import Demo Content
  • Pages
  • WordPress Installation
  • Installing BuddyApp
  • Theme & Plugin Updates
  • Theme Automatic Updates
  • BuddyPress overview
  • BuddyApp Plugins
  • bbPress overview
  • rtMedia overview
  • WP Bakery Page Builder
  • Enabling BuddyPress Groups
  • Paid Memberships Pro
  • Bundled plugins and activation codes
  • Introduction to the child theme
  • Live Customizer
  • Overriding a file with the child theme
  • Saving Customizer Settings(Import/Export)
  • Ajax Login and Redirect
  • Theme Options Overview
  • Menu Customization
  • Change Header Menu Dropdown Trigger
  • Menu Customization
  • Find Theme Purchase Code
  • Translate theme with Loco Translate
  • Multilingual setup using WPML plugin
  • Translate with WPML
  • Show profile fields in the members directory
  • BuddyApp Sources & Credits
  • File Structure
  • Changelog
  • My site is slow. How to speed up my website?
  • How to add a Populated Country List XPROFILE
  • Ajax Interval Refresh - Menu Notifications & Messages
  • BuddyApp & WP Engine
  • Font Icons
  • BuddyApp Theme Hooks
  • Error 404 - Page not found
  • Troubleshooting an issue
  • Show profile fields in the members directory
  • Show profile fields in the profile header
BuddyBuilder is out. Total freedom to build online communities
SeventhQueen  - 2021 - Privacy Policy

Welcome to SeventhQueen Portal


Lost your password?

Don't have an account? Register now!

Forgot your details?



Wait, I remember now. Log In

Register your account

Sign up with Email
I have an account. Log In

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.