Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • in reply to: Replace sf-header with Child theme #243870
    chris_swany
    Member
    Post count: 2

    So I am a little confused. All I want to do is add a line of text next to the logo.

    So do I need to just copy the sf_header function and put that into my functions.php file on my child theme and then make my changes to that function?

    Thanks

    in reply to: Replace sf-header with Child theme #243606
    chris_swany
    Member
    Post count: 2

    I am running into the same issue.

    I have added to my child theme functions this code

    	/* CONTENT FUNCTIONS
    	================================================== */
    	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-page-heading.php');
    			include_once(SF_INCLUDES_PATH . '/sf-blog.php');
    			include_once(SF_INCLUDES_PATH . '/sf-portfolio.php');
    			include_once(SF_INCLUDES_PATH . '/sf-portfolio-detail.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);
    	}

    I then added an includes folder and put in those 7 files copied from the parent theme. I did not change anything from those 7 files and I get a 500 error when I load my page now. I have also tried to replace include_once with require_once but same 500 error.

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