
|
||||
|
Many people like myself have a HUGE hierarchy of categories in wordpress. This makes the menu loading a big slow due to the mySQL query. Here is how you can show only the top parent categories....
Open 'theme-functions.php' in '/public_html/wp-content/plugins/ot_plugins' Find: Code:
wp_list_categories(array('exclude' =>
Code:
'title_li' => 0, 'depth' => 2)); Code:
2 Code:
1
__________________
Sajan Parikh PLAWX Web Hosting PLAWX Web Hosting fully supports One-Panel, . Contact me for information.
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to show image with option "User Defined Limit" | sfera | Using One Theme | 0 | 09-17-2008 04:17 AM |
| Select from all categories in feature boxes | pcbdaily | Suggestion Box | 1 | 09-10-2008 07:34 AM |
| Hiding categories | ferpferpferp | Suggestion Box | 2 | 09-02-2008 08:58 PM |
| Featured Categories | SheepleBlog | Using One Theme | 4 | 08-08-2008 12:50 AM |
| Can't get full post to show on home page | Bob | Using One Theme | 2 | 07-28-2008 11:08 PM |