-
Notifications
You must be signed in to change notification settings - Fork 15
/
functions.php
53 lines (38 loc) · 1020 Bytes
/
functions.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
/**
* Author: James Best
* URL: http://justjibba.net/
*/
/*
1. lib/clean.php
- head cleanup
- post and images related cleaning
- enquire scripts and styles
*/
require_once( 'lib/clean.php' ); // do all the cleaning and enqueue here
/*
2. lib/navigation.php
- set navigation
*/
require_once('lib/navigation.php'); // setup site wide menus
/*
3. lib/theme_support.php - http://codex.wordpress.org/Function_Reference/add_theme_support
- add theme support
*/
require_once( 'lib/theme_support.php' );
/*
4. lib/widgets.php - http://codex.wordpress.org/Widgetizing_Themes
- add custom widget areas
*/
require_once( 'lib/widgets.php' );
/*
5. lib/timber_specific.php - https://github.com/jarednova/timber/wiki
- adding to the timber context
- timber specific functions
*/
require_once( 'lib/timber_specific.php' );
/*
6. lib/filters.php - https://codex.wordpress.org/Function_Reference/add_filter
- add custom filters
*/
require_once( 'lib/filters.php' );