Today: July 5th, 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

420 Responses to “Sideblog”

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

  1. 420
    pasQualle Says:

    Great, Plugin! It took some time until I got it working the way I wanted, but now I’m loving it.
    But it miss the possibility to show the number of comments in the display Format. Like %comments% or %comments_url% of something would be very nice.

  2. 419
    knightcrawler Says:

    Nicole:
    Yes the instructions are old and the author should have changed them but hasn’t, the new instructions are here: http://wordpress.org/extend/plugins/sideblog/installation/

  3. 418
    Nicole Says:

    $cat_to_hide is not present in sideblog.php. At least not according to the search function in my editor.

    Are the instructions in this post outdated? How can I stop posts in the Aside category from showing up in an archive list? (ie. “recent posts” in the sidebar)

  4. 417
    jocuri Says:

    Thanks.

  5. 416
    Max Weir Says:

    @benny

    U have the %title% option selected. Just change that to the %title url% which will display the post title as a url

  6. 415
    Benny Says:

    I installed Sideblog, and it works fine!

    But under every topic I post in Sideblog, i have an: “-#”

    How do I get rid of this?
    Because I only want to Post Pictures in my Sideblog, and the -# are annoiying :)

    Thx!

  7. 414
    Dale Says:

    This is a great plugin and I’m using it successfully on my site, but I do have two great suggestions which I think would be of great interest to others too…

    Just like you have an option to set the character length of excerpts to a specified number, perhaps you could also give this option for the Content?
    Or possibly display the “more” link if there is one in the content.

    Secondly, when my images resize, you should have an option to keep the ratio. so if I specify a width, the height will be scaled in proportion.

    I think these implementations would not complicate the tool from a user side, but allow for more flexibility and further creative uses.

  8. 413
    Max Weir Says:

    I cant get the excerpt to show the excerpts used with the posts.
    My line is like this: %title_url% %excerpt% but it displays the content instead of the excerpt from the post.

    Any help would be very appreciated.
    Thanks.

  9. 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…

  10. 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