[wordpress插件] Plugin Name: Classy wp_list_pages插件名称:Classy wp_list_pages

wordpress 插件 文章 2020-03-24 08:30 525 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plugin adds classes or IDs (your choice) to the LI tags generated by WordPress' wp_list_pages() and wp_nav_menu() functions

此插件将类或ID(由您选择)添加到WordPress的 wp_list_pages() wp_nav_menu()函数生成的 LI 标记中

.

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.

该插件可让您使用CSS设置 wp_list_pages() wp_nav_menu()的输出样式。

The class name or ID is derived from the URL of the page.

类名或ID是从页面的URL派生的。

For example,

例如,

    • /about/ could have the class about.

    • / about / 可以具有类 about

    • /about/faq/ could have the class about_faq.
    • / about / faq / 可以具有类 about_faq

    If a page does not have a URL (eg your front page) the plugin will set the class or id (depending on what you selected) to

    如果页面没有URL(例如,首页),则插件会将 class id (取决于您选择的内容)设置为

    frontpage, adding whatever prefix you requested.

    首页,添加您要求的任何前缀。

    For example,

    例如,

      • / could have the class pg_frontpage.

      • / 可以具有类 pg_frontpage

      Existing classes (e.g. page_item or current) are left untouched.

      现有类别(例如 page_item current )保持不变。

      Sample output

      样本输出

      “ title =”一个新页面“>一个新页面

    • 关于

      >

      >

    • 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.

      使用选项面板中的 Classy wp_list_pages 标签,您可以选择是否要使用ID或类,设置令牌分隔符并添加可选的令牌前缀。

      You can also specify a class to add to the first and last items in a list.

      您还可以指定要添加到列表中第一项和最后一项的类。

      Pretty straight forward…

      挺直的……

      Contact and Credits

      联系人和积分

      Written by Alex Dunae ( dunae.ca ), e-mail 'code' at the same domain), 2007

      由Alex Dunae( dunae.ca )撰写,同一域中的电子邮件“代码”),2007年

      -09.

      -09。

安装步骤

    1. Unzip classy_wp_list_pages.zip in your/wp-content/plugins/ directory.
    2. / wp-content / plugins / 目录中

    3. 解压 classy_wp_list_pages.zip

    4. Activate the plugin through the ‘Plugins’ menu in WordPress.
    5. 通过WordPress中的“插件”菜单激活插件。

    6. Navigate the the Classy wp_list_pages tab in the options panel to configure the plugin.
    7. 导航选项面板中的 Classy wp_list_pages 标签以配置插件。

下载地址
https://downloads.wordpress.org/plugin/classy-wp-list-pages.1.4.0.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] Detail Popups详细信息弹出窗口
[wordpress插件] Church教会
[wordpress插件] CTR Widget点击率小工具
[wordpress插件] Autotag Posts by SHIFT1SHIFT1自动标记帖子
[wordpress插件] Chat for Aesop Story Engine聊天Aesop Story Engine
随便看看
教育科技公司申请微信支付被拒绝? 4798
微信公众号免300认证教程 5892
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 5299
小程序广告组件通过审核,但是小程序内没有显示广告? 5067
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9048
如何快速搭建抽奖助手小程序(无需代码知识) 6177
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7472
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 6793
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 6128