[wordpress插件] Carbon Breadcrumbs碳面包屑

wordpress 插件 文章 2020-03-16 20:50 489 0 全屏看文

AI助手支持GPT4.0

评分
96
描述

Provides the theme and plugin developers an easy way to build and implement highly customizable breadcrumb functionality, specifically tailored to their needs.

为主题和插件开发人员提供了一种轻松的方式来构建和实现高度可定制的面包屑功能,专门针对其需求量身定制。

Supports a lot of filters and hooks, and is written in OOP style, giving developers full control over the breadcrumb trail items and appearance.

支持很多过滤器和挂钩,并且以OOP风格编写,从而使开发人员可以完全控制面包屑跟踪项和外观。

This plugin can also be embedded in themes, instead of installing it as a WordPress plugin.

该插件也可以嵌入主题中,而不是将其安装为WordPress插件。

Configuration

配置

The most basic way to insert Carbon Breadcrumbs in your theme code is:

在主题代码中插入碳面包屑的最基本方法是:

  <?php Carbon_Breadcrumb_Trail :: output(); 

?>

?>

If you want to specify various breadcrumb rendering options, you can specify them in an array, like this:

如果要指定各种面包屑渲染选项,则可以在数组中指定它们,如下所示:

  <?php

Carbon_Breadcrumb_Trail::output(array(    

Carbon_Breadcrumb_Trail :: output(array(    

'glue' => ' >

'glue'=>'&gt;

', // glue between breadcrumb items    

',//面包屑项目之间的粘合    

'link_before' => '',    

'link_before'=>'',    

'link_after' => '',    

'link_after'=>``,    

'wrapper_before' => '',    

'wrapper_before'=>'',    

'wrapper_after' => '',    

'wrapper_after'=>``,    

'title_before' => '',    

'title_before'=>``,    

'title_after' => '',    

'title_after'=>``,    

'min_items' => 2,    

'min_items'=> 2,    

'last_item_link' => true,    

'last_item_link'=>是,    

'display_home_item' => true,    

'display_home_item'=>是,    

'home_item_title' => __('Home', 'carbon_breadcrumbs'),    

'home_item_title'=> __('Home','carbon_breadcrumbs'),    

'renderer' => 'Carbon_Breadcrumb_Trail_Renderer',

'renderer'=>'Carbon_Breadcrumb_Trail_Renderer',

));

));

?>

?>

For additional configuration and developer documentation, you can visit the Github repository:

有关其他配置和开发人员文档,您可以访问Github存储库:

https://github.com/tyxla/carbon-breadcrumbs

https://github.com/tyxla/carbon-breadcrumbs

Ideas and bug reports

想法和错误报告

Any ideas for new modules or any other additional functionality that users would benefit from are welcome.

欢迎提出任何有关新模块或用户将从中受益的任何其他附加功能的想法。

If you have an idea for a new feature, or you want to report a bug, feel free to do it here in the Support tab, or you can do it at the Github repository of the project:

如果您有新功能的想法,或者想要报告错误,请随时在“支持”选项卡中进行操作,或者在项目的Github存储库中进行操作:

https://github.com/tyxla/carbon-breadcrumbs

https://github.com/tyxla/carbon-breadcrumbs

安装步骤

    1. Install Carbon Breadcrumbs either via the WordPress.org plugin directory, or by uploading the files to your server.
    2. 通过WordPress.org插件目录或将文件上传到服务器来安装Carbon Breadcrumbs。

    3. Activate the plugin.
    4. 激活插件。

    5. That’s it.

    6. 就是这样。

      You’re ready to go!

      您准备好出发了!

      Please, refer to the Configuration section for examples and usage information.

    7. 请参阅“配置”部分以获取示例和用法信息。

下载地址
https://downloads.wordpress.org/plugin/carbon-breadcrumbs.1.0.2.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] The Accessibility Toolbar by Online ADAOnline ADA的辅助功能工具栏
[wordpress插件] 360 Product Rotation360度产品旋转
[wordpress插件] CallBack Widget for WordPressWordPress的回叫小部件
[wordpress插件] Company History公司历史
[wordpress插件] AdRotater Email Ad ReportsAdRotater电子邮件广告报告
随便看看
教育科技公司申请微信支付被拒绝? 3931
微信公众号免300认证教程 5037
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 4256
小程序广告组件通过审核,但是小程序内没有显示广告? 4333
企业微信通讯录账号被管理员误/恶意删除,怎么办? 8238
问题? 7461
如何快速搭建抽奖助手小程序(无需代码知识) 5140
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 6098
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 5706
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 5287