diff --git a/functions.php b/functions.php index 32d4622..03659b5 100644 --- a/functions.php +++ b/functions.php @@ -457,6 +457,26 @@ function lang_version(){ } +function citata_title($percon){ + + $result = []; + $pos_zpt = strpos($percon, ','); + + if ($pos_zpt) { + + $result['percon'] = substr($percon, 0, $pos_zpt); + $result['status'] = substr($percon, $pos_zpt + 1); + + } + else { + $result['percon'] = $citata; + } + + + return $result; + +} + add_action( 'pre_get_posts', function ($query) { diff --git a/style.css b/style.css index 8efb7da..74cfa07 100644 --- a/style.css +++ b/style.css @@ -1354,6 +1354,15 @@ a{ text-transform: uppercase; } + .left_citata_status{ + + color: #909294; + font-size: 13px; + line-height: 140%; + margin-top: 10px; + + } + .moread{ display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));