Andrei | правки стилей в блоге

pull/36/head
parent 91404373f8
commit b8cb48f3d2
  1. 12
      wp-content/themes/cosmopet/modules/blog/components/single/assets/css/gp-style-desktop.css
  2. 1
      wp-content/themes/cosmopet/modules/blog/module-ajax-controller.php

@ -455,3 +455,15 @@ p.discount-description__2 {
padding-top: 36px !important; padding-top: 36px !important;
} }
/* comment */ /* comment */
.wp-block-video video {
vertical-align: middle;
width: 100%;
max-height: 640px;
width: auto;
max-width: 100%;
margin-left: auto;
margin-right: auto;
display: block;
}

@ -13,6 +13,7 @@ function get_posts_by_page_and_category($paged = 1, $category = '') {
'post_type' => 'post', 'post_type' => 'post',
'posts_per_page' => 9, // Adjust the number of posts per page 'posts_per_page' => 9, // Adjust the number of posts per page
'paged' => intval($paged) + 1, 'paged' => intval($paged) + 1,
'post_status' => 'publish', // Только опубликованные записи
]; ];
if (!empty($category)) { if (!empty($category)) {

Loading…
Cancel
Save