-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunctions-removed.php
More file actions
63 lines (59 loc) · 1.92 KB
/
functions-removed.php
File metadata and controls
63 lines (59 loc) · 1.92 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
<?php
if ( ! defined( 'ABSPATH' ) ) { exit; }
/**
* Register widget area.
*
* @link https://developer.wordpress.org/themes/functionality/sidebars/#registering-a-sidebar
*
* REMOVED DEC 2022
*
* Call from template with get_sidebar()
*/
// function slow_atoms_widgets_init() {
// register_sidebar(
// array(
// 'name' => esc_html__( 'Sidebar 1', 'slow-atoms' ),
// 'id' => 'sidebar-1',
// 'description' => esc_html__( 'Add widgets here.', 'slow-atoms' ),
// 'before_widget' => '<section id="%1$s" class="widget %2$s">',
// 'after_widget' => '</section>',
// 'before_title' => '<h2 class="widget-title">',
// 'after_title' => '</h2>',
// )
// );
// register_sidebar(
// array(
// 'name' => esc_html__( 'Sidebar 2', 'slow-atoms' ),
// 'id' => 'sidebar-2',
// 'description' => esc_html__( 'Add widgets here.', 'slow-atoms' ),
// 'before_widget' => '<section id="%1$s" class="widget %2$s">',
// 'after_widget' => '</section>',
// 'before_title' => '<h2 class="widget-title">',
// 'after_title' => '</h2>',
// )
// );
// }
// add_action( 'widgets_init', 'slow_atoms_widgets_init' );
// Set up the WordPress core custom background feature.
// add_theme_support( 'custom-background',
// apply_filters(
// 'slow_atoms_custom_background_args',
// array(
// 'default-color' => 'ffffff',
// 'default-image' => '', ) ) ) ;
// Add theme support for selective refresh for widgets.
// add_theme_support( 'customize-selective-refresh-widgets' );
/**
* Load Jetpack compatibility file.
*/
// if ( defined( 'JETPACK__VERSION' ) ) {
// require get_template_directory() . '/inc/jetpack.php';
// }
/**
* Custom template tags for this theme.
*/
// require get_template_directory() . '/inc/template-tags.php';
/**
* Functions which enhance the theme by hooking into WordPress.
*/
//require get_template_directory() . '/inc/template-functions.php';