• 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. Overriding a file with the child theme

Overriding a file with the child theme

You can override the parent theme files by copying them to the child theme and making any changes as needed. To do this you will need to connect to your host via SFTP/FTP or via your hosts file browser.

Note: If you do not know your details to connect via SFTP/FTP then please contact your host for assistance.

Download your file

Once you have connected to your host you should navigate to /wp-content/themes/sweetdate/ to browse the Sweetdate parent folder.

Navigate through the folders until you find the file you wish to override. Make sure to make note of the folder path to this file – in this example I will be using /sweetdate/buddypress/members/single/cover-image-header.php.

Download the file to your computer and return to the /wp-content/themes/ folder.

Edit your file

You can take this opportunity to make your desired changes to the file with your favourite code editor. Remember to save before the next step.

Upload your file

Now that you have made your changes you should go to /wp-content/themes/sweetdate-child/. You will find that the child theme only has three files within it functions.php, style.css and screenshot.png. You will need to recreate the folder structure so that it it matches identically with the folder structure in the parent theme.

In my example I copied the file /sweetdate/buddypress/members/single/cover-image-header.php so I will need to create the folders buddypress, member and single within the Sweetdate child theme. This will give you a path of /sweetdate-child/buddypress/members/single/.

You can now upload your edited file into the /single/ folder to give you a full path of /sweetdate-child/buddypress/members/single/cover-image-header.php.

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.