WordPress.org

Ready to get started?Download WordPress

Forums

Frames with WP (5 posts)

  1. ACDias
    Member
    Posted 5 years ago #

    Is it possible to create a theme with frameset?
    I have to embed a mp3 player and the only way to not stop the song is creating a frameset.
    I tried to create a index.html with the frame code in the root of WP, but it calls itself recursively forever.

    To make it works I have to rename the index.html to page.html for example, but when I go to the root URL it doesn't load.

    Is there a way to do that?

  2. iglauser
    Member
    Posted 5 years ago #

    I have the same problem. Trying to add a mp3 player that should play continuously throughout a site. Only solution as I see it is adding a frameset. Would be glad to hear if someone has found a nice solution to this problem.

  3. mrdthomas
    Member
    Posted 5 years ago #

    The method that I used to create a static mp3 player in the website footer is as follows.

    1. Install WordPress in a subdirectory (www.website.com/wp)
    2. Create a frameset that points to the absolute path of your wordpress install (www.website.com/wp) and your footer file (www.website.com/footer.php)then save it at the root of the site as index.php (or .html if you want).

    When a user visites http://www.website.com the index.php file will load the wordpress install in the main frame and the footer in the lower frame.

    This is a quick fix that I came up with and it works for what I am doing.

    Thanks

  4. Kenneth Olumese
    Member
    Posted 4 years ago #

    I had the same problem with one of my WordPress blogs and have tried several ways to resolve this problem but mrdthomas's solution seems to be the best fix for this issue and works great.

    Thanks for sharing

  5. noospherean
    Member
    Posted 4 years ago #

    I'm dealing with the same issue (though with placing header.php into a top frame), but have a question : does the frameset point to http://www.website.com/wp/index.php , or is the wp directory enough? Also, I tried this with the top frame pointing to website.com/wp-content/themes/default/header.php (the path to my theme's header.php), and received a list of errors...any advice?

    Thanks for your post in the first place : this is the first real solution I've come across after days of looking...

Topic Closed

This topic has been closed to new replies.

About this Topic