Wordpress Sitebar At Botton

Pages: 1, 2
free web hosting
Open Discussion > CONTRIBUTE > The Internet > Web Design

Wordpress Sitebar At Botton

Hafdis
Hi

jlhaslip! i have upload all the files and get this this http://www.koddinn.com

Reply

jlhaslip
That is because the #content div needs to be placed after the #navigation div in the source of the html file (so that the float works properly).

Compare the files and you will see what I mean.
In the sample you post, the #content is before the #navigation in the Source code. My sample is a different code structure than yours, I think.
The floats are removed from the normal flow of the page and then put back into the page according to the floats and contained by their width attributes, so when the posting you have is positioned in the code first, it assumes the full page width and then the Navigation is placed below it. Reverse their positions in the source and it behaves differently. Or should. smile.gif

*edit*

Here is a simplified version of your page which might be easier to understand. The Topic contains more information explaining the set-up you need to understand.

http://www.trap17.com/forums/index.php?s=&...st&p=314404

 

 

 


Reply

Hafdis
HI

this is working fine, but how do i split this to the right files, header.php footer.php sidebar.php index.php

Reply

jlhaslip
That I don't know. I have never dealt with Wordpress and their methods. I usually write my own in php. I am familiar with how I would do it, but they are likely different in their methods.

Perhaps another member will come along and explain how to split them up into the includes that Wordpress needs.

QUOTE
i am Carpenter smile.gif

Me too...

Reply

Hafdis
Yup, i have been working as Carpenter since 1980, building houses, kitchen and more. Now i am rebuilding my house, so many kids, need more rooms, smile.gif

got this !

The gallery uses the fim_photos.php template. For any theme that you use, you have to get fim_photos.php to look like the structure of that theme.
You're done with installation. Now you need to customize.

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(); ?>


how do i let it look like the structure of the theme i am using.?

Reply

Hafdis
New info wink.gif

the fim_photos.php use its own default template structure. you need to tweak that default structure to match the structure of whatever WordPress theme you're going to use.

For example, fim_photos has <div id=\"content\" class=\"narrowcolumn\">. My Basic Concept theme doesn't have that.

so, dry.gif

Reply

Blessed
Can i get Wordpress for free ??

Reply

Hafdis
yes its free

http://www.wordpress.org

Reply

Hafdis
ok lets try again...

see here http://www.koddinn.com/myndir

i got the sidebar to the right, now i need to move it up, here is the code

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 class="main-narrow">

            <?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
            
                    <?php the_content(); ?>
    
            
            <?php endwhile; ?>

            <?php include (TEMPLATEPATH . '/browse.php'); ?>

            <?php else : ?>
            <div class="post">
                <h2><?php _e('404 Error: Not Found'); ?></h2>
            </div>
            <?php endif; ?>

        </div>

<?php get_sidebar(); ?>

<?php get_footer(); ?>

Reply

michaelper22
This is similar to what has to be done to get my WP Ultimate Static Front Page technique to work properly. Within the index.php template, look for the code from the beginning of the file until you see something like this:
CODE
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

Copy everything above that line, and replace this code in fim_photos.php with the copied code:
CODE
<?php define('FIM', true); ?>

<?php require_once("functions/fim_functions.php"); ?>

[b]PASTE THE COPIED CODE HERE[/b]

<div id="content" class="narrowcolumn">

        <div class="entry">
            <?php echo fim_get_the_content(); ?>
        </div>    
</div>
<?php get_sidebar(); ?>

<?php get_footer(); ?>


Now look for the code after this:
CODE
<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>


Copy everything after that, and replace this code:
CODE
<?php get_sidebar(); ?>

<?php get_footer(); ?>

With the code you just copied.

If anyone feels that there is something missing, let me know. I'm a bit tired right now, and might be a bit off.

Reply

Latest Entries

Hafdis
thx

Reply

michaelper22
No problem. If you ever need help in the future, just let me know and I'll be right there.

Reply

Hafdis
Thats it, thx for helping me out smile.gif

Reply

michaelper22
If I got this right, this code (that you should place in fim_photos.php) will do the trick.
CODE
<?php define('FIM', true); ?>

<?php require_once("functions/fim_functions.php"); ?>

<?php get_header(); ?>
        <div class="main-narrow">
        <div class="entry">
            <?php echo fim_get_the_content(); ?>
        </div>    
        </div>
<?php get_footer(); ?>

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Pages: 1, 2
Recent Queries:-
  1. wordpress sitebar - 709.31 hr back. (1)
  2. fim_photos style.css problem - 1002.04 hr back. (2)
Similar Topics

Keywords : wordpress sitebar botton

  1. Wordpress Vs Movable Type - (0)
  2. Wordpress Databases And Privileges - My friend wanted to install wordpress on his server (not on trap17.com (2)
    My friend wanted to install wordpress on his server (not on trap17.com) and he has phpmyadmin 2.6.0
    and dosnt have the ability to make privliges /blink.gif" style="vertical-align:middle"
    emoid=":blink:" border="0" alt="blink.gif" />.How would he set up wordpress without the ability to
    set privliges? If you had any suggestions (like step by step directions /tongue.gif"
    style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" />) that would help alot.
    Thankyou,
    ...
  3. Wordpress Feeds - How to activate feeds (6)
    I have installed Wordpress in my site and feeds seem that dont work. When i click over the link
    give me an error, as if the feeds were not running. But when i sindicate the site with any
    feed-tool, they work ok. żanybody knows why? Thanks....
  4. Changing Font Sizes On Wordpress - (5)
    I brought up this question in another thread, but I'd like to know how you can allow the user to
    change font sizes on a blog. An example of this can be found on this site . What files would I need
    to edit - header.php, style.css? If you can help me out on this one, feel free to shout out....
  5. Can Wordpress Split Too Long Pages? - (3)
    I have a blog on blogger and it's getting annoying that it never makes another page and thus it
    becomes a huge page with as many images or articles as you post.I want to migrate to Wordpress but i
    wonder if is it possible let's say after 10-15 posts to get another page just as forums do or
    google , so that the visitor doesn't have to wait until the whole bunch is loaded. Another
    question I have is: what's the difference between pages and categories in a blog, because
    i'm not familiar with them. In a normal web site there would be some navigation menu...
  6. Wordpress Statistics... - Good plugin anyone? (1)
    Hey everyone! I'm looking for a good and nice statistics plugin for my wordpress site: Dan
    Spot I'm looking for a plugin that would show me the number of visitors online in this moment,
    how many posts/comments my site had, how many hits/unique visits since its start... I would like
    too to be able to see the stats from back-end administration and a nice stats tag to use in my
    template. /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> Do you know
    any plugin to have some of its features? /laugh.gif' border='0' style='vertical-a...
  7. Wordpress 1.5.1 Installation Problem - Getting fatal error message (7)
    I've just downloaded Wordpress 1.5.1 and uploaded all the contents to public_html and I've
    edited wp-config.php like so: CODE <?php // ** MySQL settings ** //
    define('DB_NAME', 'myusername_dbName');     // The name of the database
    define('DB_USER', 'myusername_dbUsername');     // Your MySQL username
    define('DB_PASSWORD', 'myPassword'); // ...and password
    define('DB_HOST', 'localhost');     // 99% chance you won't need to
    change this value $table_pre...



Looking for wordpress, sitebar, botton

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for wordpress, sitebar, botton

*MORE FROM TRAP17.COM*
advertisement



Wordpress Sitebar At Botton



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE