Get A Value In Theme Usign Custom Fields (3 posts)

  1. 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.

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Try reviewing custom fields.

  3. @esmi I tried, but it's not much helpful for me.

Topic Closed

This topic has been closed to new replies.

About this Topic