Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
wp-content
/
themes
/
global
:
search.php
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
<?php get_header();?> <?php $get_lang = isset($wp_query->query_vars['prisna_translate_seo_request'])?urldecode($wp_query->query_vars['prisna_translate_seo_request']):''; ?> <div class="path_bar"> <div class="layout"> <ul> <li><?php if(function_exists('cmp_breadcrumbs')) cmp_breadcrumbs();?></li> </ul> </div> </div> <section class="web_main page_main"> <section class="layout"> <?php get_sidebar();?> <section class="main"> <div class="items_list"> <h2 class="page_title"> <?php wp_title(); ?> </h2> <ul> <?php while ( have_posts() ) : the_post();if($post->post_type == post) : $images = get_field('product_gallery'); if( $images ): foreach( $images as $key=>$image ): if(!is_array($images[$key])){ $eric_id = $image; $eric_urcs = wp_get_attachment_image_src($eric_id); $eric_urc = $eric_urcs[0]; $image = array( 'id' => $eric_id, 'url' => $eric_urc, 'sizes' => array('thumbnail' => $eric_urc, ) ); $images[$key] = $image; } if (!$image['sizes']['thumbnail']) $image['sizes']['thumbnail'] = $srcs[0]; endforeach; endif;?> <li class="product_item"> <figure> <span class="item_img"> <img src="<?php if( $images ): for($x=0;$x<1; $x++){ ?><?php echo $images[0]['sizes']['thumbnail']; ?><?php } endif; ?>" alt="<?php echo mb_strimwidth(strip_tags(apply_filters('the_title',$post->post_title)), 0, 200,"..."); ?>"><a href="<?php the_permalink() ?>"></a></span> <figcaption> <h3 class="item_title"><a href="<?php the_permalink() ?>"><?php echo mb_strimwidth(strip_tags(apply_filters('the_title',$post->post_title)), 0, 50,"..."); ?></a></h3> </figcaption> </figure> </li> <?php endif; endwhile; wp_reset_query(); ?> </ul> <div class="page_bar"> <div class="pages"><?php echo izt_pagenavi();?></div> </div> </div> </section> </section> </section> <?php get_footer();?>