Deprecated: Assigning the return value of new by reference is deprecated in /www/htdocs/w00a2ebd/wp-settings.php on line 520

Deprecated: Assigning the return value of new by reference is deprecated in /www/htdocs/w00a2ebd/wp-settings.php on line 535

Deprecated: Assigning the return value of new by reference is deprecated in /www/htdocs/w00a2ebd/wp-settings.php on line 542

Deprecated: Assigning the return value of new by reference is deprecated in /www/htdocs/w00a2ebd/wp-settings.php on line 578

Deprecated: Function set_magic_quotes_runtime() is deprecated in /www/htdocs/w00a2ebd/wp-settings.php on line 18

Strict Standards: Declaration of Walker_Page::start_lvl() should be compatible with Walker::start_lvl(&$output) in /www/htdocs/w00a2ebd/wp-includes/classes.php on line 1199

Strict Standards: Declaration of Walker_Page::end_lvl() should be compatible with Walker::end_lvl(&$output) in /www/htdocs/w00a2ebd/wp-includes/classes.php on line 1199

Strict Standards: Declaration of Walker_Page::start_el() should be compatible with Walker::start_el(&$output) in /www/htdocs/w00a2ebd/wp-includes/classes.php on line 1199

Strict Standards: Declaration of Walker_Page::end_el() should be compatible with Walker::end_el(&$output) in /www/htdocs/w00a2ebd/wp-includes/classes.php on line 1199

Strict Standards: Declaration of Walker_PageDropdown::start_el() should be compatible with Walker::start_el(&$output) in /www/htdocs/w00a2ebd/wp-includes/classes.php on line 1244

Strict Standards: Declaration of Walker_Category::start_lvl() should be compatible with Walker::start_lvl(&$output) in /www/htdocs/w00a2ebd/wp-includes/classes.php on line 1391

Strict Standards: Declaration of Walker_Category::end_lvl() should be compatible with Walker::end_lvl(&$output) in /www/htdocs/w00a2ebd/wp-includes/classes.php on line 1391

Strict Standards: Declaration of Walker_Category::start_el() should be compatible with Walker::start_el(&$output) in /www/htdocs/w00a2ebd/wp-includes/classes.php on line 1391

Strict Standards: Declaration of Walker_Category::end_el() should be compatible with Walker::end_el(&$output) in /www/htdocs/w00a2ebd/wp-includes/classes.php on line 1391

Strict Standards: Declaration of Walker_CategoryDropdown::start_el() should be compatible with Walker::start_el(&$output) in /www/htdocs/w00a2ebd/wp-includes/classes.php on line 1442

Strict Standards: Redefining already defined constructor for class wpdb in /www/htdocs/w00a2ebd/wp-includes/wp-db.php on line 306

Strict Standards: Redefining already defined constructor for class WP_Object_Cache in /www/htdocs/w00a2ebd/wp-includes/cache.php on line 431

Strict Standards: Declaration of Walker_Comment::start_lvl() should be compatible with Walker::start_lvl(&$output) in /www/htdocs/w00a2ebd/wp-includes/comment-template.php on line 1266

Strict Standards: Declaration of Walker_Comment::end_lvl() should be compatible with Walker::end_lvl(&$output) in /www/htdocs/w00a2ebd/wp-includes/comment-template.php on line 1266

Strict Standards: Declaration of Walker_Comment::start_el() should be compatible with Walker::start_el(&$output) in /www/htdocs/w00a2ebd/wp-includes/comment-template.php on line 1266

Strict Standards: Declaration of Walker_Comment::end_el() should be compatible with Walker::end_el(&$output) in /www/htdocs/w00a2ebd/wp-includes/comment-template.php on line 1266

Strict Standards: Redefining already defined constructor for class WP_Dependencies in /www/htdocs/w00a2ebd/wp-includes/class.wp-dependencies.php on line 31

Strict Standards: Redefining already defined constructor for class WP_Http in /www/htdocs/w00a2ebd/wp-includes/http.php on line 61

Strict Standards: Redefining already defined constructor for class nggdb in /www/htdocs/w00a2ebd/wp-content/plugins/nextgen-gallery/lib/ngg-db.php on line 60

Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GoogleSitemapGeneratorLoader::Enable() should not be called statically in /www/htdocs/w00a2ebd/wp-includes/plugin.php on line 339
Gaby’s - Colours of the Soul » Unterkategorien anzeigen lassen

Gaby’s - Colours of the Soul

Kunterbuntes

Jun252006

Unterkategorien anzeigen lassen

Abgelegt unter:WP-Tipps Tags: , ,

Strict Standards: Non-static method nggGallery::get_option() should not be called statically in /www/htdocs/w00a2ebd/wp-content/plugins/nextgen-gallery/nggfunctions.php on line 813

Strict Standards: Non-static method nggGallery::get_option() should not be called statically in /www/htdocs/w00a2ebd/wp-content/plugins/nextgen-gallery/nggfunctions.php on line 716

Strict Standards: Non-static method nggTags::find_images_for_tags() should not be called statically in /www/htdocs/w00a2ebd/wp-content/plugins/nextgen-gallery/nggfunctions.php on line 719

Strict Standards: Non-static method nggdb::find_images_in_list() should not be called statically in /www/htdocs/w00a2ebd/wp-content/plugins/nextgen-gallery/lib/tags.php on line 320

Strict Standards: Non-static method nggGallery::get_option() should not be called statically in /www/htdocs/w00a2ebd/wp-content/plugins/nextgen-gallery/nggfunctions.php on line 594

Strict Standards: Non-static method nggdb::find_image() should not be called statically in /www/htdocs/w00a2ebd/wp-content/plugins/nextgen-gallery/nggfunctions.php on line 597

Strict Standards: Non-static method nggGallery::capture() should not be called statically in /www/htdocs/w00a2ebd/wp-content/plugins/nextgen-gallery/nggfunctions.php on line 661


Strict Standards: Non-static method nggGallery::render() should not be called statically in /www/htdocs/w00a2ebd/wp-content/plugins/nextgen-gallery/lib/core.php on line 341
kategorien.jpg Folgendes Problem war bei Kirsten/Samceline aufgetaucht:
Sie hatte in ihrem Theme nur Oberkategorien und keine angezeigten Unterkategorien. Sprich die Unterkategorien waren nicht nach Rechts eingerückt.

Da hab ich mich heute einmal beigesetzt und geschaut, was man da machen kann. (hihi… ein wenig unter Zwang war das schon… Kirsten kann immer so schön hartnäckig betteln.)

Nach kurzem Hin- und Herprobieren hab ich folgende Lösung gefunden:

Kirsten brauchte nur ihren php-cats-Schnipsel

< ?php list_cats(0, '', 'name', 'asc', '', 1, 0, 1, 1, 1, 1, 0,'','','','','') ? >

mit diesem Schnipsel

< ?php wp_list_cats('&optioncount=1&hierarchical=1'); ?>

zu ersetzen.

Nun hat Kirsten auch Kategorien mit Unterkategorien. :)
Vor allem die Zahl der Beiträge wird jetzt auch wieder mit angezeigt. Ihr Wunsch ist mir ja fast immer Befehl. *smile*

Vielleicht hilft es ja dem einen oder anderen von Euch auch weiter. Wie immer aber ohne Gewähr.
.

Verwandte Artikel

Geschrieben wurde dieser Beitrag am Sonntag, 25. Juni 2006 so gegen 16 Uhr.

Einsortiert wurde er bei "WP-Tipps".


Du möchtest bei neuen Kommentaren benachrichtigt werden ? Dann verfolge die Kommentare mit RSS 2.0.

Kommentare und Pings sind zur Zeit geschlossen.

8 Kommentare

  1. Kommentar von Lexxy:

    Hey….ich habe es ähnlich gemacht *hehe*

    hmm gaby das mit dem Fragezeichen bei deiner Anmerkung ist doch
    richtig…das muss doch da bleiben !! meinst du nicht “Leerzeichen” ?? denn
    das Fragezeichen muss doch im php code bleiben ……oder bin ich jetzt
    auf dem falschen dampfer ?? hehe …..

    Kleiner Tipp: Nimm doch Code Shnippet (Plugin) da kann man sehr gut Codes
    auf dem Blog mit anzeigen lassen :)

    lg lexxy

  2. Kommentar von Biene:

    :)Super das Tut Gaby, so hab ich das jetzt auch hin bekommen. Bei mir fehlt zwar nur die 1 bei der Hirarchie, aber so hat ers ja auch nich angezeigt.
    Knuffels
    Biene

  3. Kommentar von Gaby:

    Lexxy, das Code Snippet hab ich, aber da muss ich noch mal schauen… das will bei mir nur im Xampp. :(

    Welches Fragezeichen meinst Du… ich meine und hab doch auch geschrieben, dass ich das Leerzeichen meine. *suuuch*

  4. Kommentar von Gaby:

    Danke Biene, das ist Prima… dann warst Du jetzt auch meine Testerin… :singen:
    Kirsten hat ja mit einem anderen Theme auch schon getestet.

  5. Kommentar von Lexxy:

    ach du sch…..mensch ich sollte echt besser lesen *grins*

    so nun hab ich aber noch etwas kniffeliges was ich auf teufel komm
    raus nicht geändert bekomme bzw hinbekomme……..

    wenn ich eine Oberkategorie habe mit 1 beitrag…….
    erscheinen dort aber auch alle beiträge aus den Unterkategorien, obwohl
    ich sie NUR der unterkategorie zugeordnet habe……

    bekomme da aber nichts hin ……

    bekommt das einer hin ?? Heul das nervt nämlich ganz schön !!!

  6. Kommentar von Gaby:

    Aaaaalso Lexxy, wenn Du das heraus gefunden hast, dann immer schnell heraus damit, das ist etwas, was mich auch schon die ganze Zeit nervt…

  7. Kommentar von Lexxy:

    lol Gaby……..ich werde es irgendwann rausbekommen !!!
    fragt sich nur wann *lach*

  8. Kommentar von Gaby:

    Ooooch Lexxy, ich kann warten… *looooool*


Gaby’s - Colours of the Soul läuft unter Wordpress 7368
Anpassung und Design: Gabis Wordpress-Templates
129 Verweise - 0,391 Sekunden.