Okay
  Public Ticket #4305464
Adding content to Salient elements with ACF
Open

Comments

  •  17
    Jen started the conversation

    I have a set of ACF that my client uses to build foundation pages. We need to add a new set of fields for a couple of setions

     the first is for the team members.

    Ideally I want to be able to add 

    Team member name 1

    Team Member title 1

    Team member bio 1

    Team member image 1

    etc

    For up to 8 people and then in the template add these to a team member item.

    But I am not sure how to add the shortcodes into the team member set up.
    I would use a 4 colum row with 4 team member items across


    B) Sponsor logos

    I would then also like to give them fields to add 

    Sponsor logo,1
    sponsor link 1 


    etc to build a client row list ie the clients display element where each shortcode has to feed into a client.

    C) Add a field for the user to add an image that can then be placed into a row background

    Can you help me to know how to do this with the acf shortcodes?




  •  9,393
    Tahir replied

    Hi Again,

    Thanks for reaching out! .

    You will have to override the page templates for the Team Member & Client Display Elements so that they can load the ACF values: https://themenectar.com/docs/salient/overriding-salient-wpbakery-element-template-files-through-a-child-theme/ .

    Another workaround is to create a custom shortcode that acts as a wrapper for the page elements shortcode.
    This lets you pass dynamic values into it, effectively mimicking a nested shortcode setup. You build the output of the original shortcode inside your custom one, allowing for more flexibility and control over the attributes being used.

    Best,

     


     Salient Support Team 


  •  17
    Jen replied

    Hi Tahir I am not really sure how to approach this.

    I have 49 foundations, each with 8 team members and what I was hoping to do was to let them add the c=data and have it feed into the template.

    I have this used this technique on this page for  a few years and its all been good esp with text elements , but I can't seem to get this to work for a team member.

    ie

    here are the fieldsets. and how I am tryng to use them and then what I am seeing on the page :(



    Attached files:  Screenshot 2025-08-06 at 3.39.00 pm.png
      Screenshot 2025-08-06 at 3.39.09 pm.png
      Screenshot 2025-08-06 at 3.38.33 pm.png

  •  17
    Jen replied

    basically I have a fieldset and below on the page we add a wp bakery template I am especially having issues geting images to apply


  •  9,393
    Tahir replied

    Thanks for the extra details .

    I’ve actually worked on a very similar setup before for another user where they needed to feed ACF data into team member and client elements.

    Since WPBakery elements like Team Member and Clients don’t support dynamic content out of the box, it usually requires either a template override or a custom shortcode approach. It’s a bit beyond what we can cover here as it falls under customization.


     Salient Support Team 


  •  9,393
    Tahir replied

    Additionally only the "Post Loop Builder" elements supports Custom Fields natively:

    View screenshot : 8036454650.png

    Thanks 


     Salient Support Team