/** * Echo off-canvas widget area. * * @since 1.0.0 */ function beans_widget_area_offcanvas_menu() { if (!current_theme_supports('offcanvas-menu')) { return; } echo beans_widget_area('offcanvas_menu'); }
function tbr_footer() { echo beans_widget_area( 'footer' ); ?> <div class="tm-credits uk-margin-large-top uk-margin-bottom uk-text-muted uk-text-center uk-clearfix"> © ThemeButler <?php echo date('Y'); ?>. All rights reserved. Built with <a href="http://www.getbeans.io/" target="_blank" title="Built with Beans framework for WordPress.">Beans</a> and <a href="https://wordpress.org/" target="_blank">WordPress</a>. </div> <script type="text/javascript"> var _paq = _paq || []; _paq.push(["setDocumentTitle", document.domain + "/" + document.title]); _paq.push(["setCookieDomain", "*.themebutler.com"]); _paq.push(["setDomains", ["*.themebutler.com"]]); _paq.push(['trackPageView']); _paq.push(['enableLinkTracking']); (function() { var u="//stats.themebutler.com/"; _paq.push(['setTrackerUrl', u+'piwik.php']); _paq.push(['setSiteId', 1]); var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'js/'; s.parentNode.insertBefore(g,s); })(); </script> <noscript><p><img src="//stats.themebutler.com/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript> <? }
function flipster_widget_after_post_content($content) { $output = $content; $output .= '<div class="tm-below-post-widget-area">'; $output .= beans_widget_area('below-post'); $output .= '</div>'; return $output; }
function bench_bottom_widget_area() { // Stop here if no widget if (!beans_is_active_widget_area('bottom')) { return; } echo beans_open_markup('bench_bottom', 'section', array('class' => 'tm-bottom')); echo beans_widget_area('bottom'); echo beans_close_markup('bench_bottom', 'section'); }
function banks_bottom_widget_area() { // Stop here if no widget if (!beans_is_active_widget_area('bottom')) { return; } echo beans_open_markup('banks_bottom', 'section', array('class' => 'tm-bottom uk-block uk-padding-bottom-remove')); echo beans_open_markup('beans_fixed_wrap[_bottom]', 'div', 'class=uk-container uk-container-center'); echo beans_widget_area('bottom'); echo beans_close_markup('beans_fixed_wrap[_bottom]', 'div'); echo beans_close_markup('banks_bottom', 'section'); }