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
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.
.
dazu Gesagtes