Warning: include(/var/www/web0/html/my-guide.org/wp-content/themes/adspress/adsense_blog.php): failed to open stream: No such file or directory in /var/www/web0/html/my-guide.org/wp-content/themes/adspress/archive.php on line 4 Warning: include(): Failed opening '/var/www/web0/html/my-guide.org/wp-content/themes/adspress/adsense_blog.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/web0/html/my-guide.org/wp-content/themes/adspress/archive.php on line 4

How to show random posts after current post

March 23rd, 2009 Comments Off on How to show random posts after current post Posted in Wordpress, Wordpress MU

Difficulty Level:

dif_low

It is very useful to show some random posts after the current reading post. You online need one litle function for that:

More »

How to create a gallery of your available themes?

February 26th, 2009 Comments Off on How to create a gallery of your available themes? Posted in Wordpress MU

Difficulty Level:

dif_low-mid

Hello and welcome to a new small tutorial about wordpress-mu plugins. This tutorial is build on a previous tutorial “How to use a plugin function in a post?“. The main focus is to how to create a nice table to present your themes in a gallery.

So this is what you need:
More »

How to use a plugin function in a post?

February 17th, 2009 Comments Off on How to use a plugin function in a post? Posted in Wordpress MU

Difficulty Level:
dif_low-mid

Today we will show you how to use your own plugin function in a post.

Sometimes you want to add special content to your post, but there is no wordpress function available. An easy way to solve this problem is to write your own function, which will do what you want and include it into your post with a special tag. In our example we will use a function which shows a list of all available themes.

In four small steps we will reach our goal:
More »

How to remove post revisions?

February 16th, 2009 Comments Off on How to remove post revisions? Posted in Wordpress MU

We will show you today how to remove existing post revisions from all blogs. This is a very simple about 20-LOC-script (LOC = Lines Of Code) 😉

How should it work?

  • Create a menu entry
  • Check if the user has enough rights to run this script
  • Get a list of all blogs
  • Go to each post table and delete posts marked as “revision”

Create a menu entry

First you have to create a file named “mg_clean_revisions.php”. Open the file to put some code into it. At first we need a hook which will be called when you access the admin menu. This hook should run a function which creates a menu entry. More »

Change WordPress Login Logo

February 11th, 2009 Comments Off on Change WordPress Login Logo Posted in Wordpress MU

At first I would like to show you, how to replace the standard wordpress logo on your login page.

wp_login_form

This is very simple. All we have to do is to replace the background image at <h1> stylesheet. Let’s go: More »

My-Guide Interessante Guides: BodybuildingSport GuideSnowboard GuideSparenSchönheitsoper..