当前位置: 首页>>代码示例>>PHP>>正文


PHP Fields::navigation_title方法代码示例

本文整理汇总了PHP中Fields::navigation_title方法的典型用法代码示例。如果您正苦于以下问题:PHP Fields::navigation_title方法的具体用法?PHP Fields::navigation_title怎么用?PHP Fields::navigation_title使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Fields的用法示例。


在下文中一共展示了Fields::navigation_title方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: Fields

 /**
  *
  * Layout: Post List
  *
  * @author Michael W. Delaney
  * @since 1.0
  *
  * List of posts
  */
 function post_list()
 {
     $FCBFields = new Fields(__FUNCTION__);
     $FCBRepeaters = new Repeaters(__FUNCTION__);
     $FCBFlexibleContent = new FlexibleContent(__FUNCTION__);
     return array('order' => '500', 'layout' => array('key' => $this->key . __FUNCTION__, 'name' => 'post_list', 'label' => 'Post List', 'display' => 'block', 'sub_fields' => array($FCBFields->title(), $FCBFields->navigation_title(), $FCBFields->tab_content(), $FCBFields->content(), $FCBFields->tab_post_list(), $FCBFields->posts_per_page(), $FCBFields->show_author(), $FCBFields->show_date(), $FCBFields->show_featured_image(), $FCBFields->category(), $FCBFields->tab_background(), $FCBFields->background_image(), $FCBFields->background_color(), $FCBFields->background_color_placeholder(), $FCBFields->theme_color(), $FCBFields->choose_color(), $FCBFields->tab_cta(), $FCBFlexibleContent->cta(), $FCBFields->tab_dev(), $FCBFields->dev_block_message(), $FCBRepeaters->block_data_attributes(), $FCBFields->block_classes(), $FCBFields->tab_endpoint())));
 }
开发者ID:mwdelaney,项目名称:acf-flexible-content-blocks,代码行数:16,代码来源:class-acffcb-layouts.php

示例2: collapsibles

 /**
  *
  * Repeater: Collapsibles
  *
  * @author Michael W. Delaney
  * @since 1.0
  *
  * Collapsibles repeater
  */
 function collapsibles()
 {
     $FCBRepeaterFields = new Fields($this->layout, __FUNCTION__);
     $FCBRepeaterFlexibleContent = new FlexibleContent(__FUNCTION__);
     return array('key' => $this->key . __FUNCTION__, 'label' => 'Collapsibles', 'name' => 'collapsibles', 'type' => 'repeater', 'instructions' => '', 'required' => 0, 'conditional_logic' => 0, 'wrapper' => array('width' => '', 'class' => 'acf-media', 'id' => ''), 'collapsed' => '', 'min' => '', 'max' => '', 'layout' => 'block', 'button_label' => 'Add Collapsible', 'sub_fields' => array($FCBRepeaterFields->title(), $FCBRepeaterFields->navigation_title(), $FCBRepeaterFields->panel_type(), $FCBRepeaterFields->tab_content(), $FCBRepeaterFields->content(), $FCBRepeaterFields->tab_media(), $FCBRepeaterFlexibleContent->media(), $FCBRepeaterFields->tab_background(), $FCBRepeaterFields->background_image(), $FCBRepeaterFields->background_color(), $FCBRepeaterFields->background_color_placeholder(), $FCBRepeaterFields->theme_color(), $FCBRepeaterFields->choose_color(), $FCBRepeaterFields->tab_cta(), $FCBRepeaterFlexibleContent->cta('collapse'), $FCBRepeaterFields->tab_endpoint()));
 }
开发者ID:mwdelaney,项目名称:acf-flexible-content-blocks,代码行数:15,代码来源:class-acffcb-repeaters.php


注:本文中的Fields::navigation_title方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。