my page http://www.koddinn.com and the gallery page is here http://www.koddinn.com/myndir
The gallery uses the fim_photos.php template. For any theme that i use, i have to get fim_photos.php to look like the structure of that theme i use
the fim_photos.php use its own default template structure. i need to tweak that default structure to match the structure of whatever WordPress theme i gonna use.
For example, fim_photos has <div id=\"content\" class=\"narrowcolumn\">. The theme i am using, doesn't have that.
this is the fim_photos.php
CODE
<?php define('FIM', true); ?>
<?php include("../../../wp-blog-header.php"); ?>
<?php require_once("functions/fim_functions.php"); ?>
<?php get_header(); ?>
<div id="content" class="narrowcolumn">
<div class="entry">
<?php echo fim_get_the_content(); ?>
</div>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
<?php include("../../../wp-blog-header.php"); ?>
<?php require_once("functions/fim_functions.php"); ?>
<?php get_header(); ?>
<div id="content" class="narrowcolumn">
<div class="entry">
<?php echo fim_get_the_content(); ?>
</div>
</div>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
how can i do this. To get the sidebar on right place.