Move all files to taking-flight-with-tailwind-css/demo/wordcamp-bristol-2019/
This commit is contained in:
parent
80c38777dc
commit
7cc2622551
1874 changed files with 0 additions and 0 deletions
|
|
@ -1,28 +0,0 @@
|
|||
<?php
|
||||
|
||||
wp_enqueue_style( 'style', get_stylesheet_uri() );
|
||||
|
||||
// override the widget styles for sidebar-1
|
||||
add_action('after_setup_theme', function () {
|
||||
register_nav_menus(
|
||||
array(
|
||||
'menu-1' => __( 'Primary', 'twentynineteen_tailwindcss' ),
|
||||
'footer' => __( 'Footer Menu', 'twentynineteen_tailwindcss' ),
|
||||
'social' => __( 'Social Links Menu', 'twentynineteen_tailwindcss' ),
|
||||
)
|
||||
);
|
||||
remove_action( 'widgets_init', 'twentynineteen_widgets_init' );
|
||||
});
|
||||
|
||||
add_action('widgets_init', function () {
|
||||
register_sidebar(
|
||||
array(
|
||||
'name' => 'Sidebar',
|
||||
'id' => 'sidebar-1',
|
||||
'before_title' => '<h2 class="mt-6 mb-4 text-2xl font-bold tracking-tight md:text-5xl">',
|
||||
'after_title' => '</h2>',
|
||||
'before_widget' => '<div class="w-full mt-10 px-6 text-2xl md:w-1/2">',
|
||||
'after_widget' => '</div>',
|
||||
)
|
||||
);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue