diff --git a/index.php b/index.php
index ce4c490..2753beb 100644
--- a/index.php
+++ b/index.php
@@ -37,11 +37,18 @@ $nn = 0;?>
have_posts()) : $query->the_post();?>
+ $nn++?>
+
+
+
-
; ?>)
+
@@ -57,6 +64,7 @@ $nn = 0;?>
+
@@ -65,7 +73,7 @@ $nn = 0;?>
'mob-lite']);?>
'mob-lite']);?>
-
+
diff --git a/search.php b/search.php
index bad9b1c..0a3035f 100644
--- a/search.php
+++ b/search.php
@@ -23,8 +23,15 @@ get_header();?>
+ $params = [
+ 'post_type' => 'post',
+ 's' => $s,
+ 'post_status' => 'publish',
+ 'posts_per_page' => 20
+ ]?>
+
По запросу «post_count; _e('');
_e('');
@@ -38,7 +45,7 @@ else:
echo $count . ' '; _e('результата');
endif;
endif;
-wp_reset_query(); ?>
+//wp_reset_query(); ?>
@@ -72,6 +79,8 @@ wp_reset_query(); ?>
+
+
diff --git a/single-vystavki-i-konferenitsii.php b/single-vystavki-i-konferenitsii.php
index b69aa6a..05e7a6b 100644
--- a/single-vystavki-i-konferenitsii.php
+++ b/single-vystavki-i-konferenitsii.php
@@ -41,7 +41,7 @@
- ';
+ do {
+ $out .= self::getMonth($curent[0], $curent[1], $events);
+
+ if ($curent[0] == $end[0] && $curent[1] == $end[1]) {
+ $begin = false;
+ }
+
+ $curent[0]++;
+ if ($curent[0] == 13) {
+ $curent[0] = 1;
+ $curent[1]++;
+ }
+ } while ($begin == true);
+
+ $out .= '
';
+ return $out;
+ }
+}
\ No newline at end of file
diff --git a/src/eventcalendar.php b/src/eventcalendar.php
new file mode 100644
index 0000000..e5a2e06
--- /dev/null
+++ b/src/eventcalendar.php
@@ -0,0 +1,14 @@
+ ul{
+ list-style: square outside;
+ }
+
+ .fulltext > ul li{
+
+ margin-top: 4px;
+ margin-bottom: 4px;
+
+ }
+
+ .wp-block-image figcaption {
+ font-size: .9em;
+ }
+
+ figcaption {
+
+ /*font-size: .9em;*/
+ color: #909294;
+ text-align: center;
+ padding: 12px 0 12px 0;
+
+ }
+
.sp-button{
color: orange;
}
+ #fulltext img,
+ .wp-block-image img
+ {
+ width: 100%;
+ height: auto;
+ }
+
+ blockquote{
+ font-weight: bold;
+ text-align: center;
+ padding-top: 8px;
+ padding-left: 8px;
+ margin-top: 22px;
+ margin-bottom: 22px;
+ border-top: 1px solid #E9EAEB;
+ border-bottom: 1px solid #E9EAEB;
+
+ }
/** - menus -- */
ul.menu_main{
@@ -591,9 +636,16 @@ a{
}
#content IMG{
- max-width: 700px;
+ max-width: 100%;
+
}
+ .wp-block-image IMG{
+ /** object-fit: cover; */
+
+ }
+
+
#post-img{
text-align: center;
/**background: #F5F5F5;*/
@@ -831,6 +883,10 @@ a{
margin-bottom: 18px;
}
+.publ_expert a{
+ color: #2D9CDB;
+}
+
.post_info{
font-size: 14px;
color: #444444;
@@ -958,11 +1014,17 @@ a{
.right_archive{
margin-bottom: 22px;
+ background: #FFFFFF;
+ box-shadow: 0px 14px 27px rgb(242, 242, 242);
text-align: center;
+ margin: 22px;
+ padding-top: 22px;
+ padding-bottom: 22px;
}
.right_archive_img{
margin-bottom: 12px;
+ width: 202px;
}
.right_archive_text{
@@ -977,6 +1039,8 @@ a{
font-size: 15px;
line-height: 130%;
text-align: center;
+ margin-top: 8px;
+ margin-bottom: 8px;
}
.right_archive_link a{
@@ -1144,8 +1208,85 @@ a{
}
+#calendar-item{
+ background-color: #2571A6;
+ color: rgba(255, 255, 255, 0.28);
+ text-transform: uppercase;
+ box-shadow: 0px 1px 4px rgba(0, 0, 0, 0.07);
+ font-size: 13px;
+ padding: 22px;
+}
+
+.calendar-head {
+ display: flex;
+ text-align: center;
+ font-size: 12px;
+ color: #FFFFFF;
+ font-weight: bold;
+ margin-bottom: 12px;
+}
+
+ .calendar-head a{
+ color: #FFFFFF;
+ }
+
+
+ #calendar-arrow-prev,
+ #calendar-arrow-next {
+ cursor: pointer;
+ }
+
+.calendar-title{
+ text-align: center;
+ font-size: 12px;
+ color: #FFFFFF;
+ font-weight: bold;
+ margin-bottom: 20px;
+
+}
+
+#calendar-item th {
+ font-size: 10px;
+ padding: 6px 7px;
+ text-align: center;
+ color: #FFFFFF;
+ font-weight: bold;
+ line-height: 14px;
+}
+
+#calendar-item td {
+ font-size: 13px;
+ padding: 6px 8px;
+ text-align: center;
+
+}
+
+.calendar-item table {
+ border-collapse: collapse;
+ width: 100%;
+}
+
+.calendar-head{
+ border-top: 1px solid rgba(0, 70, 106, 0.18);
+ border-bottom: 1px solid rgba(0, 70, 106, 0.18);
+ padding-top: 12px;
+ padding-bottom: 12px;
+}
+
+
+.calendar-popup a{
+ color: #FFFFFF;
+}
+
+
+
+.calendar-head-text{
+ margin-right: 12px;
+ margin-left: 12px;
+ width: 90%;
+ text-align: center;
+}
-/** socials */
#socials{
display: flex;
@@ -1364,6 +1505,9 @@ img-fluid{
text-align: center;
}
+ .mobile-info{
+ display: block;
+ }
@@ -1412,8 +1556,8 @@ img-fluid{
width: 100%;
}
- .fulltext IMG{
- width: 100%;
+ .fulltext > IMG{
+ max-width: 100%;
}
#footer{
@@ -1437,6 +1581,9 @@ and (max-device-width : 667px) {
width: 100%;
}
+ .mobile-info{
+ display: block;
+ }
.mini-card{
diff --git a/views/mailsub.php b/views/mailsub.php
index c138bf6..9758968 100644
--- a/views/mailsub.php
+++ b/views/mailsub.php
@@ -79,9 +79,9 @@