• Dashboard
    • Submit Ticket
    • Licenses
    • Login
  • Our Products
    • BuddyBuilder
    • Kleo
    • Typer
    • Seeko
    • SweetDate
    • BuddyApp
  • Services
    • VIP Support
    • WordPress Theme Installation Service
  1. Home
  2. SweetDate
  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 Sweetdate child theme override original files.

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

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 > Sweetdate Child > Style.css

– Editing style.css directly via your favourite code editor. Navigate to /wp-content/themes/sweetdate-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 > Sweetdate Child > Functions.php

– Editing functions.php directly via your favourite code editor. Navigate to /wp-content/themes/sweetdate-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/sweetdate-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 Sweetdate folder to the Sweetdate child folder. You’ll find there is no other folder structure in the Sweetdate 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/sweetdate/paid-memberships-pro/pages/checkout.php

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

/wp-content/themes/sweetdate-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/sweetdate-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 SweetDate!
  • Theme Requirements
  • WordPress Installation
  • Install Theme & Setup
  • Search Form Setup for 3.0
  • Updating to SweetDate 3.4
  • Verify server configuration and theme requirements
  • How to manually update the theme
  • Theme Automatic Updates
  • BuddyPress overview
  • Elementor overview
  • bbPress overview
  • Memberships
  • Membership overview
  • rtMedia overview
  • Restrict website for non logged in members
  • Extended features
  • Paid Memberships Pro
  • Revolution Slider plugin
  • Woocommerce
  • Enabling BuddyPress Groups
  • GEO My WP + Sweetdate: Add a map search and location
  • Add link to element or button in Revolution Slider 6.x
  • Introduction to the child theme
  • How to Change the Search and Register Form Colors
  • Contact Page
  • Pages and Menu
  • Overriding a file with the child theme
  • How to add Members Stats Section using Elementor
  • Theme options overview
  • Import / Export Options
  • Contact and social settings
  • Buddypress settings
  • Styling options
  • Layout Settings
  • General Settings
  • Footer structure and widgets
  • Widgets and sidebar
  • Page Templates
  • Find Theme Purchase Code
  • Translate theme with Loco Translate
  • Multilingual setup using WPML plugin
  • Image Slider Shortcode
  • Icons Shortcode
  • Layout shortcodes
  • Recent groups Shortcode
  • Top members Shortcode
  • Member Statistics Shortcode
  • Buddypress User Data Shortcodes
  • Homepage status icon shortcode
  • Restrict content shortcode
  • Blog Articles Shortcode
  • Headings shortcodes
  • Video button shortcode
  • Posts carousel Shortcode
  • Pricing Table Shortcode
  • Panel Shortcode
  • Accordion Shortcode
  • Tabs Shortcode
  • Progress Bar Shortcode
  • Alert Shortcode
  • Buttons Shortcode
  • Missing Post Update Button on Buddypress ( Activity and Groups )
  • Changelog
  • Javascript Files
  • CSS Files and Structure
  • HTML Structure
  • Testimonials
  • My site is slow. How to speed up my website?
  • Included PSD Files
  • Post formats
  • Accordion Shortcode
  • RESPONSIVE guidelines
  • Theme Folder structure
  • GeoNames integration - City Autocomplete
  • How to add a Populated Country List XPROFILE
  • More Visible Discount Code Text (PMPRO Checkout)
  • How to Customize Women Online and Men Online Counters - WITHOUT ELEMENTOR
  • Full Width Profile Fields
  • How to move Search form to the right side of the screen
  • How to Delete the Link from the Website Logo
  • Search Results Show Wrong Gender - SOLUTION
  • Free Females Only or Free Males Only Membership Paid Memberships Pro
  • How to add Profile Fields under Member Name at Members Directory
  • Error 404 - Page not found
  • Change "SIGN UP" URL at Modal Popup
  • Troubleshooting an issue
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.