-
Notifications
You must be signed in to change notification settings - Fork 0
/
functions.php
50 lines (34 loc) · 1.11 KB
/
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
47
48
49
50
<?php
// set a custom field prefix
define( "CMB_PREFIX", "_p_" );
// include the faculty content type
include( "library/post-type/area.php" );
include( "library/post-type/faculty.php" );
include( "library/post-type/fund.php" );
include( "library/post-type/alum.php" );
include( "library/post-type/year.php" );
// include some theme-related things
include( "library/menus.php" );
include( "library/widgets.php" );
include( "library/scripts.php" );
// an extra image manipulation function
include( "library/images.php" );
// include our metaboxes library
include( "library/metabox2.php" );
include( "library/metabox.php" );
// include quote metaboxes/functions
include( "library/showcase.php" );
include( "library/infographic.php" );
include( "library/content.php" );
include( "library/social.php" );
include( "library/photo-grid.php" );
include( "library/emergency.php" );
include( "library/tabs.php" );
include( "library/accordions.php" );
include( "library/search.php" );
// make excerpts shorter
function ripon_excerpt_length( $length ) {
return 25;
}
add_filter( 'excerpt_length', 'ripon_excerpt_length', 999 );
?>