-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfunctions.php
32 lines (26 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
<?php
function enqueue_styles() {
wp_enqueue_style( 'whitesquare-style', get_stylesheet_uri());
wp_register_style('font-style', 'http://fonts.googleapis.com/css?family=Oswald:400,300');
wp_enqueue_style( 'font-style');
}
add_action('wp_enqueue_scripts', 'enqueue_styles');
function enqueue_scripts () {
wp_register_script('html5-shim', 'http://html5shim.googlecode.com/svn/trunk/html5.js');
wp_enqueue_script('html5-shim');
}
add_action('wp_enqueue_scripts', 'enqueue_scripts');
if (function_exists('add_theme_support')) {
add_theme_support('menus');
}
/*remove_filter( 'the_content', 'wpautop' ); */
remove_filter( 'the_excerpt', 'wpautop' );
/* Подключенние добавления миниатюры для записи */
add_theme_support('post-thumbnails');
add_theme_support( 'post-thumbnails' );
/* Подключенние добавления миниатюры для записи */
/*include('functions/settings.php'); */
include('functions/setings-two.php'); /* Подключение сайдбара */
include('functions/widgets.php');
include('functions/shortcodes.php');
?>