Ronnie Albert
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Aldus] Sidbar at bottomThanks!
I though maybe there was not a left or right sidebar, the demo was confusing me.Forum: Themes and Templates
In reply to: [Leaf] Primary Menu and mobile displaySame problem as impatientkitty.
Forum: Plugins
In reply to: [OTW Portfolio Light] 404 Error!Worked! Thanks
Forum: Plugins
In reply to: [WP Awesome Announcements] Very Nice!Thanks
Forum: Themes and Templates
In reply to: [Leaf] search box in nav barNo. It just disappears on my mobile devices.
Forum: Themes and Templates
In reply to: [Leaf] Child – Theme Accent ColorsThanks.
Forum: Themes and Templates
In reply to: [Leaf] search box in nav barScreenshot: Click Here . . .
Forum: Themes and Templates
In reply to: [Leaf] search box in nav barI was looking for a way to do this also, and found it’s very easy to do. Just copy and past the below code into your child-theme function.php file. If you put it in the parent themes function.php you will need to replace every time you update the theme.
/* ADD SEARCH BAR NAVIGATION BAR */ add_filter('wp_nav_menu_items','add_search_box', 10, 2); function add_search_box($items, $args) { ob_start(); get_search_form(); $searchform = ob_get_contents(); ob_end_clean(); if( $args->theme_location == 'primary' ) $items .= '<li style="float: right; vertical-align: center;">' . $searchform . '</li>'; return $items; }
You can also add a login – logout link with the following code. Copy and past into your child-theme functions.php file.
/* ADD LOGIN - LOGOUT LINK NAVIGATION BAR */ add_filter('wp_nav_menu_items', 'add_login_logout_link', 10, 2); function add_login_logout_link($items, $args) { ob_start(); wp_loginout('index.php'); $loginoutlink = ob_get_contents(); ob_end_clean(); if( $args->theme_location == 'primary' ) $items .= '<li>'. $loginoutlink .'</li>'; return $items; }
Note the theme location refers to the location you want the login – logout link to go. You can also place it in the header or footer menu by replacing:
if( $args->theme_location == 'header' )
if( $args->theme_location == 'footer' )
NOTE you must have one link in either menu for it to work.
Screenshot:Forum: Plugins
In reply to: [Awesome Weather Widget] Graphics pleaseThis is the best weather plugin, I agree graphics will make it perfect!
Thanks . . .Forum: Themes and Templates
In reply to: [Leaf] Theme Accent ColorThanks, I must have over looked it.
Forum: Plugins
In reply to: [NextGEN Player Template] Images Listing OutSorry, but there is no update showing?
Forum: Plugins
In reply to: [NextGEN Player Template] Problem with widthThanks, works great now!
Forum: Plugins
In reply to: [Really Simple Events] [Plugin: Really Simple Events] IE ProblemWorks now, thanks!
Forum: Plugins
In reply to: [MF Gig Calendar] [Plugin: MF Gig Calendar] Error Message in Front/Back end.I like that it’s not bulky, very light weight! The only thing I would like to add is the ability to use short codes in event details. For Google Maps etc. Thanks again!
Forum: Plugins
In reply to: [MF Gig Calendar] [Plugin: MF Gig Calendar] Error Message in Front/Back end.Works great now! Thanks