diff --git a/liquet/functions.php b/liquet/functions.php index f8d7357..9dd8348 100644 --- a/liquet/functions.php +++ b/liquet/functions.php @@ -14,6 +14,19 @@ add_action( 'wp_enqueue_scripts', function () { wp_enqueue_style( 'fonts', get_template_directory_uri() . '/vendor/fonts/import.css' ); } ); +add_action( 'widgets_init', function () { + + register_sidebar( array( + 'name' => 'Below posts', + 'id' => 'below_posts', + 'before_widget' => '
', + 'after_widget' => '
', + 'before_title' => '

', + 'after_title' => '

', + ) ); + +} ); + add_action( 'admin_init', function () { add_settings_section( 'section-link', 'Links', null, 'theme-options' ); diff --git a/liquet/singular.php b/liquet/singular.php index 1b72ba7..8dfd645 100644 --- a/liquet/singular.php +++ b/liquet/singular.php @@ -22,36 +22,64 @@ $dates = getDates();
previous
-
+
+ +
-