WordPress.org

Forums

Bogo
Menu can't show perfectly (3 posts)

  1. marcchiodi
    Member
    Posted 1 year ago #

    excellent work takayuki.

    im using bogo for my wedding web at bayunana.esy.es and everything work just fine including the menu system, until i click on blog, gallery and guestbook. in all language version, the menu won't show up. FYI im using 3 language, english, indonesian and malaysian. I've registered 3 menus for each language, and then i add this in header.php

    <?php
          if(has_nav_menu('primary-menu')){
            wp_nav_menu(array(
              'theme_location' => apply_filters( 'language_prefix_menu', 'primary-menu'),
              'container' => 'menu-primary-container',
              'items_wrap'      => '<ul id="primary-menu" class="%2$s">%3$s</ul>',
              ));
          }
        ?>

    what i've missed???

    https://wordpress.org/plugins/bogo/

  2. marcchiodi
    Member
    Posted 1 year ago #

    i have updated my website. everything is fine in gallery and guestbook, but menu still wont show in blog.

    The problem is the menu won't show up when i set blog page as posts page. so how i can make the menu work fine in my posts page?

  3. marcchiodi
    Member
    Posted 1 year ago #

    sorry maybe too many post, i wanna ask u again. how i can translate this code?

    /* Time/Date archives. */
    		else {
    			if ( is_date() ) {
    				$query_context->context[] = 'date';
    				if ( is_year() )
    					$query_context->context[] = 'year';
    				if ( is_month() )
    					$query_context->context[] = 'month';
    				if ( get_query_var( 'w' ) )
    					$query_context->context[] = 'week';
    				if ( is_day() )
    					$query_context->context[] = 'day';
    			}
    			if ( is_time() ) {
    				$query_context->context[] = 'time';
    				if ( get_query_var( 'hour' ) )
    					$query_context->context[] = 'hour';
    				if ( get_query_var( 'minute' ) )
    					$query_context->context[] = 'minute';
    			}
    		}
    	}

    so day, hours, minute and second in my frontpage can translate too

    thank you again

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Bogo
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic