Home » Topics » General Support » Use Widget Title in Template

Use Widget Title in Template

ACF Widgets Support General Support Use Widget Title in Template

This topic contains 2 replies, has 2 voices, and was last updated by  Daron Spence 2 months, 2 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #106067

    Ken Kramer
    Participant

    Hi,

    I realize this might be a basic question, but I am not sure what I need to do. I have ACFW PHP file setup, but instead of hardcoding a Title in the php file, I would like to have it use the Title assigned to the ACFW Wiget I created. So instead of having this line of code the the ACFW PHP file <h3 style="font-weight: 400; font-size: 2.6rem;">Check Out Our Latest Promotion!</h3>

    I would like to just pull the widget title I enter, but I am not sure what the PHP code would be.

    Thanks!

    Ken

    #106068

    Ken Kramer
    Participant

    Never mind, I figured it out, I was focused on a line of code I didn’t need…

    #106070

    Daron Spence
    Keymaster

    Glad you got it figured out Ken! Please let me know if you need help with anything else.

    I’m going to mark this thread as resolved 🙂

    Thanks for supporting ACF Widgets!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Use Widget Title in Template’ is closed to new replies.