SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Evangelist runeveryday's Avatar
    Join Date
    Jul 2009
    Posts
    437
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    How to get this in wordpress?

    now.i want to add a flash to my site,namely,when access my site, first shows the flash, after some minutes,then redirect to the home page. on the flash page, there is also a link "enter to the website".

    the way i am able to think is the following, in the flash i add code

    Code:
    stop();getURL('example.com/index.php','_self')
    . then create a file named index.php. put the invoke flash code into it. then rename the default index.php name to "homep.php".

    but it's not work. how to correct it?

  2. #2
    SitePoint Addict deadmix's Avatar
    Join Date
    Jun 2009
    Location
    france
    Posts
    210
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    hello, please check this thread : http://www.sitepoint.com/forums/show...e-in-Wordpress

    If the solution there didn't work for you, You can try to add this Code on your Index.php but please before doing so backup this file.. :

    Code:
    <?php if (is_front_page()) : ?>
    
    insert code for the flash thingy here
     
    <?php else : ?>
    
    put nothing here
    <?php endif;?>
    You can read more about Conditional Tags Here : Link

    Goodluck


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
  •