single-guide.php 2.0 KB
<?php get_header();?>
<?php $get_lang = isset($wp_query->query_vars['prisna_translate_seo_request'])?urldecode($wp_query->query_vars['prisna_translate_seo_request']):''; ?>    	
	   <nav class="path-bar">
          <ul class="path-nav">
             <li><?php if(function_exists('cmp_breadcrumbs')) cmp_breadcrumbs();?></li>
          </ul>
       </nav>
<section class="index-layout">
	      <section class="layout">
<?php get_sidebar();?>    	
		<section class="main">
        <section class="main-in">
      <div class="main-tit-bar">
         <h1 class="title"><?php wp_title(); ?></h1>
      </div>  
      <article class="entry blog-article">
<?php  query_posts(array('showposts' => 1, 'orderby' => 'rand', )); $i=1;while ( have_posts() ) : the_post(); ?>
<div style="float:right;margin:10px;"><a href="<?php the_permalink() ?>"><img src="<?php $img_src = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), "thumbnail");echo $img_src[0];?>" alt="<?php echo mb_strimwidth(strip_tags(apply_filters('the_title',$post->post_title)), 0, 200,"..."); ?>" title="<?php echo mb_strimwidth(strip_tags(apply_filters('the_title',$post->post_title)), 0, 200,"..."); ?>"></a></div>
<?php endwhile; wp_reset_query(); ?>

<?php while ( have_posts() ) : the_post(); ?>
<?php the_content(); ?> 
<?php endwhile; ?>
<div class="clear"></div>

<hr>
<?php wp_title(); ?> Related Video: <br/><br/>
				 <?php query_posts(array( 'post_type' => 'vs','showposts' => 1,'orderby' => 'rand') ); while (have_posts()) : the_post();?>
				 <?php echo apply_filters('the_content', $post->post_content); ?>
                 <?php endwhile; wp_reset_query();?> 
<hr>
<?php echo do_shortcode( '[rand_pre]' ); ?> <?php echo do_shortcode( '[rand_keywords]' ); ?>, <?php echo do_shortcode( '[rand_keywords]' ); ?>, <?php echo do_shortcode( '[rand_keywords]' ); ?>, <?php echo do_shortcode( '[rand_l_suffix]' ); ?>
<hr>
         
      </article> 
   </section>
   </section>
  </section>
</section>
<?php get_footer();?>