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

pull/36/head
parent 91404373f8
commit b8cb48f3d2
  1. 14
      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

@ -454,4 +454,16 @@ p.discount-description__2 {
.other-home {
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',
'posts_per_page' => 9, // Adjust the number of posts per page
'paged' => intval($paged) + 1,
'post_status' => 'publish', // Только опубликованные записи
];
if (!empty($category)) {

Loading…
Cancel
Save