From 1f4ab5490a94180e7e7e0a6aadd38495a3d14630 Mon Sep 17 00:00:00 2001 From: g <> Date: Thu, 13 Aug 2020 14:48:16 +0300 Subject: [PATCH] LAW-3559 --- .../wp-content/themes/lawcarta/functions.php | 7 ++++++- .../wp-content/themes/lawcarta/page-blog.php | 21 +++++++++++++++++++ htdocs/wp-content/themes/lawcarta/single.php | 19 +++++++++++++++++ 3 files changed, 46 insertions(+), 1 deletion(-) create mode 100644 htdocs/wp-content/themes/lawcarta/page-blog.php create mode 100644 htdocs/wp-content/themes/lawcarta/single.php diff --git a/htdocs/wp-content/themes/lawcarta/functions.php b/htdocs/wp-content/themes/lawcarta/functions.php index 27c88cc..d7e08b4 100644 --- a/htdocs/wp-content/themes/lawcarta/functions.php +++ b/htdocs/wp-content/themes/lawcarta/functions.php @@ -13,6 +13,8 @@ add_action('after_setup_theme', function () { */ add_theme_support('title-tag'); + add_theme_support( 'post-thumbnails' ); + register_nav_menus([ 'top' => __('Top Menu', 'lawcarta'), 'bottom' => __('Bottom Menu', 'lawcarta'), @@ -234,4 +236,7 @@ function get_lawcarta_ga_config(){ $res = LIVECARTA_GA_CONFIG; } return $res; -} \ No newline at end of file +} + + + diff --git a/htdocs/wp-content/themes/lawcarta/page-blog.php b/htdocs/wp-content/themes/lawcarta/page-blog.php new file mode 100644 index 0000000..d683495 --- /dev/null +++ b/htdocs/wp-content/themes/lawcarta/page-blog.php @@ -0,0 +1,21 @@ + + ID ?> + + ID,'title2',true); ?> + + + + term_id; ?> + slug; ?> + + +
+ + + ID ?> + + ID,'title2',true); ?> + + + + term_id; ?> + slug; ?> + + +
+ +