add adv pages pets

This commit is contained in:
2024-04-16 11:45:04 +03:00
parent 66b434a523
commit 016497f1bb
6 changed files with 37 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ function disable_wp_emojis_in_tinymce( $plugins ) {
} }
} }
add_theme_support( 'custom-header' );
require get_template_directory().'/src/calend-block.php'; require get_template_directory().'/src/calend-block.php';
require get_template_directory().'/src/calendar.php'; require get_template_directory().'/src/calendar.php';

View File

@@ -11,7 +11,7 @@
<?if (defined('TESTMODE') and TESTMODE == 1):?> <?if (defined('TESTMODE') and TESTMODE == 1):?>
<link rel="stylesheet" href="<?php echo get_template_directory_uri();?>/style-test.css?ver=3"> <link rel="stylesheet" href="<?php echo get_template_directory_uri();?>/style-test.css?ver=3">
<?else:?> <?else:?>
<link rel="stylesheet" href="<?php echo get_stylesheet_uri();?>?ver=405"> <link rel="stylesheet" href="<?php echo get_stylesheet_uri();?>?ver=408">
<?endif?> <?endif?>
<link href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" rel="stylesheet"> <link href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" rel="stylesheet">
<!--<link href="<?php echo get_stylesheet_directory_uri()?>/pub/fontawesome.css" rel="stylesheet">--> <!--<link href="<?php echo get_stylesheet_directory_uri()?>/pub/fontawesome.css" rel="stylesheet">-->

8
page-34623.php Normal file
View File

@@ -0,0 +1,8 @@
<?php get_header( 'pets' );?>
<div id="content">
<h1 class="post-h1" style="margin-top: 38px;"><?php the_title();?></h1>
<?the_content();?>
</div>
<?get_footer( 'pets' );?>

8
page-34626.php Normal file
View File

@@ -0,0 +1,8 @@
<?php get_header( 'pets' );?>
<div id="content">
<h1 class="post-h1" style="margin-top: 38px;"><?php the_title();?></h1>
<?the_content();?>
</div>
<?get_footer( 'pets' );?>

15
pets-template.php Normal file
View File

@@ -0,0 +1,15 @@
<?php
/*
Template Name: Для питомцев
Template Post Type: page
*/
?>
get_header( 'pets' );?>
<div id="content">
<h1 class="post-h1" style="margin-top: 38px;"><?php the_title();?></h1>
<?the_content();?>
</div>
<?get_footer( 'pets' );?>

View File

@@ -1992,6 +1992,10 @@ a{
} }
.current_page_item a{
color: #666;
}
#calendar-item{ #calendar-item{
background-color: #2571A6; background-color: #2571A6;