Skip to content
This repository has been archived by the owner on Feb 19, 2023. It is now read-only.

let child themes override parent #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function get_ds_option($opt_name) {
}

// Admin gallery management
include_once(get_template_directory() . '/inc/gallery-manage.php');
include_once(get_stylesheet_directory() . '/inc/gallery-manage.php');



Expand All @@ -126,19 +126,19 @@ function dsframework_setup() {
/**
* Custom template tags for this theme.
*/
require( get_template_directory() . '/inc/template-tags.php' );
require( get_stylesheet_directory() . '/inc/template-tags.php' );

/**
* Custom functions that act independently of the theme templates
*/
require( get_template_directory() . '/inc/tweaks.php' );
require( get_stylesheet_directory() . '/inc/tweaks.php' );


/**
* Make theme available for translation
* Translations can be filed in the /languages/ directory
*/
load_theme_textdomain( 'dsframework', get_template_directory() . '/languages' );
load_theme_textdomain( 'dsframework', get_stylesheet_directory() . '/languages' );


/**
Expand Down Expand Up @@ -432,4 +432,4 @@ function post_in_gallery_category( $galleryCategory, $includeChildren = false )
return $postLoop;
}

?>
?>