Support » Fixing WordPress » Get A Value In Theme Usign Custom Fields

  • Hardeep Asrani

    (@hardeepasrani)


    Support Team Volunteer

    I’m new to php so please help me in this post. Thanks you guys.

    I want to add a YouTube embed player in every post of my blog (in theme, not post content). And I’ve added following code to my template:

    <iframe width=”640″ height=”360″ src=”http://www.youtube.com/embed/HELPMEGUYS” frameborder=”0″ allowfullscreen></iframe>

    So, In above code, I want to replace HELPMEGUYS spot in every post by using custom field option. Is there any possible way to do it. Please it’ll help me a lot.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Get A Value In Theme Usign Custom Fields’ is closed to new replies.