• Resolved juanmb

    (@juanmb)


    Hi, I’m currently working on localhost trying to make this thing work

    I’m trying to edit an accordion widget element in the html tab.

    What I want to do is to add a custom field I’ve created with the plugin pods and a plugin called Panda Pods Repeater Field who adds the possibility to have this repeater fields, this field is used in a custom post type created with the same plugin (pods)

    But I have problems doing that because I don’t know how to access the properties of the field, if I look in the right column where I can find the variables I can find {{current_post.cf_intervencion}} which is the custom field I’ve created, but it doesn’t work because I don’t know how to access for example to the “name” field or the “description” field I’ve created within it.

    
    <div class="uc_starter_accordion" id="{{uc_id}}">
    	<div class="uc_starter_accordion_inner">    	
            <div class="uc_accordion">
            	  <div class="uc_accordion_inner" style="border:1px solid {{item.border_color}};">
      <div class="uc_acc_trigger acc-trigger-{{uc_id}}" id="{{uc_id}}" style="color:{{item.heading_color}}; background:{{item.bg_color}};"><p>{{current_post.cf_intervention}}</p><i class="fa fa-chevron-down"></i></div>
      <div class="uc_acc_container" style="color:{{item.content_color}}; background:{{item.bg_color}}; border-top:1px solid #e9eaed;">{{item.content|raw}}</div>
    </div>       
    		</div>        
        </div>
    </div>

    Plus I have created custom fields using “advanced custom fields plugin” but I can’t find the option to add the field I’ve created with this plugin for the same post type in the right column on the HTML editor of the widget.

    I have Use Dynamic Content and Use Custom Fields checked and the Demo Post is also the one I want to use… I don’t understand how can I solve it, any information or solution will be appreciated. Thanks

    • This topic was modified 4 years, 8 months ago by juanmb.
    • This topic was modified 4 years, 8 months ago by juanmb.
  • The topic ‘use pods repeater field to customize element’ is closed to new replies.