• Ok.. this is REALLY confusing..
    I have been trying to add new include file to the template that i installed (ships ahoy) and when i try and put that include in the proper place in index.php, nothing happens.. So just for the heck of it, i tried to add it to HOME.PHP

    When i add it to home.php, the correct content shows for that include.. So i KNOW there is nothing wrong with the way that the include file was coded.. And i am about 99.99999% sure that I am putting it in the proper place in the index.php.. No matter WHERE i put it, i can not get the template to see that file..

    Is there something in this template that stops you from editing the core of the template?? Is that what is going on here??? Should i download a stock template and just go from there??

    OR, am i doing something wrong.

    What i am trying to do is to add an include file that will show a box ABOVE the two side bars, similar to what the “about me” little addon does.. but it wont be “about me”

    So maybe i am just being wordpress ignorant and thought i could customize something that i couldnt.. or maybe my code just SUCKS!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter lindsayanng

    (@lindsayanng)

    so I am trying to put this include:

    <?php include(‘main_sidebar.php’);?>

    which contains this code:

    <div id="main_sidebar">
    	<ul>
    	<?php if(function_exists('oiopub_banner_zone')) oiopub_banner_zone(1, 'center'); ?>
    
    	</ul>
    	</div>

    the div id looks like the following:

    /*main side bar */
    
    #main_sidebar { width: 480px; float: left; text-align: justify; padding: 10px 0px 5px 0px; margin: 0 0 15px 7px; }
    #main_sidebar ul { list-style: none; margin: 0px; padding: 0px 0px 10px 0px; }

    I am DESPERATELY just trying to put a box on top of the two columns.. if you were to do it with tables it wold look like this:

    <table>
    <tr><td rowspan="2">Main Content</td><td colspan="2">Box i WANT</td></tr>
                                                                <tr>                <td>leftcol</td><td>rightcol</td></tr>
    </table>

    I’m MUCH better with tables than DIVs

    Thread Starter lindsayanng

    (@lindsayanng)

    hmmm no one interested in helping me??

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    No, it’s more likely that nobody understands what you are talking about.

    You’re trying to put an include into index.php, and it’s not showing up. Well, if you also have a home.php, then index.php isn’t actually being used for the home page, so that would make sense, yeah? So.. that’s not exactly a problem.

    You’ll have to be more clear and explain what the problem is before anybody can help you.

    Thread Starter lindsayanng

    (@lindsayanng)

    I dont erally know how to explain it more..

    I am trying to add an included file to the sidebar and it will not show, meaning i am clearly putting it inbetween a set of code that is not complete.

    I guess we can forget this because i just installed a different template that I am a LOT more happy with.. So its ok..

    I thought that by added the code and explaining as MUCH as i could that I had it all set.

    Sorry for the confusion

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘All the changes in the code i make to template index.php results in NOTHING!!!’ is closed to new replies.