<main>
<div class="row" data-equalizer>
<?php get_sidebar(); ?>
- <?php if (get_the_block( 'sidebar' ) != "" && $name != "request-brochures" && $name != "contact-us") { ?>
+ <?php if (get_the_block( 'sidebar' ) != ""
+ && $name != "request-brochures"
+ && $name != "contact-us"
+ && $name != "tips-hotline") { ?>
<div id="content-bulk" class="small-12 large-6 columns" data-equalizer-watch>
<?php } else { ?>
<div id="content-bulk" class="small-12 large-9 columns" data-equalizer-watch>
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
*
*/
-
+
class Walker_Nav_Menu_Dropdown extends Walker_Nav_Menu {
- function start_lvl(&$output, $depth){
- $indent = str_repeat("\t", $depth); // don't output children opening tag (`<ul>`)
- }
+ function start_lvl( &$output, $depth = 0, $args = array() ){
+ $indent = str_repeat("\t", $depth); // don't output children opening tag (`<ul>`)
+ }
- function end_lvl(&$output, $depth){
- $indent = str_repeat("\t", $depth); // don't output children closing tag
- }
+ function end_lvl( &$output, $depth = 0, $args = array() ){
+ $indent = str_repeat("\t", $depth); // don't output children closing tag
+ }
- /**
- * Start the element output.
- *
- * @param string $output Passed by reference. Used to append additional content.
- * @param object $item Menu item data object.
- * @param int $depth Depth of menu item. May be used for padding.
- * @param array $args Additional strings.
- * @return void
- */
- function start_el(&$output, $item, $depth, $args) {
- $url = '#' !== $item->url ? $item->url : '';
- $output .= '<option value="' . $url . '">' . $item->title;
- }
+ /**
+ * Start the element output.
+ *
+ * @param string $output Passed by reference. Used to append additional content.
+ * @param object $item Menu item data object.
+ * @param int $depth Depth of menu item. May be used for padding.
+ * @param array $args Additional strings.
+ * @return void
+ */
+ function start_el(&$output, $item, $depth = 0, $args = array(), $current_object_id = 0) {
+ $url = '#' !== $item->url ? $item->url : '';
+ $output .= '<option value="' . $url . '">' . $item->title;
+ }
- function end_el(&$output, $item, $depth){
- $output .= "</option>\n"; // replace closing </li> with the option tag
- }
+ function end_el(&$output, $item, $depth = 0, $args = array(), $current_object_id = 0){
+ $output .= "</option>\n"; // replace closing </li> with the option tag
+ }
}