This movie requires Flash Player 9

WordPress empty P in shortcode issue

After hours of browsing and testing to find out a definitive solution about the annoying empty html paragraph tag in shortcode, I found this absolutely smart and easy solution that just works! 12345678910111213add_filter(’the_content’, ‘shortcode_empty_paragraph_fix’);     function shortcode_empty_paragraph_fix($content)     {           $array = array (           [...]

read more

WP admin: Custom taxonomy filter in custom post type

If you are hardly try to find (like me) a simple solution to add a dropdown filter in custom post type admin list, here it is a snippet slightly modified from several sources around there. Not yet perfect but at least it works mostly. Put this in your functions.php file and have fun! The magic [...]

read more

Maja Bookmarks | WP Plug-In to display Links anywhere

Maja Bookmarks is a simple but effective WordPress Plug-In to retrieve and display links. It is the first of a series of plug-in for WordPress focused on query data. The Maja Bookmarks plug-in is a widget as well as a shortcode to display a list of bookmarks (links) through several options. Includes widget options and the [...]

read more

Simple Banner Rotator with JQuery tutorial

In this tutorial we will see how it is easy create a basic banner rotator with JQuery library.

We are making maybe the simplest rotator out there.
So let’s get started.

read more

Conditional check for active sidebar in WordPress

After a lot of search on how to get is_active_sidebar() works, here the tip that just works.

If you need to check whether a particular sidebar is active (means has at least one widget registered) you should put on your theme the following code:

read more

Programming a WordPress theme from scratch part 2!

This is the second part of our step by step tutorial about programming a WordPress theme from scratch. Here you can find the previous one. Now we’re going to add some html code in our previous generated files. The Header First we need to add some basic html code inside the ‘header.php’ file. Putting this [...]

read more

Simple PHP authentication class

Here a tiny present for everyone wants to implement a basic authentication system in their applications. This class simply check from a POST request the username/password credentials, creating a session variable and optionally a cookie to remember the login. Here the very basic example on how to use it. First off, you should create your [...]

read more

Programming a WordPress 3.0 theme from scratch part 1!

This is the first post about how to program a wordpress theme from scratch.
I’m not covering the styling part of a theme, but only the php part.
The first thing to do is to create a folder inside ‘wp-content/themes/ of your wordpress installation.

read more

Theme switcher for WP 3.0

Finding a way to let users to test my future experiments on WordPress themes programming, I found this old plugin which works great with the latest WordPress release. Here some tips to config it.

read more

List post by Category AND Tag: WP_Query()

I had a lot of headache to list posts by category and tag as joint result.
Here the solution I found:

You have to use WP_Query() class to accomplish that task:

read more
Page 1 of 612345...Last »
Stop censorship