Today: May 9th, 2008

Sideblog

Update: Sideblog v3.0 is the current stable version

Sideblog is the plugin that I’ve been using here for quite a while. It is responsible for that snippets of information in the sidebar. I created Sideblog about two months ago but dropped development because I didn’t find any need for it. Then, just recently I get to use K2 which included an Aside by default. So got hooked on posting on Asides. Problem with K2’s Aside is that if you try to post more on your Aside category than your other categories, the number of posts displayed on your main content area lessen. And so I repaired my Sideblog plugin.

For those who are interested in using it you can download it from the download page. Installation instruction can be found in the readme.txt included in the zip file.

But for those who insist, here it is.

1. Download and extract sideblog.zip
2. Open sideblog.php in a text editor.
3. Change $cat_to_hide to the Category ID of your Aside category.
Example:
change this
/****** EDIT THIS FIRST *********/
$cat_to_hide = 1;
/********************************/

to this
/****** EDIT THIS FIRST *********/
$cat_to_hide = 10;
/********************************/

* where 10 is the Category Id of my Aside category. To view your aside category Id, go to Admin->Manage->Categories.

3. Upload sideblog.php to your wordpress’ plugin directory. Usually found in /wp-content/plugins.
4. Activate the plugin in Admin->Plugins
5. Open you sidebar.php file. Add the following line on where you want the content of your aside to appear.

<ul>
<?php sideblog(’title=true&permalinks=true&limit=5′); ?>
</ul>

OR

<ul>
<?php sideblog(’permalinks=true&limit=5′); ?>
</ul>
to display permalinks without the post title

OR simply

<ul>
<?php sideblog(); ?>
</ul>

* where 5 is the number of post you want to appear. Defaults to 3 if omitted.

To post to your Sideblog, post it under your asides category only. Do not post it under multiple categories as it will surely appear in our main content.

Suggestions are welcome.

comments

412 Responses to “Sideblog”

Pages: [42] 41 40 39 38 37 36 35 34 33 321 » Show All

  1. 412
    knc Says:

    Nelson:

    I have it with several categories like this:

    php sideblog(’blurb2′);
    /br>______
    php sideblog(’blurb1′);

    I do this mainly because the 10 post limit which I wish was a lot higher. You need to create the categories blurb1 and blurb2 though.

    Code didn’t make it through…

  2. 411
    knc Says:

    Nelson:

    I have it with several categories like this:

    ______

    I do this mainly because the 10 post limit which I wish was a lot higher. You need to create the categories blurb1 and blurb2 though.

    Code didn’t make it through…

Pages: [42] 41 40 39 38 37 36 35 34 33 321 » Show All

Leave a Reply