Current-Page Bugfix
Mit diesem Plugin ist es möglich, den WordPress Bug zu umgehen, dass eine Seite die als Beitragsseite genutzt wird, nicht die CSS-Klasse current_page_item bekommt. Zusätzlich gibt das Plugin dem obersten Menüpunkt der aktuellen Auswahl ein current_page_parent mit.
Der genau Bug wurde von mir bereits im Blog beschrieben.
Die Nutzung des Plugins ist denkbar einfach:
- Plugin downloaden und extrahieren
- Ordern in wp-plugins hochladen
- Plugin aktivieren
- Im Theme an entsprechender Stelle wp_list_pages() mit list_pages_bugfix() ersetzen.
English summary: This plugin allows you to fix a wordpress bug. If you choose a page as your welcome page and another page for your posts, wordpress doesn’t give the css-class current_page_item to the post-page if selected. Any other page get this css-class. Download the plugin and upload it into your wp-plugins directory. After activating it, you can replace wp_list_pages() with list_pages_bugfix() and you don’t have this problem any more.
History:
- 30. Januar 2008: Version 1.2.1
* Blog bekommt nun bei einem 404er kein current_page_item mehr - 26. Januar 2008: Version 1.2
* behebt mehrere kleine Bugs
* fügt dem obersten Menüpunkt der aktuellen Auswahl ein current_page_parent hinzu. - 9. Januar 2008: Release der Version 1.0