<?php get_template_part('templates/top', 'page'); ?> <section id="layout"> <div class="row"> <?php set_layout('search'); get_template_part('templates/content', 'search'); set_layout('search', false); ?> </div> </section>
<?php get_template_part('templates/top', 'forum'); ?> <section id="layout"> <div class="row"> <div class="nine columns"> <?php set_layout('pages'); get_template_part('templates/content', 'page'); set_layout('pages', false); ?> </div> </div> <?php //@TODO: непонятный баг с лишним открытым дивом !!! ?> <div class="three columns"> <?php dynamic_sidebar('sidebar-bbres-right'); ?> </div> </div> </section>
?> </h2> </header><!-- .entry-header --> <ul> <?php wp_list_categories(array('orderby' => 'count', 'order' => 'DESC', 'show_count' => 1, 'title_li' => '', 'number' => 10)); ?> </ul> <header class="entry-header" style="border-bottom: 1px solid #f1f1f1; padding-bottom: 15px; margin-bottom: 15px"> <h2 style="text-transform: uppercase; font-size: 16px;"><?php _e('Tags also can be used', 'dfd'); ?> </h2> </header><!-- .entry-header --> <div class="tags-widget"> <?php wp_tag_cloud('smallest=10&largest=10&number=30'); ?> </div> </article><!-- #post-0 --> <?php set_layout('404', false); ?> </div> </section>
if (!Token::verify('tk_dashboard_ajax', GET('token'))) { $response['error'] = TRUE; $response['msg'] = _('Invalid Action'); } else { switch ($action) { case 'load_tab': $response = load_tab($data); break; case 'change_title_tab': $response = change_title_tab($data); break; case 'save_tabs_order': $response = save_tabs_order($conn, $data); break; case 'set_layout': $response = set_layout($data); break; case 'save_widgets': $response = save_widgets_order($conn, $data); break; case 'change_visibility': $response = change_visibility($data); break; case 'set_default_tab': $response = set_default_tab($data); break; case 'delete_widget': $response = delete_widget($data); break; case 'clone_tab': $response = clone_tab($data);
<?php get_template_part('templates/top', 'page'); ?> <section id="layout"> <div class="row"> <?php set_layout('archive'); get_template_part('templates/content'); set_layout('archive', false); ?> </div> </section>
</div> <?php wp_link_pages(array('before' => '<nav class="page-nav"><p>' . __('Pages:', 'dfd'), 'after' => '</p></nav>')); ?> <?php get_template_part('templates/entry-meta-post'); ?> </article> <?php } ?> <?php if (strcmp(DfdThemeSettings::get("autor_box_disp"), '1') === 0) { get_template_part('templates/author-box'); } comments_template(); set_layout('single', false); ?> </div> </section>