//This page brings together information found on the forum into one place. Note that the information changed over time, so that the initial post is incorrect. // [[http://www.randombyte.net/forum/viewtopic.php?t=20&postdays=0&postorder=asc&start=0|Original Post]] ====== Incorporating FAlbum into your own Theme ====== ===== Basic Instructions ===== The default page layout used by FAlbum will only work if your site uses the or a variation of the default WordPress 1.5 theme or uses a theme with a similar style of layout. In order to make FAlbum work with your own theme, do the following: - First you will need to create a copy of your theme's index.php file within the theme's directory and rename it to **FAlbum.php** - In the new FAlbum.php file, you need to first strip out all of the code that Word Press uses to assemble your posts on your standard blog page. In many cases it will be everything between '''' and '''' or '''' in the code. - After you have cleared out the code in step 2, copy and paste the code between the lines below in between the header and sidebar/footer calls: - Upload the finished **FAlbum.php** to your theme's directory and try it out. On case-sensitive systems (Linux, Unix, some versions of Mac OSX) and depending upon your version of FAlbum, you may need to name the file **falbum.php** (note the lack of capitalization) in order for it to be recognized. Using version 0.6.9 of FAlbum, this is the case.
show_photos(); ?>
===== Example FAlbum.php file ===== For ease of understanding, here is what a basic working FAlbum.php looks like:
show_photos(); ?>