Exemplo n.º 1
0
                            <?php 
}
// Reset Post Data
wp_reset_postdata();
?>

                    



                </div><!--/blog-post-content-->


            <!--SIDBAR-->
            <?php 
tk_get_right_sidebar('Right', 'Sidebar Default/Home');
?>

            </div><!--/content-page-sidebar-->



<?php 
$trending = get_theme_option(tk_theme_name . '_home_disable_trending');
if ($trending !== 'yes') {
    ?>
                <?php 
    /*************************************************************/
    /************MOSTLY VIEWED POSTS*****************************/
    /*************************************************************/
    ?>
Exemplo n.º 2
0
}
?>




                <!--COMMENTS-->
                <?php 
if (comments_open()) {
    ?>
                    <?php 
    comments_template();
    // Get wp-comments.php template
    ?>
                <?php 
}
?>


            </div><!--/left-content-page-->

            <?php 
tk_get_right_sidebar('Right', 'Single');
?>

        </div><!--/wrapper-->
    </div><!--/content-->


<?php 
get_footer();
Exemplo n.º 3
0
                            <div id="contact-error">
                                <?php 
if (isset($_GET['sent'])) {
    $what = $_GET['sent'];
    if ($what == 'error') {
        echo $mail_error_msg;
    }
}
?>
                            </div><!-- contact-error -->

                </div><!--/form-->

            </div><!--/left-content-page-->
            
                <?php 
tk_get_right_sidebar('Right', 'Contact');
?>

        </div><!--/wrapper-->
    </div><!--/content-->

<?php 
get_footer();
?>




Exemplo n.º 4
0
                <div class="shortcodes">
                        <?php 
/* Run the loop to output the page.
 * If you want to overload this in a child theme then include a file
 * called loop-page.php and that will be used instead.
 */
wp_reset_query();
query_posts('page_id=' . $page_id);
if (have_posts()) {
    while (have_posts()) {
        the_post();
        the_content();
    }
} else {
}
wp_reset_query();
?>
                </div>

            </div><!--/left-content-page-->

                <?php 
tk_get_right_sidebar('Right', 'Page');
?>

        </div><!--/wrapper-->
    </div><!--/content-->



Exemplo n.º 5
0
$big = 999999999;
// need an unlikely integer
$pageing = paginate_links(array('base' => str_replace($big, '%#%', get_pagenum_link($big)), 'format' => '?paged=%#%', 'current' => max(1, get_query_var('paged')), 'total' => $wp_query->max_num_pages));
$search_array = array('<span', '</span>', '<a', '</a>');
$replace_array = array('<div class="pagination-button left"><span', '</span></div>', '<div class="pagination-button left"><div class="pagination-left left"></div><a', '</a><div class="pagination-right left"></div></div>');
$pageing = str_replace($search_array, $replace_array, $pageing);
echo $pageing;
?>
                    </div>

                </div><!--/content-right-->
            </div><!--/content-right-->

            <!--SIDBAR-->
            <?php 
tk_get_right_sidebar('Right', 'Archive/Search');
?>
        </div><!--/content-right-->


        <?php 
$trending = get_theme_option(tk_theme_name . '_home_disable_trending');
if ($trending !== 'yes') {
    ?>
                <?php 
    /*************************************************************/
    /************MOSTLY VIEWED POSTS*****************************/
    /*************************************************************/
    ?>

            <div class="home-stories left">
Exemplo n.º 6
0
                <?php 
global $wp_query;
$big = 999999999;
// need an unlikely integer
$pageing = paginate_links(array('base' => str_replace($big, '%#%', get_pagenum_link($big)), 'format' => '?paged=%#%', 'current' => max(1, get_query_var('paged')), 'total' => $wp_query->max_num_pages));
$search_array = array('<span', '</span>', '<a', '</a>');
$replace_array = array('<div class="white active-pag"><div class="white-left left"></div><div', '</div><div class="white-right left"></div></div>', '<div class="white"><div class="white-left left"></div><a', '</a><div class="white-right left"></div></div>');
$pageing = str_replace($search_array, $replace_array, $pageing);
echo $pageing;
?>
                </div><!--/pagination-->





            </div><!--/left-content-page-->

            <?php 
tk_get_right_sidebar('Right', 'Blog');
?>

        </div><!--/wrapper-->
    </div><!--/content-->





<?php 
get_footer();
Exemplo n.º 7
0
//get_template_part( 'loop', 'page' );
wp_reset_query();
if (have_posts()) {
    while (have_posts()) {
        the_post();
        the_content();
    }
} else {
}
wp_reset_query();
?>
                </div>

            <!--SIDBAR-->
            <?php 
tk_get_right_sidebar('Right', 'Page Template');
?>

     </div><!--/content-page-sidebar-->




<?php 
$trending = get_theme_option(tk_theme_name . '_home_disable_trending');
if ($trending !== 'yes') {
    ?>
                <?php 
    /*************************************************************/
    /************MOSTLY VIEWED POSTS*****************************/
    /*************************************************************/