• …in the column on the right.
    I was looking for a way to place contents (links/gifs) in the righthand-side column of my 3 column blog, and Root kindly gave me some advice in the “Once it’s running”-forum. I’ve been looking into it, and have come up with this, by looking at the other code in the index-file:
    I tried to put this in the index.php:

    <br />
    <div><br />
    <li id="WordPressTop">WordPressTop:</p>
    <ul>
    <?php get_WordpressTop(); ?><br />
    <a href="https://wp.lat3nt.net/topsites/in.php?id=101"><br />
    <img src="https://wp.lat3nt.net/topsites/button.php?id=101" alt="" border="0"><br />
    </a>
    </ul>
    </li>
    <p></div><br />

    And then I call them (sorry…don’t even know if that is the right expression…I’m not “down with da lingo” yet) in the CSS-stylesheet right?!
    I add a #WordpressTop to this list:

    <br />
    #calendar, #search, #archives {<br />

    and then

    <br />
    #WordpressTop{<br />
    top: 500px<br />
    }<br />

    `
    Unfortunately I get the “message” below (in the right place, mind you!!) when I loaded the site:
    WordPressTop:
    Fatal error: Unknown function: get_wordpresstop() in /usr/home/whitehat_dk/users/android8/wordpress/index.php on line 97

    I’m using the “Dots” stylesheet by Alex King by the way…
    Thx in advance!!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter madsen

    (@madsen)

    Woops….forgot the backsticks…sorry:
    I tried to put this in the index.php:

    <div><br />
    <li id="WordPressTop">WordPressTop:</p>
    <ul>
    <?php get_WordpressTop(); ?><br />
    <a href="//wp.lat3nt.net/topsites/in.php?id=101""><br />
    <img src="https://wp.lat3nt.net/topsites/button.php?id=101" alt="" border="0"><br />
    </a>
    </ul>
    
    </li>
    <br />
    </div><br />

    And then I call them (sorry…don’t even know if that is the right expression…I’m not “down with da lingo” yet) in the CSS-stylesheet right?!
    I add a #WordpressTop to this list:
    #calendar, #search, #archives {
    and then

    #WordpressTop{<br />
    top: 500px<br />
    }

    There is no need for that php function call in there surely?

    You’re mixing php functions with CSS if I’m not mistaken. My solution, and there might be an easier one, is to make a directory called myincludes, where I put each and every item in a seperate file, items such as webcam, webrings, search, blogroll, … I then include them where I want with a PHP include, such as <? include('/your/own/path/to/the/proper/directory/myincludes/blogrelated.php'); ?>
    As those includes are included in the footer, which I included in the index.php I have the freedom of positioning them on different places, depending on the skin that is chosen. Even if you don’t use skinning, you can directly include them in the index.php
    The included files don’t have the usual structure for a webpage, there’s not doctype, no head, nor body tags, just whatever it is I want to display. The layout of what I want to display can be manipulated using CSS by placing the include in a div or span tag.
    Hope it makes sense.

    Heck Morgaine – this guy is strictly step by step. He is only putting up the topsites logo. No need for anything too fancy eh? ??

    Eurhm, guess I was too enthusiastic. I remember when I started blogging, I was changing things all the time, because I wanted more and more flexibility. Now I just start with the most flexible solution known by me at this point. Guess once I get my blog moved, I could try and make some templates, as an exercise in the k.i.s.s. principle. And I should try and write up a tutorial for skinning, as far as I remember there was a plugin but using that, there’s no possibility to vary the content of the sidebars, according to the skin chosen.

    Thread Starter madsen

    (@madsen)

    Root…I’m only using the WordPress Topsite as an example…I know it doesn’t matter where I place it….I just wanted to know how to put “stuff” in the column on the right

    Well the important thing is the new container for the right whether it is a div a ul or li needs an id right up front.
    `<div id="new">'
    then add it to that calendar archives section in the CSS. That way it takes its positioning from that group of objects. Hang in there ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘3 column blog – how to place content…’ is closed to new replies.