Файловый менеджер - Редактировать - /home2/cocinasdalloway/public_html/tienda/wp-content/themes/negan/templates/testimonial/loop.php
Назад
<?php global $negan_loop; $loop_style = isset($negan_loop['loop_style']) ? $negan_loop['loop_style'] : 1; $title_tag = (isset($negan_loop['title_tag']) && !empty($negan_loop['title_tag']) ? $negan_loop['title_tag'] : 'div'); $role = Negan()->settings->get_post_meta(get_the_ID(),'role'); $content = Negan()->settings->get_post_meta(get_the_ID(),'content'); $avatar = Negan()->settings->get_post_meta(get_the_ID(),'avatar'); $post_class = array('loop-item','grid-item','testimonial_item'); ?> <div <?php post_class($post_class)?>> <div class="testimonial_item--inner item-inner"> <?php if($loop_style != 2 && $avatar): ?> <div class="testimonial_item--image"><?php echo wp_get_attachment_image($avatar, 'full'); ?></div> <?php endif; ?> <div class="testimonial_item--info"> <div class="testimonial_item--excerpt"><?php echo esc_html($content);?></div> </div> <div class="testimonial_item--bottom"> <div class="testimonial_item--title-role"> <?php printf( '<%1$s class="%4$s">%3$s</%1$s>', esc_attr($title_tag), 'javascript:;', get_the_title(), 'testimonial_item--title' ); if(!empty($role)){ printf( '<p class="testimonial_item--role">%s</p>', esc_html($role) ); } ?> </div> </div> </div> </div>
| ver. 1.4 |
Github
|
.
| PHP 8.2.22 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка