Testing Additional Column Sections

Feb 27th, 2010 | By Ais | Category: Website design

Would you like to add an extra section (extra categories)  to your Featured articles column (far left column) in Branford Magazine?

I haven’t tried this code.  It was suggested by Mats Stadin (of Stugun Pike Fishing, Sweden) as a possible fix.  I’m fairly sure he’s working with a newer edition of Branford Magazine.

And — of course — you’ll want to change a few things to fit your own website’s topics.

Though this is a “beta” concept rather than a proven answer to the question, it’s a starting point if you’re in a trial-and-error mood and want to expand your Branford Magazine homepage options.

(Remember, always save a copy of your working version of your homepage theme template, before making any changes.  Then, if it doesn’t work out, you can paste the earlier, working version back into your Appearance > Editor screen.)

This code may also inspire customizations in related themes, such as Mimbo.

<!–ORIGINAL CODE –>

// “Featured articles” module begins
query_posts(“showposts=$1;&

cat=$prinz_featured;”); ?>
<h3>
<?php
// name of the “featured articles” category gets printed
wp_list_categories(“include=$prinz_featured;&title_li=&style=none”);
?>
</h3>
<?php while (have_posts()) : the_post(); ?>
<div>
<?php // This will show the image and link the image to the post.
Alter the width and height (in both places) to your needs. ?>
<?php postimage(250,75); ?>

<a href=”<?php the_permalink() ?>” rel=”bookmark”>
<?php
// title of the “featured articles”
the_title(); ?>
</a>
<?php the_excerpt(); ?>
</div>
<?php endwhile; ?>

<!– END ORIGINAL CODE –>

<!– Additional table “business_profile” in left column
Remove the $ (dollarsign) infront of the showpost, cat, include value in
show post and wp_list string–>

<?php
// “business_profile” module begins
query_posts(“showposts=1;&cat=35;”); ?>
<h3>
<?php
// name of the “business_profile” category gets printed
wp_list_categories(“include=35;&title_li=&style=none”); ?>
</h3>
<?php while (have_posts()) : the_post(); ?>
<div>
<?php // This will show the image and link the image to the post.
//Alter the width and height (in both places) to your needs.
?>
<?php postimage(250,75); ?>

<a href=”<?php the_permalink() ?>” rel=”bookmark”>
<?php
// title of the “Företags Profiler”
the_title(); ?>
</a>
<?php the_excerpt(); ?>
</div>
<?php endwhile; ?>
</div>
<!– End Additional table “business_profile” in left column  –>

<!–END LEFTCOL–>

If this works for you — or if it doesn’t — please leave your comments and suggestions, below.  Thanks!

Leave Comment

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/web site in attribution. Comments may be edited to make them office-safe. Spam and questionable links will be removed.