SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member panpan88's Avatar
    Join Date
    May 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question how to add an iframe in wordpress theme above the header?

    I would like to add an iframe above the header of the wp theme. Just like those in the "themeforest.net" and "btemplates.com". Please give me a detail tutorial coz I'm not much familiar with php and wordpress.

  2. #2
    SitePoint Zealot behati's Avatar
    Join Date
    Feb 2012
    Location
    Copenhagen, Denmark
    Posts
    152
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    First of all, is the iframe content / src going to be static or dynamic depending on the page? If static then you can literally just place some iFrame constructor code in your page.php and your single.php in your WP theme.

  3. #3
    SitePoint Member panpan88's Avatar
    Join Date
    May 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by behati View Post
    First of all, is the iframe content / src going to be static or dynamic depending on the page? If static then you can literally just place some iFrame constructor code in your page.php and your single.php in your WP theme.
    I want an iframe similar to themeforest.net where they view those demo links opened with an iframe. Can you me a code or something as to how I should do it on my theme?


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •