WordPress.org

Ready to get started?Download WordPress

Forums

Flash on Index page (5 posts)

  1. ssdesign
    Member
    Posted 8 years ago #

    Can the index.php file inside a THEME be renamed to something else?

    I need to put a SWF file in the index.php and then it would call the *renamed index.php* file to get the content.

    Is this possible?

  2. Jack
    Member
    Posted 8 years ago #

    Maybe you can put the flash inside index.html. I believe a server will first look for a .html file, so you call the .php file from within the flash. Once loaded the index.php will always load itself.

  3. fht
    Member
    Posted 8 years ago #

    _could_ work - not the cleanest solution and depends massively on the server-settings too. Maybe there is the need (and hopefully possibility) to set up a .htaccess file with that information.

    Other "solution" would be to put wordpress simply in a subdirectory on the domain so that http://www.mydomain.com shows the flash-page and the WordPress-stuff resides in http://www.mydomain.com/blog for example.

    IMHO it is the more beautiful solution (and used it already - though I don't like those intro-pages which are just a waste of time in most cases)

  4. ssdesign
    Member
    Posted 8 years ago #

    well i would go for the solution of putting the flash outside the WP directory.

    BTW, I am not developing a INTRO page, i am on the edge of finishing a complete flash blog based on WP.

    Hope everything turns out fine.

    thanks for the tip FHT

  5. bambam4479
    Member
    Posted 8 years ago #

    SS - I have a flash header.swf on our site that sits in the root directory of the site and just set src="<?php echo get_settings('siteurl'); ?>/header.swf" to call it.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags