Title: silvanasono's Replies | WordPress.org

---

# silvanasono

  [  ](https://wordpress.org/support/users/silvanasono/)

 *   [Profile](https://wordpress.org/support/users/silvanasono/)
 *   [Topics Started](https://wordpress.org/support/users/silvanasono/topics/)
 *   [Replies Created](https://wordpress.org/support/users/silvanasono/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/silvanasono/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/silvanasono/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/silvanasono/engagements/)
 *   [Favorites](https://wordpress.org/support/users/silvanasono/favorites/)

 Search replies:

## Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Collapsing Categories] Widget not found](https://wordpress.org/support/topic/widget-not-found-4/)
 *  [silvanasono](https://wordpress.org/support/users/silvanasono/)
 * (@silvanasono)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/widget-not-found-4/#post-16917637)
 * My theme is not old but i cannot see the widget as well :/
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Anomalous Behavior of Default Menu](https://wordpress.org/support/topic/anomalous-behavior-of-default-menu/)
 *  Thread Starter [silvanasono](https://wordpress.org/support/users/silvanasono/)
 * (@silvanasono)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/anomalous-behavior-of-default-menu/#post-4324655)
 * Furthermore, what I assign as menu_class is assigned to the container, I mean
   to the div not to the ul, like this:
 * `<div class="nav"><ul><li class="page_item`
 * it should be:
 * `<div class="grid_12"><ul class="nav"><li class="page_item`
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Anomalous Behavior of Default Menu](https://wordpress.org/support/topic/anomalous-behavior-of-default-menu/)
 *  Thread Starter [silvanasono](https://wordpress.org/support/users/silvanasono/)
 * (@silvanasono)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/anomalous-behavior-of-default-menu/#post-4324654)
 * I read the code and trapped the point. It is here, line 264 of nav-menu-template.
   php:
 *     ```
       if ( ( !$menu || is_wp_error($menu) || ( isset($menu_items) && empty($menu_items) && !$args->theme_location ) )
       		&& $args->fallback_cb && is_callable( $args->fallback_cb ) )
       			return call_user_func( $args->fallback_cb, (array) $args );
       ```
   
 * It stops there. If I do not assign a location in the Menu section of Admin Panel,
   by default the pages are showed by without any styling (because classes are not
   assigned).
    Now I had also assigned the location in the wp_nav_menu function:
 *     ```
       wp_nav_menu( array(
                         'container' => 'div',
                         'container_class' => 'grid_12',
                         'menu_class' => 'nav',
                         'theme_location' => 'primary' ) ); ?>
       ```
   
 * that is the same of the register, primary:
 *     ```
       register_nav_menus( array(
                       'primary' => __( 'Primary Navigation', 'silvy2013' ),
               ) );
       ```
   
 * (it is the same code of the Function Reference `register_nav_menus( array( $location
   => $description ) );`).
 * So, maybe I have mistaken something, you can see for yourself.
    Of course, in
   the moment I assign a location in the Menu section, the problem is solved. Just
   wanted to know if there is a fault. Thank you
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Anomalous Behavior of Default Menu](https://wordpress.org/support/topic/anomalous-behavior-of-default-menu/)
 *  Thread Starter [silvanasono](https://wordpress.org/support/users/silvanasono/)
 * (@silvanasono)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/anomalous-behavior-of-default-menu/#post-4324565)
 * Is it relevant?
    It is a self-made theme. But anyway, i have described the process.
   I think nothing was missing.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Quick Post Widget] [Plugin: Quick Post Widget] Inclusion of files everywhere](https://wordpress.org/support/topic/plugin-quick-post-widget-inclusion-of-files-everywhere/)
 *  Thread Starter [silvanasono](https://wordpress.org/support/users/silvanasono/)
 * (@silvanasono)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/plugin-quick-post-widget-inclusion-of-files-everywhere/#post-2408178)
 * Thanks, I will try it soon
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Subscribe2 - Form, Email Subscribers & Newsletters] Editor accessing Subscribe2 functionalities](https://wordpress.org/support/topic/editor-accessing-subscribe2-functionalities/)
 *  Thread Starter [silvanasono](https://wordpress.org/support/users/silvanasono/)
 * (@silvanasono)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/editor-accessing-subscribe2-functionalities/#post-2532861)
 * It looks working, thanks
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Quick Post Widget] [Plugin: Quick Post Widget] Inclusion of files everywhere](https://wordpress.org/support/topic/plugin-quick-post-widget-inclusion-of-files-everywhere/)
 *  Thread Starter [silvanasono](https://wordpress.org/support/users/silvanasono/)
 * (@silvanasono)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-quick-post-widget-inclusion-of-files-everywhere/#post-2408154)
 * This is the point.
    My belief, that i will check as sooc as i can, is that init
   is an initialization of a class that occurs once, when the class is loaded the
   first time, that is when the website is loaded the first time. This is why you
   in that section you cannot choose any page for loading the scripts. So I believe.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Quick Post Widget] [Plugin: Quick Post Widget] Inclusion of files everywhere](https://wordpress.org/support/topic/plugin-quick-post-widget-inclusion-of-files-everywhere/)
 *  Thread Starter [silvanasono](https://wordpress.org/support/users/silvanasono/)
 * (@silvanasono)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-quick-post-widget-inclusion-of-files-everywhere/#post-2408071)
 * Well, it is exactly how i have done, i put !is_home and it did not work, because
   it did not load the functions at all. Anyway i will try again as you suggested,
   it might be that i had missed something…
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Get Children of Current Page (within page content)](https://wordpress.org/support/topic/get-children-of-current-page-within-page-content/)
 *  [silvanasono](https://wordpress.org/support/users/silvanasono/)
 * (@silvanasono)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/get-children-of-current-page-within-page-content/#post-1077841)
 * Thank you very much Vteixeira

Viewing 9 replies - 1 through 9 (of 9 total)