single-guide.php 2.5 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']):''; ?>
 <!-- sys_sub_head -->
    <section class="sys_sub_head">
      <!-- swiper -->
      <div class="head_bn_slider">
        <ul class="head_bn_items swiper-wrapper">
          <li class="head_bn_item swiper-slide"><img src="<?php echo home_url("/"); ?>style/global/img/demo/head_banner_01.jpg" alt=""></li>
          <li class="head_bn_item swiper-slide"><img src="<?php echo home_url("/"); ?>style/global/img/demo/head_banner_01.jpg" alt=""></li>
        </ul>
      </div>
          <section class="path_bar">
      <div class="layout">
        <ul>
          <li><?php if(function_exists('cmp_breadcrumbs')) cmp_breadcrumbs();?></li>
        </ul>
      </div>
    </section>
    </section>
<section class="web_main page_main">
  <div class="layout">
    <?php get_sidebar();?>
    <section class="main">
     
      <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>
        <div class="addthis_sharing_toolbox"></div>
         
        <div class="clear"></div>
      </article>
    </section>
  </div>
</section>
<?php get_footer();?>