Last active
July 7, 2016 13:56
-
-
Save lucprincen/6e070e0faca1cb8632b546807cec4f85 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Sections: **/ | |
add_filter( 'chef_sections_column_template_base', function(){ | |
return 'elements/columns/'; | |
}); | |
| |
add_filter( 'chef_sections_block_template_base', function(){ | |
return 'elements/block/'; | |
}); | |
| |
add_filter( 'chef_sections_section_template_base', function(){ | |
return 'views/sections/'; | |
}); | |
| |
add_filter( 'chef_sections_collection_template_base', function(){ | |
return 'views/collection/'; | |
}); | |
| |
/** Cuisine: **/ | |
add_filter( 'cuisine_template_location', function(){ | |
return 'templates/'; | |
}); | |
| |
apply_filters( 'cuisine-404-template', function(){ | |
return 'views/404.php'; | |
}); | |
| |
apply_filters( 'cuisine_theme_pages_folder', function(){ | |
return 'templates/'; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment