function reactor_do_breadcrumbs() { if (reactor_option('breadcrumbs', 1)) { ?> <div id="breadcrumbs"> <div class="row"> <div class="<?php reactor_columns(12); ?> "> <?php reactor_breadcrumbs(); ?> </div><!-- .columns --> </div><!-- .row --> </div><!-- #breadcrumbs --> <?php } }
/** * Footer links and site info * in footer.php * * @since 1.0.0 */ function reactor_do_footer_content() { ?> <div class="site-info"> <div class="row"> <div class="<?php reactor_columns(12); ?> "> <div style="text-align:center" id="colophon"> <p> <a target="_blank" href="http://www.xtec.cat/web/guest/avis">Avís legal</a> | <a target="_blank" href="http://agora.xtec.cat/nodes/">Sobre el web</a> | <span class="copyright">©<?php echo date_i18n('Y'); ?> Generalitat de Catalunya | </span> <span class="site-source">Fet amb <a href=http://wordpress.org/>WordPress</a></span></p> </div><!-- #colophon --> </div><!-- .columns --> </div><!-- .row --> </div><!-- #site-info --> <?php }
if (in_array($frontpage_layout, array("2c-l", "3c-c"))) { echo "<span style='float:left;margin:1em'><a href='#barra_esquerra'><span class='dashicons dashicons-arrow-down-alt2'></span> Ginys</a></span>"; } if (in_array($frontpage_layout, array("2c-r", "3c-c"))) { echo "<span style='float:right;margin:1em'><a href='#barra_dreta'>Ginys<span class='dashicons dashicons-arrow-down-alt2'></a></span>"; } ?> </div> <div class="hide-for-small"> <?php $columnes = barra_esquerra($frontpage_layout); ?> </div> <!-- Contingut central --> <div id="contingut_central_frontpage" class="articles <?php reactor_columns($columnes); ?> " > <?php reactor_inner_content_before(); ?> <?php // Consulta per obtenir el contingut de la pagina principal $args = array('post_type' => 'page', 'page_id' => reactor_option('frontpage_page')); $wp_frontpage = new WP_Query($args); $wp_frontpage->the_post(); if (strlen(trim(get_the_content()))) { get_template_part('post-formats/format', 'page'); } wp_reset_postdata(); $paged = get_query_var('page') ? get_query_var('page') : 1;
</div> </div> </div> <div id="primary" class="site-content large-12 columns"> <?php reactor_content_before(); ?> <div id="content" role="main"> <div class="row"> <div class="<?php reactor_columns(11); ?> large-centered"> <?php reactor_inner_content_before(); get_template_part('loops/loop', 'page'); reactor_inner_content_after(); ?> </div><!-- .columns --> </div><!-- .row --> </div><!-- #content -->
public function widget($args, $instance) { // Saved widget options $title = $instance['title']; echo $args['before_widget']; if (!empty($title)) { echo '<h4 class="widget-title">' . $title . '</h4>'; } $contacte = strstr(reactor_option('emailCentre'), '@') ? "mailto:" . reactor_option('emailCentre') : reactor_option('emailCentre'); ?> <div class="targeta_id_centre row"> <?php if (reactor_option('logo_image')) { if (reactor_option('logo_inline')) { $class_logo = "logo_inline"; $class_addr = "addr-centre"; $amplada = "6"; } else { $class_logo = "logo_clear"; $class_addr = "logo_clear"; $amplada = "12"; } ?> <div class="<?php reactor_columns(array($amplada, 12)); echo " " . $class_logo; ?> hide-for-small"> <img src="<?php echo reactor_option('logo_image'); ?> "> </div> <?php } else { $amplada = "12"; $class = "no_logo"; } ?> <?php list($postal_code, $locality) = explode(" ", reactor_option("cpCentre"), 1); ?> <div class="<?php reactor_columns($amplada); echo " " . $class_addr; ?> "> <div class="vcard"> <span id="tar-nomCentre"><?php echo reactor_option('nomCanonicCentre'); ?> </span> <div class="adr"> <span class="street-address"><?php echo reactor_option('direccioCentre'); ?> </span><br> <span class="postal-code"><?php echo trim($postal_code); ?> </span> <span class="locality"><?php echo trim($locality); ?> </span> <span class="region" title="Catalunya">Catalunya</span> <span class="country-name">Espanya</span> <div class="tel"> <span><?php echo reactor_option('telCentre'); ?> </span> </div> <a id="tar-mapa" href="<?php echo reactor_option('googleMaps'); ?> ">mapa</a> <span class="pipe" >|</span> <a id="tar-contacte" href="<?php echo $contacte; ?> ">contacte</a> </div> </div> </div> </div> <?php echo $args['after_widget']; }
<?php /** * The sidebar template containing the front page widget area * * @package Reactor * @subpackge Templates * @since 1.0.0 */ reactor_sidebar_before(); ?> <div id="sidebar-category" class="sidebar <?php reactor_columns(3); ?> " role="complementary"> <div id="sidebar-category-inner"> <?php dynamic_sidebar('categoria'); ?> </div> </div><!-- #sidebar-frontpage --> <?php reactor_sidebar_after(); ?>
reactor_inner_content_before(); ?> <?php // get the page loop get_template_part('loops/loop', 'page'); ?> <?php reactor_inner_content_after(); ?> </div><!-- .columns --> <div id="side-menu" class="<?php reactor_columns('', true, true); ?> pull-9"> <?php reactor_side_menu(); ?> </div><!-- #side-menu --> </div><!-- .row --> </div><!-- #content --> <?php reactor_content_after(); ?>
/** * WooCommerce Wrappers * before and after the loop in WooCommerce templates * * @since 1.0.1 * @see http://docs.woothemes.com/document/third-party-custom-theme-compatibility/ * */ function reactor_woo_wrapper_start() { ?> <div class="row"> <div class="<?php reactor_columns(); ?> "> <?php }
?> "> <div class="row collapse"> <label class="screen-reader-text" for="s"><?php _e('Search for:', 'reactor'); ?> </label> <div class="<?php reactor_columns(array(9, 9)); ?> "> <input type="text" value="<?php get_search_query(); ?> " name="s" id="s" placeholder="<?php echo esc_attr__('Search', 'reactor'); ?> " /> </div> <div class="<?php reactor_columns(array(3, 3)); ?> end"> <input class="button prefix" type="submit" id="searchsubmit" value="<?php echo esc_attr__('', 'reactor'); ?> " /> </div> </div> </form>
<?php /** * The sidebar template containing the front page widget area * * @package Reactor * @subpackge Templates * @since 1.0.0 */ ?> <?php reactor_sidebar_before(); ?> <div id="sidebar-frontpage-2" class="sidebar <?php reactor_columns(2); ?> " role="complementary"> <?php dynamic_sidebar('sidebar-frontpage-2'); ?> </div><!-- #sidebar-frontpage --> <?php reactor_sidebar_after(); ?>
/** * Footer links and site info * in footer.php * * @since 1.0.0 */ function reactor_do_footer_content() { ?> <div class="site-info"> <div class="row"> <div class="<?php reactor_columns(6); ?> "> <?php if (function_exists('reactor_footer_links')) { ?> <nav class="footer-links" role="navigation"> <?php reactor_footer_links(); ?> </nav><!-- #footer-links --> <?php } ?> </div><!--.columns --> <div class="<?php reactor_columns(6); ?> "> <div id="colophon"> <?php if (reactor_option('footer_siteinfo')) { echo reactor_option('footer_siteinfo'); } else { ?> <span class="copyright">© <?php echo date_i18n('Y'); ?> <?php bloginfo('name'); ?> . All rights reserved.</span> <?php } ?> </div><!-- #colophon --> </div><!-- .columns --> </div><!-- .row --> </div><!-- #site-info --> <?php }
?> <?php get_header(); ?> <div id="primary" class="site-content"> <?php reactor_content_before(); ?> <div id="content" role="main"> <div class="row"> <div class="<?php reactor_columns(8); ?> primary"> <?php reactor_inner_content_before(); ?> <?php // get the page loop get_template_part('loops/loop', 'page'); ?> <h2 class="about-authors-list">Our writers:</h2> <?php
/** * Footer links and site info * in footer.php * * @since 1.0.0 */ function reactor_do_footer_content() { ?> <div class="site-info"> <div class="row"> <div class="<?php reactor_columns(6); ?> "> <?php if (function_exists('reactor_footer_links')) { ?> <nav class="footer-links" role="navigation"> <?php reactor_footer_links(); ?> </nav><!-- #footer-links --> <?php } ?> </div><!--.columns --> <div class="<?php reactor_columns(6); ?> "> <div id="colophon"> <?php if (reactor_option('footer_siteinfo')) { echo reactor_option('footer_siteinfo'); } else { ?> <p><span class="copyright">©<?php echo date_i18n('Y'); ?> <?php bloginfo('name'); ?> | </span> <span class="site-source"><?php _e('Powered by ', 'reactor'); ?> <a href="<?php echo esc_url('http://wordpress.org/'); ?> " title="<?php esc_attr_e('Personal Publishing Platform', 'reactor'); ?> ">WordPress</a> & <a href="<?php echo esc_url('http://awtheme.com/'); ?> " title="<?php esc_attr_e('WordPress Parent Theme', 'reactor'); ?> ">Reactor</a></span></p> <?php } ?> </div><!-- #colophon --> </div><!-- .columns --> </div><!-- .row --> </div><!-- #site-info --> <?php }
?> <?php get_header(); ?> <div id="primary" class="site-content"> <div id="content" role="main"> <div class="row"> <?php reactor_content_before(); ?> <div class="<?php reactor_columns(9, 9); ?> "> <?php reactor_inner_content_before(); ?> <?php // start the loop while (have_posts()) { the_post(); ?> <?php reactor_post_before();
> <?php reactor_body_inside(); ?> <div id="page" class="hfeed site"> <?php reactor_header_before(); ?> <header id="header" class="site-header" role="banner"> <div class="row"> <div class="<?php reactor_columns(12); ?> "> <?php reactor_header_inside(); ?> </div><!-- .columns --> </div><!-- .row --> </header><!-- #header --> <?php reactor_header_after(); ?>
get_header(); ?> <div id="primary" class="site-content"> <?php reactor_content_before(); ?> <div id="content" role="main"> <div class="row"> <?php get_sidebar(); ?> <div class="articles <?php reactor_columns(); ?> "> <?php reactor_inner_content_before(); ?> <?php if (have_posts()) { ?> <header class="archive-header"> <?php // show an optional tag description if (tag_description()) {
/** * Footer links and site info * in footer.php * * @since 1.0.0 */ function reactor_do_footer_content() { ?> <div class="site-info"> <div class="row"> <div class="<?php reactor_columns(6); ?> "> <?php if (function_exists('reactor_footer_links')) { ?> <div id="colophon"> <?php if (reactor_option('footer_siteinfo')) { echo reactor_option('footer_siteinfo'); } else { ?> <span class="copyright">©<?php echo date_i18n('Y'); ?> <?php bloginfo('name'); ?> </span> <?php } ?> </div><!-- #colophon --> <?php } ?> </div><!--.columns --> <div class="<?php reactor_columns(6); ?> "> <div id="credit"><span class="copyright">Website Designed & Developed by <a href="http://www.arsenalstudios.com" target="_blank">Arsenal Studios</a></span></div><!-- #credit --> </div><!-- .columns --> </div><!-- .row --> </div><!-- #site-info --> <?php }