Title: Section Subnav
Author: benknight
Published: <strong>আগষ্ট 30, 2011</strong>
Last modified: আগষ্ট 30, 2011

---

প্লাগিনৰ সন্ধান কৰক

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/section-subnav.svg)

# Section Subnav

 [benknight](https://profiles.wordpress.org/benknight/)-ৰ দ্বাৰা

[ডাউনল’ড কৰক](https://downloads.wordpress.org/plugin/section-subnav.0.9.zip)

 * [বিশদ বিৱৰণ](https://as.wordpress.org/plugins/section-subnav/#description)
 * [পৰ্য্যালোচনা](https://as.wordpress.org/plugins/section-subnav/#reviews)
 *  [ইনষ্টলেশ্যন](https://as.wordpress.org/plugins/section-subnav/#installation)
 * [বিকাশ](https://as.wordpress.org/plugins/section-subnav/#developers)

 [সাহায্য](https://wordpress.org/support/plugin/section-subnav/)

## বৰ্ণনা

This is a simple plugin that was born out of working on several projects with sectional
navigations. For example, consider the following common navigation tree structure:

 * Home
 * Item
 * About Us
    - Sub-item #1
    - Sub-item #2
 * Item
 * Item

Then, whenever on the “About Us” page or any of its sub-items, it would output that
peice of the navigation:

 * About Us
    - Sub-item #1
    - Sub-item #2

This is particularly useful for websites that have a top horizontal navigation which
shows top-level items and want to show a vertical subnavigation in the sidebar.

This plugin works by parsing the output of the `wp_nav_menu` function as XML and
analyzing the CSS class hooks (current-menu-ancestor, current-menu-item, and current-
menu-parent). Because it uses PHP’s SimpleXML library it therefore requires PHP 
5+. It uses the theme’s registered menu locations.

This plugin also exposes the `section_subnav()` function for theme developers to
use as a template tag to manually place a subnav inside the theme. Here is the usage:

    ```
    <?php

        section_subnav( array( // defaults
            'before_widget' => '<nav id="section-subnav" class="widget widget_section-subnav">',
            'after_widget' => "</nav>",
            'before_title' => '<h3 class="section-subnav-title widget-title">',
            'after_title' => '</h3>',
            'echo' => true
        ));

    ?>
    ```

It returns false when there is no subnavigation.

This function also provides the `section_subnav_args` filter hook for writing less
code and easier integration with other plugins and child themes.

## ইনষ্টলেশ্যন

This section describes how to install the plugin and get it working.

 1. Upload `section-subnav` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Add the widget to a sidebar or use the `section_subnav()` function in one of your
    theme templates.

## পৰ্য্যালোচনা

![](https://secure.gravatar.com/avatar/6955650dfc2336dd1f5601c9089ff5bc39b5d5c20f848724cce25ffdf64aee8b?
s=60&d=retro&r=g)

### 󠀁[Excellent Plugin](https://wordpress.org/support/topic/excellent-plugin-3523/)󠁿

 [raygulick](https://profiles.wordpress.org/raygulick/) ডিচেম্বৰ 5, 2017

There is nothing else like it among wordpress.org plugins. You should update it 
to keep it current.

 [ আটাই 3টা পৰ্য্যালোচনা পঢ়ক ](https://wordpress.org/support/plugin/section-subnav/reviews/)

## অৱদানকাৰী আৰু বিকাশকাৰীসকল

“Section Subnav” হৈছে মুক্ত উৎসৰ ছফ্টৱেৰ। এইসকল লোকে এই প্লাগিনত অৱদান আগবঢ়াইছে।

অৱদানকাৰীসকল

 *   [ benknight ](https://profiles.wordpress.org/benknight/)

[আপোনাৰ ভাষাত “Section Subnav” অনুবাদ কৰক।](https://translate.wordpress.org/projects/wp-plugins/section-subnav)

### বিকাশৰ প্ৰতি আগ্ৰহী?

[ক’ড ব্ৰাউজ কৰক](https://plugins.trac.wordpress.org/browser/section-subnav/), [SVN ৰিপজিটৰী](https://plugins.svn.wordpress.org/section-subnav/)
চাওক নাইবা [RSS](https://plugins.trac.wordpress.org/log/section-subnav/?limit=100&mode=stop_on_copy&format=rss)-
দ্বাৰা [বিকাশৰ পঞ্জী](https://plugins.trac.wordpress.org/log/section-subnav/) ছাবস্ক্ৰাইব
কৰক।

## সলনি-পঞ্জী

#### 0.9

 * Initial release.

## মেটা

 *  **0.9** সংস্কৰণ
 *  **15 বছৰ আগত** শেষবাৰ আপডে’ট হৈছিল
 *  সক্ৰিয় ইনষ্টলেশ্যন **60+**
 *  WordPress-ৰ সংস্কৰণ ** 3.1 বা তাতকৈ ওপৰৰ **
 *  ইমানলৈকে পৰীক্ষা কৰা হৈছে **3.2.1**
 *  ভাষা
 * [English (US)](https://wordpress.org/plugins/section-subnav/)
 * [menu](https://as.wordpress.org/plugins/tags/menu/)[navigation](https://as.wordpress.org/plugins/tags/navigation/)
   [widget](https://as.wordpress.org/plugins/tags/widget/)
 *  টেগবোৰ
 *  [উচ্চখাপৰ ভিউ](https://as.wordpress.org/plugins/section-subnav/advanced/)

## ৰে’টিংবোৰ

 5টাৰ ভিতৰত 5টা তৰা।

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/section-subnav/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/section-subnav/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/section-subnav/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/section-subnav/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/section-subnav/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/section-subnav/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/section-subnav/reviews/)

## অৱদানকাৰীসকল

 *   [ benknight ](https://profiles.wordpress.org/benknight/)

## সাহায্য

কিবা ক’বলগীয়া আছে? সহায় লাগে?

 [সাহায্যৰ ফ’ৰাম চাওক](https://wordpress.org/support/plugin/section-subnav/)

## দান কৰক

আপুনি এই প্লাগিনৰ উন্নতিৰ প্ৰতি সাহায্য আগবঢ়াব বিচাৰেনে?

 [ এই প্লাগিনক অনুদান দিয়ক ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=NYCGJ7YCGUTAQ&lc=US&item_name=Benjamin%20Knight&item_number=section%2dsubnav&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)