New Landing How can we help? Themeforest Theme Support Dante sf_portfolio.php in child theme?

Viewing 15 posts - 1 through 15 (of 20 total)
  • Posted in: Dante
  • #112429
    BallouHosting
    Member
    Post count: 94

    Hi.
    I use Dane with a chaild theme. It is a great theme.
    But now I tried to remove the thumbnail link for the portfolio to be able to have links in the mouse over texts.
    On row 272 I removed the link, ($portfolio_items_output .= ”;).
    This worked great. Now I copied the file to my child theme folder and made the changes there instead.
    The change doesn’t get through.
    Can someone please tell me what I’ve forgotten?

    Best regards

    #112469
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please copy the file with same directory structure like-:
    /dante-child/includes/sf-portfolio.php
    Hope that should help to you.
    Thanks 🙂
    With Best Regards
    Mohammad

    #112471
    BallouHosting
    Member
    Post count: 94

    Thank you.
    That is just what I’ve done. Other files are working just fine but this doesn’t.
    The files look just the same.
    I change in the child file and nothing happens.
    I change in the original file and voila, the change is visable.
    Please advice.

    Best regards

    #112552
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    You will also need to change the directory of the include of sf-portfolio.php

    In Dante child functions.php add the code below

    
    if (!function_exists('sf_custom_content')) {
    		function sf_custom_content_functions() {
    			include_once(SF_INCLUDES_PATH . '/sf-header.php');
    			include_once(SF_INCLUDES_PATH . '/sf-blog.php');
    			include_once(STYLESHEETPATH . '/sf-portfolio.php');
    			include_once(SF_INCLUDES_PATH . '/sf-products.php');
    			include_once(SF_INCLUDES_PATH . '/sf-post-formats.php');
    		}
    	add_action('init', 'sf_custom_content_functions', 0);
    }

    -Rui

    #112613
    BallouHosting
    Member
    Post count: 94

    Thank you.
    That killed my entirely site.
    Please tell me why. I feel we are close.

    #112644
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779
    This reply has been marked as private.
    #112645
    BallouHosting
    Member
    Post count: 94

    I would need your IP since this is a site under development.
    Any chance we can move to email?

    #112649
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779
    This reply has been marked as private.
    #112650
    BallouHosting
    Member
    Post count: 94
    This reply has been marked as private.
    #112654
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779
    This reply has been marked as private.
    #112658
    BallouHosting
    Member
    Post count: 94
    This reply has been marked as private.
    #112676
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779
    This reply has been marked as private.
    #112679
    BallouHosting
    Member
    Post count: 94
    This reply has been marked as private.
    #112681
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779
    This reply has been marked as private.
    #112698
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Already added the code. Not sure what you changed in the modified sf-portfolio.php
    Can you check?

    -Rui

Viewing 15 posts - 1 through 15 (of 20 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