New Landing How can we help? Themeforest Theme Support Dante Subtitle in Standard-Header also after Theme-Update

Viewing 5 posts - 1 through 5 (of 5 total)
  • Posted in: Dante
  • #295337
    Pikay
    Member
    Post count: 48

    Hi,

    at the moment i use subtitle for standard header by editing “/themes/dante/includes/sf-page-heading.php” in line 183:

    instead <?php if ( $page_title_style == “fancy” && $page_subtitle != “” ) { ?>
    my edit: <?php if ( /* $page_title_style == “fancy” && */ $page_subtitle != “” ) { ?>

    This works fine, but only until the next theme-update. After every update i have to edit the file again …

    Is there any solution so that the edit survives any theme-update? Perhaps with the functions.php in my child-theme?

    Thx in Advance.

    #295411
    Pikay
    Member
    Post count: 48

    no idea? 🙁

    #295710
    David Martin – Support
    Moderator
    Post count: 20834

    Sure, you need to copy the entire PHP function which is called sf_page_heading() into a child theme functions.php.

    Thanks.

    #295714
    Pikay
    Member
    Post count: 48

    that was easy and works fine, thanks a lot!

    #295729
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Glad it’s sorted. Thanks David.

    -Rui

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

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

License required for the following item
Login and Registration Log in · Register