Пример #1
0
               echo $btn_name;
             endif;
             ?>
           </li>
         <?php 
           endwhile;
         ?>
          
           <!--<li class="five">Conselhos e Diretoria</li>-->
         </ul>       
       </div>
     </div>
   </div>
 </div>
 <?php
 $args = array('post_type' => 'extras', 'order'=>'ASC', 'posts_per_page' => '-1', 'category__and' => array(catid('info'),catid('sobre-nos')));
 $the_query = new WP_Query( $args );
 while ( $the_query->have_posts() ) : $the_query->the_post();
 $class = get_post_meta($post->ID, 'class', true);
 ?>
 <div class="<?php echo $class;?>">      
   <div class="bar2-sobre container animated bounceInUp">
     <img class="imgx" src="<?php echo bloginfo('template_url');?>/assets/images/x.png" alt="">
     <div class="row">
       <div class="col-md-offset-1 col-md-10 post-sobre">
           <h1><?php the_title();?></h1>
           <p><?php the_content();?></p>
       </div>
     </div>
   </div>
 </div>
Пример #2
0
<div class="footer">
      <div class="container">
        <div class="row">
          <div class="col-md-10 col-md-offset-1">
            <div class="row">
              <div class="col-md-12">
                <?php
                $args = array('post_type' => 'extras', 'order'=>'DSC', 'posts_per_page' => '3', 'category__and' => array(catid('rodape'),catid('campos')));
                $the_query = new WP_Query( $args );
                while ( $the_query->have_posts() ) : $the_query->the_post();
                ?>
                <div class="col-md-3">
                  <h2><?php the_title();?></h2>
                  <p><?php the_content();?></p>
                </div>
                <?php endwhile;?>
                <div class="col-md-3">
                  <h2>CONTATOS</h2>
                  <ul>
                    <li><span class="tel"></span>(11) 4481-9600</li>
                    <li><span class="msg"></span>faleconosco@redeprev.com.br</li>
                    <li><span class="loc"></span>Rua Teixeira, 467 – Taboão - Bragança Paulista - SP </br>CEP: 12916-360
                    </li>
                  </ul>
                  <a href="<?php echo home_url();?>/contato"><span class="contato"><h2>Fale Conosco</h2></span></a>
                </div>
              </div>
            </div>            
          </div>
        </div>
      </div>      
Пример #3
0
<div class="bar4-educaprev container">
	<div class="row">		
		<div class="col-md-4 col-md-offset-1">
			<ul>
				<?php
		        $args = array('post_type' => 'extras', 'order'=>'ASC', 'posts_per_page' => '-1', 'category__and' => array(catid('educaprev'),catid('explicacoes')));
		        $the_query = new WP_Query( $args );
		        while ( $the_query->have_posts() ) : $the_query->the_post();
		        ?>
				<li><?php the_title();?></li>
				<?php endwhile;?>
			</ul>
			<div class="row">
				
			</div>
		</div>
		<div class="col-md-6">
			<?php
	        $args = array('post_type' => 'extras', 'order'=>'ASC', 'posts_per_page' => '-1', 'category__and' => array(catid('educaprev'),catid('explicacoes')));
	        $the_query = new WP_Query( $args );
	        while ( $the_query->have_posts() ) : $the_query->the_post();
	        ?>
			<div class="bgcgraylight entidade-content">
				<img class="kitgray"src="<?php echo bloginfo('template_url');?>/assets/images/kitgray.png" alt="">
				<p><?php the_content();?></p>
			</div>
			<?php endwhile;?>
		</div>		
	</div>
</div>
<?php get_footer();?>
Пример #4
0
								?>				
							</div>
						</ul>
						<div class="col-md-12 rentabilidade">
							<div class="btn-rent">
							<div>Rentabilidade Quotas</div>
							</div>
						</div>						
					</div>
					<div class="col-md-5 rel">
						<img src="<?php echo bloginfo('template_url');?>/assets/images/relatorios.png" alt="">
						<ul>
							<div class="row">
								<div class="col-md-12">
									<?php
							        $args = array('post_type' => 'extras', 'order'=>'DSC', 'posts_per_page' => '-1', 'category__and' => array(catid('resultados'),catid('relatorios')));
							        $the_query = new WP_Query( $args );
							        while ( $the_query->have_posts() ) : $the_query->the_post();
									?>
									<div class="col-md-6">
										<div class="element">
											<li><?php the_title();?></li>
											<div class="ava-box">
												<?php the_content();?>
											</div>
										</div>
									</div>
									<?php endwhile;?>
								</div>
							</div>
						</ul>
Пример #5
0
             <a href="<?php echo $url;?>">
               <img src="<?php echo bloginfo('template_url');?>/assets/images/<?php echo $icon;?>.png" alt="">
               <h2><?php the_title();?></h2>
               <p><?php the_content();?></p>
             </a>
           </li>     
           <?php endwhile;?>
         </ul>
       </div>
     </div>
   </div>
 </div>
 <div class="container bar2">
   <div class="row">
     <?php
     $args = array('post_type' => 'extras', 'order'=>'DSC', 'posts_per_page' => '1', 'category__and' => array(catid('home'),catid('video')));
     $the_query = new WP_Query( $args );
     while ( $the_query->have_posts() ) : $the_query->the_post();
     $url = get_post_meta($post->ID, 'url', true);
     $video = get_post_meta($post->ID, 'video', true);
     ?>
     <div class="col-md-6 col-md-offset-1">
       <iframe src="<?php echo $video;?>" frameborder="0" allowfullscreen></iframe>
     </div>
     <div class="col-md-4">
       <h2><?php the_title();?></h2>
       <p><?php the_content();?></p>
       <a href="<?php echo home_url();?>/planos?planos=open">
         <span class="button">Faça já a sua Adesão!</span>
       </a>          
     </div>
Пример #6
0
     <?php
     global $wp_query;
     $big = 999999999;
     echo paginate_links( array(
         'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ),
         'format' => '?paged=%#%',
         'current' => max( 1, get_query_var('paged') ),
         'total' => $wp_query->max_num_pages,
         'prev_text'    => '<span class="button">Anterior</span>',
         'next_text'    => '<span class="button">Próximo</span>'                        
     ));
     ?>                                       
     </div>
 <div class="row">
     <?php
     $args = array('post_type' => 'extras', 'order'=>'ASC', 'posts_per_page' => '-1', 'category__and' => array(catid('noticias'),catid('redenews')));
     $the_query = new WP_Query( $args );
     while ( $the_query->have_posts() ) : $the_query->the_post();
     $class = get_post_meta($post->ID, 'class', true);
     ?>
     <div class="col-md-6 redenews">
         <h1>
             <img class="imgrede"src="<?php echo bloginfo('template_url');?>/assets/images/<?php echo $class;?>.png">
             <?php the_title();?>
         </h1>
         <div class="text-news">
             <?php the_content();?>
         </div>
     </div>
 <?php endwhile;?>
 </div>
Пример #7
0
										Faça o download do Regulamento do Plano
									</a>
								</span>					
							</li>
							<?php endwhile;?>				
						</ul>
					</div>
					<div class="col-md-6">
						<div class="btn-plano btn-adesao">Faça a sua Adesão!</div>
					</div>					
					<div class="col-md-6">						
						<div class="btn-plano btn-form">Formulários</div>
					</div>	
					<div class="col-md-6">
						<?php 
							$args = array('post_type' => 'extras', 'order'=>'ASC', 'posts_per_page' => '-1', 'category__and' => array(catid('botoes'),catid('planos')));
							$the_query = new WP_Query( $args );
							while ( $the_query->have_posts() ) : $the_query->the_post();						
							$link = get_post_meta($post->ID, 'link', true);
						?>
							<a href="<?php echo $link;?>" target="_blank"><div class="btn-plano"><?php the_title();?></div></a>
							<?php endwhile;?>
					</div>							
				</div>							
			</div>
		</div>
	</div>
</div>
<?php 
if(isset($_GET['planos'])):
    if($_GET['planos']=="open"):