Archive for the ‘Wordpress’ Category

Easy update to WordPress 3.0.1

Friday, July 30th, 2010

Today I made an easy upgrade to WordPress 3.0.1, automatic and thanks to my great webhost (swedish webhost Binero.se) I can get around the FTP-account form in WordPress. I just set some constants for method and permissions in wp-config.php:

1
2
3
define( 'FS_METHOD', 'direct' );
define( 'FS_CHMOD_DIR', 0755 );
define( 'FS_CHMOD_FILE', 0644 );

How easy this made my life, since I tend to lot of Worpress blogs. If you want to learn some great configuration tips for your wordpressblog check out this article on digwp, theres a lot to do then just easy updates.

WordPress Random Post Box plugin updated

Wednesday, July 28th, 2010

The WordPress Random Post Box plugin is updated to work in WordPress 3.0. You can download the new version 1.0.3 from the plugin directory.

The problem and solution
It was a simple fix but hard to find. As mentioned by Fabian Anderwald (thanks Fabian) files not loaded within wordpress framework now needs to include the file wp-load.php instead of wp-blog-header.php, a change in WordPress that might be a problem for all integrating WordPress in other applications. This also affected my ajax-call in Random Post Box plugin. So, if you are a developer and run in to the same proble change this:

1
require('./wp-blog-header.php');

To this:

1
require('./wp-load.php');

There was also a warning generated from an array, a bug which also had an easy fix.

The original post about the plugin »

First submit to WordPress plugin database

Saturday, February 13th, 2010

I have made the first submit to WordPress plugin database with my Random Post Box plugin. It’s nice to see that they are using Subversion, my favorite versioning-system :)

If you want to see an example of the plugin in use, check out below the first post on Retrocamera.net.

Random Post Box

Tuesday, February 9th, 2010

Download Random Post Box from WordPress.org
See the plugin in use on Retrocamera.net (the little box below the first post).

Random Post Box is a WordPress plugin. It will let you place a box (div) anywhere on your blog, with templatetag or shortcode, and load random posts with an interval and fade effect. It uses jQuery (Ajax) which means that the content is loaded without loading the rest of the page. The timing can be controlled in the Admin Options-panel.

The template tag is <?php random_post_box(); ?>. You can also use the shortcode [random-post-box] in a page or post.

Features

  • Insert placeholder with template tag
  • Insert placeholder with shortcode
  • Set time for displaying the post
  • Set times for fade in and fade out affect
  • Exclude or include posts by category
  • Exclude posts by age (in days)
  • Use title only
  • Use post excerpt or bodycontent
  • Strip tags from body
  • Show/hide post metadata
  • Prepared for translation

(more…)

First version of the OSE-theme

Saturday, January 31st, 2009

This is the first, very ruff version of this theme. I choose to call it an alpha version. But you are still free to download it :)

Ose-theme

Ose-theme