Linux 软件免费装

Plugin Name

开发者 alexdunae
更新时间 2011年2月5日 02:13
PHP版本: 2.2 及以上
WordPress版本: 3.0.4

标签

links css style class id wp_list_pages

下载

1.4.0 1.0 1.1 1.1.1 1.2 1.2.1 1.2.2 1.3 1.3.1 1.3.2

详情介绍:

This plugin adds classes or IDs (your choice) to the LI tags generated by WordPress' wp_list_pages() and wp_nav_menu() functions. I found it very frustrating to style the output of these menus without having access to these attributes. This plugin allows you to style the output of wp_list_pages() and wp_nav_menu() with CSS. The class name or ID is derived from the URL of the page. For example, If a page does not have a URL (e.g. your front page) the plugin will set the class or id (depending on what you selected) to frontpage, adding whatever prefix you requested. For example, Existing classes (e.g. page_item or current) are left untouched. Sample output
  • A new page
  • About
  • Another new page
  • Configuration Using the Classy wp_list_pages tab in the options panel you can choose whether you want to use IDs or classes, set the token separator and add an optional token prefix. You can also specify a class to add to the first and last items in a list. Pretty straight forward...

    安装:

    1. Unzip classy_wp_list_pages.zip in your/wp-content/plugins/ directory.
    2. Activate the plugin through the 'Plugins' menu in WordPress.
    3. Navigate the the Classy wp_list_pages tab in the options panel to configure the plugin.

    更新日志:

    1.4.0 1.3.2 1.3.1 1.3 1.2.2 1.2.1 1.2 1.1.1 1.1 1.0