NAVT-тотальное управление навигацией в WordPress

Предлагаю вашему вниманию очень интересный плагин для организации и настройки навигации на вашем сайте.

Вкраце: позволяет группировать в блоки разнородные ссылки (страницы, рубрики, произвольные ссылки и т.д.). На самом деле возможностей очень много в плане настройки, изменения свойств, внешнего вида, интеграции в шаблон и т.д.

Описание по русски: Управление навигацией в WordPress
Страница плагина (ENG): WordPress Navigation Tool (NAVT)
Скачать: последнюю версию

Перевод уже в комплекте.

Плагин неплохой, но как сделать навигацию я что-то без понятия. Помогите 🙂

Согласен. Я тоже не понял как его использовать. Группу создал, а дальше что?

Там же хелповник есть.

NAVT Plugin For Word Press

PHP Interface function call syntax:
navt_getlist($sNavGroupName, $bEcho=true, $sTitle='', $sBefore='ul', $sAfter='/ul', $sBeforeItem='li', $sAfterItem='/li')

Where:

string $sNavGroupName (no default - note: you cannot specify the 'unassigned' menu group)
The name of the requested navigation group- Note: the name *must* match the group name you defined when the group was created.

boolean $bEcho (default = true)
Instructs the function to echo the html output. If set to false, the output is returned.

string $sTitle (default='')
An optional title to appear before the menu. You may specify tags/class (example:"<h3 class="cls">Menu Title</h3>" )

string $sBefore (default = 'ul')
The opening tag(s) that encapsulates the menu (without the beginning or ending angle brackets) Combinations of tags can be used as in:
"ul><div class="my_menu_class"
(Note that the beginning and ending angle brackets are not included.

string $sAfter (default = '/ul')
The closing tag(s) that match the $sBefore tag (without the beginning or ending angle brackets) Use the closing tag combinations for
multiple tags as in: "/div></ul" (for the $sBefore example above.)

string $sBeforeItem (default = 'li')
The opening tag(s) that encapsulates each menu item (without the beginning or ending angle brackets).

string $sAfterItem (default = '/li')
The closing tag(s) that matches the tags used in $sBeforeItem (without the beginning or ending angle brackets).

return HTML formatted output or NULL if $bEcho = true

Черт, а я по привычке в readme.txt искал.

Знаем мы этот плагин, стремный он однако.

Особено редактирование в реальном времени настараживает, это получается пока админ правит меню, у юзеров тоже пункты бегают :), да и подглючивает его.

Жаль альтернативы нет…

И кстате я на нем делал навигацию подругому, сначала регестрировал новый сайдбар, а потом в админке добавлял на него виджет NAVT

Anonymous
Отправить
Ответ на: