This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Component Action Hooks

  • Creator
    Topic
  • #24290
    Matthew MacMillan
    Participant

    Hi all,

    I’m using a few “Team Member” elements on a template page, and I want to wrap the member-info and member-text divs inside a div, to group them.

    I went to find the hook for this, and could not. Am I missing something? Do template components have hooks?

    Thanks for any help!

    Matt

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #24294
    Jason Bobich
    Keymaster

    Hello Matt,

    You’ll find the function that constructs the output for this in /framework/includes/components.php. You’ll see the team member function, along with all others, have WordPress filters attached to the returned output. This is what you can use to manipulate that output from your child theme’s functions.php.

    #24295
    Matthew MacMillan
    Participant

    I’ll check that out. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.