2 декабря 2025 года

Руководство по сигнальным маякам: Как правильно выбрать предупреждающий свет для обеспечения безопасности промышленных предприятий и транспортных средств

';global $current_screen;try { $current_object = get_queried_object(); if ( $current_object && ! empty( $current_object->term_id ) ) { if ( ! empty( $current_object->description ) ) { echo do_shortcode( $current_object->description ); } } else { $is_excerpt = empty( $atts['content_display'] ) || 'content' !== $atts['content_display']; $is_block_editor = $current_screen && method_exists( $current_screen, 'is_block_editor' ) && $current_screen->is_block_editor(); if ( $is_excerpt ) { $length = isset( $atts['excerpt_length'] ) ? (int) $atts['excerpt_length'] : 50; // Aynı block tekrar kendi içine girerse Porto excerpt zincirine dönme. if ( $porto_tb_content_depth > 1 ) { if ( has_excerpt() ) { $excerpt = get_the_excerpt(); } else { $raw_content = get_post_field( 'post_content', get_the_ID() ); $raw_content = excerpt_remove_blocks( $raw_content ); $raw_content = strip_shortcodes( $raw_content ); $raw_content = wp_strip_all_tags( $raw_content ); $excerpt = wp_trim_words( $raw_content, $length, '…' ); } echo wp_kses_post( $excerpt ); } else { echo porto_get_excerpt( $length, false, false, $is_block_editor ? false : true ); } } else { // Content modunda da tekrar aynı bloğa girerse boş dönerek stack taşmasını önle. if ( $porto_tb_content_depth > 1 ) { echo ''; } else { if ( $is_block_editor ) { echo do_shortcode( get_the_content() ); } else { the_content(); } } } }} finally { $porto_tb_content_depth--;}echo '
'; Продолжить чтение