Welcome To Snipplr


Everyone's Recent Snippets Tagged category



« Prev 1 2
filter out by category ID in Magento
0 1350 posted 12 years ago by tomle123
[register_nav_menus](http://codex.wordpress.org/Function_Reference/register_nav_menus,"register_nav_menus") [wp_nav_menu](http://codex.wordpress.org/Function_Reference/wp_nav_menu,"wp_nav_menu") [in_category](http://codex.wordpress.org/Function_Ref...
0 1442 posted 12 years ago by hell0world
Get Wordpress wp_get_archives for a specific category... by default it sghows all categorys
0 2989 posted 13 years ago by i-am-andy
Just insert any category id into the argument and it will return the top level category object. e.g: print_r( get_top_level_category('INSERT CATEGORY ID HERE') );
0 1663 posted 14 years ago by djmosc
Show wp categories in drop down list like ...
0 1810 posted 14 years ago by webtechdev
add this in functions.php
0 2336 posted 14 years ago by IronMANro
1 1271 posted 14 years ago by odenijs
This snippet will help you to use the mother category, the ones with parent => 0, as your classes ready to be stylezed in your CSS!
0 1546 posted 14 years ago by Pr0v4
How to get a category id from the name of the category
0 1424 posted 14 years ago by athanassiadis
0 2138 posted 14 years ago by nico65
1 1702 posted 14 years ago by widescape
Как сделать вывод из нескольких таблиц (php mysql) Итак, имеем: Три таблицы - articles, categories и sections. По иерархии - в sections включаются categories, а в catego...
0 1382 posted 14 years ago by graceman9
Mostrar un link a una subcategoría, dependiendo de la categoría superior. category_parent es igual al id de la categoría superior. Sirve sólo cuando el post tiene una categoría hija de la categoría superior.
0 1190 posted 15 years ago by jhonqwerty
0 1564 posted 15 years ago by K2Joom
0 1067 posted 15 years ago by K2Joom
0 1246 posted 15 years ago by K2Joom
0 1135 posted 15 years ago by gd6d
Verified working for WP v2.9.1
1 1482 posted 15 years ago by johnandrewsroot
How to get actual category name in wordpress if is_category() is true
0 1124 posted 15 years ago by AlessandroCoscia
Usually use in a template with `in_category()`, like `if ( in_category( 3 ) || in_subcategory( 3 ) ) { ...`. Tested in WP 2.8.4.
1 1425 posted 16 years ago by cyberhobo
« Prev 1 2