New Landing How can we help? Themeforest Theme Support Dante Dante theme updates

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #168268
    pbi design
    Member
    Post count: 82

    Hello,

    every time the Dante theme gets updated I need to manually replace certain files which we have edited to customize certain pages. These files are: clients.php, functions.php and header.php

    Even though these files are in my child theme folder, the theme uses the files in the swift-framework > page-builder > builder > shortcodes folder.

    1. Is there a way I can set up my child theme that will prevent this from happening?

    2. If not, I will continue to replace these files in the “shortcodes” folder after theme updates. BUT, should I be concerned that when I do this, I end up using older versions of the files? How do I know if the theme update includes revisions in these particular files?

    I just want to make sure I am doing this correctly. Maybe I’m supposed to just copy the lines of code I need into the new files that come with the updates.

    thanks

    #168276
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    1) Unfortunately not, child themes only override the root folder files.

    2) The easiest way is to check the line number of the last line of code, if it’s more than your file, then we have likely updated the file, so you’ll need to make your changes to the new file and save in your child theme

    – Kyle

    #168294
    pbi design
    Member
    Post count: 82

    Got it. Now, I am not a programmer, so it takes me awhile to find the lines of code that need to be replaced. What would be the correct way to add a label or note right before the relevant lines of code?

    #168300
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Add // for the line

    – Kyle

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register