Jul 262011
 

Here is a little template that can be used with the “Elegant Box” wordpress theme in order to use as a template without the widgets column.  This is useful is displaying forums or other word press content that you would like to display in the entire page:

Pop this in your wpcontent\themes\elegant-box in a file called nosidebar.php and you will be able to alter your forums post accordingly ;)

<?php
/*
Template Name: No Side Bar
*/
?>
<?php get_header(); ?>
<style>
#main {
    width:940px;
    float:left;
    padding:10px 15px 0;
    overflow:hidden;
}
#content {
    background: #FAF6F0;
    border: 1px solid #A07828;
}
</style>
        <?php if (have_posts()) : the_post(); ?>
            <div width="100%">
                <div>
                    <h2><?php the_title(); ?></h2>
                    <div></div>
                </div>
                <div>
                    <?php edit_post_link(__('Edit', 'elegantbox'), '<span>', '</span>'); ?>
                    <span><?php _e('Update: ', 'elegantbox'); the_modified_time(__('F jS, Y', 'elegantbox')) ?></span>
                </div>
                <div>
                    <?php the_content(); ?>
                </div>
            </div>
        <?php endif; ?>
    </div>
    <div></div>
        <div id="bottom">
<?php get_footer(); ?>

I am aware overwriting the thee in that manner is not exactly elegant, but it gets the job done in a single file so works for me.

 Posted by at 1:00 pm
Jul 242011
 

I must apologise for problems I have been having with wordpress. Unlike all my clients wordpress sites, it would appear that xeis.net is a target for a great deal of Spam and an insane number of what appear to be fake users. I have no idea if this is related to the Anonymous hack last year, or if short TLA domains are targeted. However as a result of this I have been forced to trash the user tables and install an addin called register plus.

This site is now used as my blog site, I self host it in order to help better understand administrating a wordpress site so as to support the xeis.net clients who choose to use this technology, so unfortunately if one of these users were genuine I can only apologise for deleting you.

 Posted by at 7:50 am  Tagged with: