silvanasono
Forum Replies Created
-
Forum: Plugins
In reply to: [Collapsing Categories] Widget not foundMy theme is not old but i cannot see the widget as well :/
Forum: Themes and Templates
In reply to: Anomalous Behavior of Default MenuFurthermore, 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
In reply to: Anomalous Behavior of Default MenuI 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 youForum: Themes and Templates
In reply to: Anomalous Behavior of Default MenuIs it relevant?
It is a self-made theme. But anyway, i have described the process. I think nothing was missing.Forum: Plugins
In reply to: [Quick Post Widget] [Plugin: Quick Post Widget] Inclusion of files everywhereThanks, I will try it soon
It looks working, thanks
Forum: Plugins
In reply to: [Quick Post Widget] [Plugin: Quick Post Widget] Inclusion of files everywhereThis 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
In reply to: [Quick Post Widget] [Plugin: Quick Post Widget] Inclusion of files everywhereWell, 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
In reply to: Get Children of Current Page (within page content)Thank you very much Vteixeira