Title: WP Categ Menu
Author: alvaron
Published: <strong>2011 年 8 月 30 日</strong>
Last modified: 2011 年 9 月 15 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/wp-categ-menu.svg)

# WP Categ Menu

 作者：[alvaron](https://profiles.wordpress.org/alvaron/)

[下载](https://downloads.wordpress.org/plugin/wp-categ-menu.zip)

 * [详情](https://cn.wordpress.org/plugins/wp-categ-menu/#description)
 * [评价](https://cn.wordpress.org/plugins/wp-categ-menu/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wp-categ-menu/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/wp-categ-menu/#developers)

 [支持](https://wordpress.org/support/plugin/wp-categ-menu/)

## 描述

Description: Widget/shortcodes menu(list or select field) based on posts categories/
pages(also for custom post types and custom taxonomies). You can display subcategories(
one level) and configure CSS, with optional jquery dropdown effect.
 Based on Sample
Hello World Plugin 2 (http://lonewolf-online.net/) by Tim Trott(http://lonewolf-
online.net/) and WP e-Commerce Featured Product by Zorgbargle | Phenomenoodle http://
www.phenomenoodle.com

More info about the plugin:http://www.wpworking.com/

### Arbitrary section

You can also use this hack instead of the plugin http://wp.me/p1fZU8-7A
 If you 
have any questions, please let me know alvaron8@gmail.com

This readme file were validated at https://wordpress.org/extend/plugins/about/validator/

## 屏幕截图

[⌊Configuring widget parameters on wp-admin⌉⌊Configuring widget parameters on wp-
admin⌉[

Configuring widget parameters on wp-admin

[⌊Live demo on http://www.wpworking.com/posts-list/⌉⌊Live demo on http://www.wpworking.
com/posts-list/⌉[

Live demo on http://www.wpworking.com/posts-list/

## 安装

 * After the steps bellow, go to the permalink settings page and update it without
   changing, it flushes WordPress permalink settings and make the product permalink
   work.

 1. Upload `wp_categ_menu` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

Version 7.0.0 supports short codes, like this: [wpcm tpp=’s’ pggo=’c’ tte=” typep
=’posts’ catg=’category’ subc=’false’ orient=” styatr1=” styatr2=” styatr3=” styatr4
=” ste=’Select a Category’ selcss=”] /* tpp – Menu Type – ‘s’ select ‘m’ menu – 
default = ‘posts’; pggo – Display Pages or Categories? ‘c’ categories ‘p’ pages;
tte – Widget Title – default = ”; typep – Posts Type – default = ‘posts’; catg –
Posts Category – default = ‘category’; subc – Display subcategories/child pages(
one level) – default =” ; sbmn – Use Jquery drop down subcategory submenu – default
=” ; orient – Menu Orientation(doesn’t work for select field) ‘h’ or ‘v’ – default
=” ; styatr1 – Main menu(ul) CSS (doesn’t work for select field); styatr2 – Main
menu(LI) CSS (doesn’t work for select field); styatr3 – Sub menu(ul) CSS (doesn’t
work for select field); styatr4 – Sub menu(LI) CSS (doesn’t work for select field);
ste – Select first option text(doesn’t work for regular menu) – default is “Select
One”; selcss – Select field CSS(doesn’t work for regular menu) */

Or

 1. Register a widget sidebar on your functions file, for example, just paste the code
    below on your theme functions.php

/_if ( function\_exists(‘register\_sidebar’) ) register\_sidebar(array( ‘name’ =
> ‘wp\_categ\_menu’, ‘before\_widget’ => ”, ‘after\_widget’ => ”, ‘before\_title’
=> ”, ‘after\_title’ => ”, ));_/

 1. Go to the permalink settings page and update it without changing

Or

You if you have already registered any sidebar, you can drag the `WP Categ Menu`
widget inside it, at wp-admin

 1. Configure the widget on your wp-admin pannel and save(see screenshot 1)
 2. Use the PHP code bellow where you want the widget to show, on your theme pages /*
    if ( !function_exists(‘dynamic_sidebar’) || !dynamic_sidebar(‘wp_categ_menu’)) :
    endif; */
 3. You can also play with its CSS styles, so using the ids divcateg, ulcateg and the
    dynamic generated licateg_[category slug], you may change the category menu appearance.
    If you choose to use the select field menu, use the element selcateg to change 
    CSS.
 4. Go to the permalink settings page and update it without changing

## 常见问题

If you have any questions, please let me know alvaron8@gmail.com

## 评价

此插件暂无评价。

## 贡献者及开发者

「WP Categ Menu」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「WP Categ Menu」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-categ-menu)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wp-categ-menu/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/wp-categ-menu/)，或通过[RSS](https://plugins.trac.wordpress.org/log/wp-categ-menu/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wp-categ-menu/)。

## 更新日志

On version 7.0.0 works with shortcodes
 On version 6.0.2 fixed javascritp bug On
version 6.0.1 fixed bug for categories or pages with “-” on the name On version 
6.0.0 you can choose pages or categories to display on the menu bug fixed on ul-
li menu

## 额外信息

 *  版本 **7.0.0**
 *  最后更新：**15 年前**
 *  活跃安装数量 **30+**
 *  WordPress 版本 ** 3.2 或更高版本 **
 *  已测试的最高版本为 **3.2.1**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-categ-menu/)
 * 标签
 * [categories](https://cn.wordpress.org/plugins/tags/categories/)[list](https://cn.wordpress.org/plugins/tags/list/)
   [menu](https://cn.wordpress.org/plugins/tags/menu/)[posts](https://cn.wordpress.org/plugins/tags/posts/)
   [subcategories](https://cn.wordpress.org/plugins/tags/subcategories/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-categ-menu/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/wp-categ-menu/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/wp-categ-menu/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wp-categ-menu/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.wpworking.com/)