Файловый менеджер - Редактировать - /home/beautybuzzbeyond/public_html/wp-content/themes/music-night/single/content-quote.php
Назад
<?php /** * The template for displaying quote post format */ if( !function_exists('musicnight_fetch_quote') ){ function musicnight_fetch_quote(){ if( !is_single() ){ global $musicnight_post_settings; } $post_format_data = ''; $content = trim(get_the_content(esc_html__( 'Read More', 'music-night' ))); if(preg_match('#^\[musicnight_quote[\s\S]+\[/musicnight_quote\]#', $content, $match)){ $post_format_data = musicnight_content_filter($match[0]); $content = substr($content, strlen($match[0])); }else if(preg_match('#^<blockquote[\s\S]+</blockquote>#', $content, $match)){ $post_format_data = musicnight_content_filter($match[0]); $content = substr($content, strlen($match[0])); } ?> <article id="post-<?php the_ID(); ?>" <?php post_class('lib-blog-2'); ?>> <div class="kode-blog-content"> <div class="kode-top-quote"> <?php echo musicnight_wp_kses_strip_tags($post_format_data); ?> </div> <div class="kode-quote-author"> <?php if( is_single() || $musicnight_post_settings['num-excerpt'] < 0 ){ echo musicnight_content_filter($content, true); }else{ echo musicnight_content_filter($content); } ?> </div> </div> </article><!-- #post --> <?php } } musicnight_fetch_quote();
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка