Aquesta extensió no s’ha provat en les darreres 3 versions majors del WordPress. Segurament no està mantinguda o suportada, i pot tenir problemes de compatibilitat quan s’usa en versions recents del WordPress.

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 ( by Tim Trott(
and WP e-Commerce Featured Product by Zorgbargle | Phenomenoodle

More info about the plugin:

Arbitrary section

You can also use this hack instead of the plugin
If you have any questions, please let me know

This readme file were validated at


  • Configuring widget parameters on wp-admin
  • Live demo on


  • 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)


  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’) )
‘name’ => ‘wp_categ_menu’,
‘before_widget’ => ”,
‘after_widget’ => ”,
‘before_title’ => ”,
‘after_title’ => ”,

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


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


No hi ha ressenyes per a aquesta extensió.

Col·laboradors i desenvolupadors

«WP Categ Menu» és programari de codi obert. La següent gent ha col·laborat en aquesta extensió.


Registre de canvis

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