diff --git a/functions.php b/functions.php
index 4239450..1cab4de 100644
--- a/functions.php
+++ b/functions.php
@@ -6,6 +6,10 @@ if ( !defined( 'ABSPATH' ) ) {
}
+function openmamba_breadcrumbs() {
+ $text['category'] = '';
+}
+
// custom fonts
function add_custom_font() {
$url = get_stylesheet_directory_uri() . '/fonts/comfortaa-regular/stylesheet.css';
@@ -18,6 +22,19 @@ function add_custom_font() {
}
add_action('wp_print_styles', 'add_custom_font');
+function add_search_box($items, $args) {
+ if($args->theme_location == 'header-menu') {
+ ob_start();
+ get_search_form();
+ $searchform = ob_get_contents();
+ ob_end_clean();
+
+ return $items .= '
' . $searchform . '';
+ }
+ return $items;
+}
+add_filter('wp_nav_menu_items','add_search_box', 10, 2);
+
// openmamba downloads pages
function openmamba_download_link($milestone, $medium, $currarch, $ext, $mlword, $lang) {
eval(file_get_contents("/var/ftp/pub/openmamba/media/".$milestone."/".$medium."/".$lang."/latest.inc.php"));
diff --git a/style.css b/style.css
index 3e822e8..d67810a 100644
--- a/style.css
+++ b/style.css
@@ -206,3 +206,12 @@ a.mytoplink:active {
.collapseomatic_content div {
margin-bottom: 0px;
}
+
+/*.breadcrumb-current {display:none;}*/
+.title-archive {display:none;}
+
+#searchform { margin:7px; }
+
+#searchform-item input[type="text"] { width:auto; }
+
+#searchform-item { float:right; }