Ejemplo n.º 1
0
                        <h2>Silahkan daftar untuk mengakses halaman ini</h2> <br>
                        <h4><a href="' . home_url() . '/daftar/" title="Daftar">Daftar</a> atau <a href="' . home_url() . '/login" title="Login">Login</a></h4>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
    ';
}
get_header();
?>
	<article class="content">
            <div class="container">
                <?php 
the_breadcrumb();
?>

				<?php 
while (have_posts()) {
    the_post();
    ?>
                <div class="row">
                    <div class="col-md-6 col-md-offset-3">
                        <h1 align="center"><?php 
    the_title();
    ?>
</h1>
                    </div>
                    <div class="col-lg-12">
                    	<div class="row register-page">
Ejemplo n.º 2
0
<?php get_header(); ?>
    <main class="main_wrap container">
        <div class="content">
            <?php the_breadcrumb(); ?>
            <section class="main_publications">
                <h1 class="section_title">Links Úteis</h1>
                <?php
                    while ( have_posts() ):
                        the_post();
                ?>
                    <div class="main_links main_article">
                        <a href="<?php the_field('link'); ?>" rel="nofollow" title="Visitar o site" target="_blank">
                            <?php the_post_thumbnail( 'tamanho-thumbnail' ); ?>
                        </a>
                        <p class="main_link_site">
                            <a href="<?php the_field('link'); ?>" rel="nofollow" title="Download do arquivo" title="Download do arquivo"><?php echo get_the_content(); ?></a>
                        </p>
                        <p><?php the_title(); ?></p>
                        <div class="clear"></div>
                    </div>
                <?php endwhile; ?>
                <?php
                    if ( function_exists( 'wp_simple_pagination' ) ):
                        wp_simple_pagination();
                    endif;
                ?>
            </section>
            <div class="clear"></div>
        </div>
    </main>
<?php get_footer(); ?>
Ejemplo n.º 3
0
        ?>
        
        <!-- coluna direita -->
        <div class="small-13 left">

          <?php
            // Distribuidores oficiais
            require_once (dirname(__FILE__) . '/includes/sections/distribuidores.php');
          ?>

          <div class="divide-30"></div>

          <section id="content" class="small-16 columns">
            <header class="divide-20">
              <p class="font-small breadcrumb no-margin">
                Você está em: <?php the_breadcrumb(); ?>
                <span class="right ghost"><?php echo $total; ?> resultados encontrados</span>
              </p>
            </header>

            <nav id="list-products" class="small-16 columns">
              <ul class="small-block-grid-5">
                <?php
                  foreach ($posts as $post): setup_postdata( $post );
                    global $post;
                    $thumb = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'produtos.lista');
                    $th = (!empty($thumb[0])) ? $thumb[0] : get_stylesheet_directory_uri() . '/images/imagem_padrao.jpg';
                ?>
                <li>
                  <figure>
                    <?php product_promo($post->ID); ?>
Ejemplo n.º 4
0
if (function_exists('ot_get_option')) {
    $carousel = ot_get_option('carousel');
    $carouselamount = ot_get_option('carouselamount');
    $singleadvert = ot_get_option('singleadvert');
    if ($singleadvert == "") {
        $singleadvert = '<a href="#"><img src="' . get_template_directory_uri() . '/img/single-ads.png" alt="Default Single Ads" style="display: block; visibility: visible; "/></a>';
    }
}
get_header();
include "lang/lang.php";
?>

<!-- start content -->

<div class="bread"><?php 
echo the_breadcrumb();
?>
</div>
<section id="content" class="content">
<!-- start single item -->
<div class="single-item">
<?php 
wp_reset_query();
if (have_posts()) {
    while (have_posts()) {
        the_post();
        ?>
<div class="product-meta-data">
  <h1>
    <?php 
        the_title();
Ejemplo n.º 5
0
        ?>
						.data-color { background: <?php 
        echo get_field('cor_fundo');
        ?>
;  background: rgba(<?php 
        echo implode(',', hex2rgb(get_field('cor_fundo')));
        ?>
,0.9); }
					<?php 
    }
    ?>

				</style>
				<div class="wrapper container12">
					<?php 
    the_breadcrumb($_post);
    ?>
					<h1>
						<?php 
    /*if (in_array($posttype,array('casesclientes','grupo-meta'))) {
    						
    			echo get_the_title($_post);
    		} else the_title();*/
    echo $pageTitle;
    ?>
					</h1>
				</div>
			</div>
		</div>
		<?php 
    $post = $_post;