[wordpress插件] Custom Field Snippet自定义字段摘要

wordpress 插件 文章 2020-04-08 04:40 380 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

This plugin creates and shows the snippets which display your custom field data.

此插件创建并显示片段,这些片段显示您的自定义字段数据。

You can display your custom field data, by pasting these codes to your theme.

通过将这些代码粘贴到主题中,可以显示自定义字段数据。

This plugin saves the time for theme developers/designers writing codes.

此插件为主题开发人员/设计人员节省了编写代码的时间。

When you are using ACF, tab fields for ACF is displayed.

使用ACF时,将显示ACF的选项卡字段。

The default tab is hidden.

默认选项卡处于隐藏状态。

If you need the default tab while you are using ACF, please add this code below into your theme’s functions.php

如果您在使用ACF时需要默认选项卡,请将下面的代码添加到主题的function.php

// start from here

//从这里开始

add_action( ‘init’, ‘register_default_tab’);

add_action('init','register_default_tab');

function register_default_tab() {
  

函数register_default_tab(){
  

register_cfs_tabs(‘Defaulttab’);
  

register_cfs_tabs('Defaulttab');
  

}

}

// end

//结束

Extension plugin is available from http://wp.php-web.net/?p

扩展插件可从 http://wp.php-web.net/?p获得

=275

= 275

This plugin supports Advanced Custom Fields Repeater addon and Advanced Custom Fields Flexible addon.

此插件支持高级自定义字段中继器插件和高级自定义字段灵活插件。

It may take times to support ACF5, since ACF5 changes dramatically.

由于ACF5发生了巨大变化,因此支持ACF5可能需要花费一些时间。

If you want quick update to support ACF5, you can pay for me http://pledgie.com/campaigns/8706

如果您想快速更新以支持ACF5,可以为我付费http://pledgie.com/campaigns/8706

安装步骤

    1. Upload custom-field-snippet.php to the /wp-content/plugins/ directory
    2. custom-field-snippet.php 上载到 / wp-content / plugins / 目录

下载地址
https://downloads.wordpress.org/plugin/custom-field-snippet.zip
-EOF-

AI助手支持GPT4.0