Custom Post Type and Permalink

Since WordPress 3.0 you can use Custom Post Types and you can define your own types of content - it's more like pages than posts! Thereby you can use automatically the Permalink structure of your WordPress installation. That means, if you create a new post type, you can use Permalinks.

But the Permalinks only work if you recreate the Rewrite Rules of WordPress - that's why many users initially have problems with it. If you create a new post type you probably get a 404 if you open this page because WordPress doesn't know the URL-structure in your Permalinks since you didn't create the Rewrite Rules again.

The easiest way is to safe the Permalink structure in your settings again. Alternatively you can include in your Plugin or Theme the function flush_rewrite_rules(). This enables to create the Rewrite Rules again. Important: Flush rules only on activation or deactivation. Don't do it on any other hook.

Individual Design for any Page

The blog has a Theme and for every page an extra style sheet. This current trend of individuality for each content is very common today. Even with WordPress, you can do so; there are several possibilities. One possibility is to create, based on the title, the individual stylesheet.
By default, the class assignment of function body_class() has already a lot of possibilities. More individuality can be reached with the title or ID.
It is certainly not worth for a traditional blog environment but for a site with little content it works pretty well. As I have implemented in this case.
Continue reading …

Small Tips Using WordPress and jQuery

Inside of WordPress are several of JavaScript libraries available, you can use them easily and you don't need an extra Theme or Plugins. Also, this is the recommended approach to enable libraries , so they won't be loaded more than once. Some notes on these two topics can be found in the article Use JavaScript Libraries In And Of WordPress.

But from time to time you need something specific, so I have some code snippets for you in this post now. And I particularly want to show some examples with jQuery. Many Themes and Plugins using jQuery and it is pretty easy to work with jQuery. In principle, these hooks and calls also apply to your own scripts and other libraries.
Continue reading …

Meet You At WordCamp Germany 2010 In Berlin!

Frank, Micha and I are participating right now at the WordCamp Germany 2010 this weekend. We are looking forward to meet old friends and new faces to exchange new ideas, opinions, experiences, knowledge and tips about WordPress. We hope we will meet some of our readers as well. It's always great to meet people in person, especially if you know them only via internet for a long time.

Hope to see you there and if not, we probably will let you know what happened at the WordCamp Germany 2010 next week.

We also like to take the opportunity to say thank you to our loyal sponsors and like to introduce them to our readers, if you don't know them already:

If you also want to have a great design for your website, just get a PageLines Theme. They have superior themes for WordPress that make it simple for you to have an awesome, fully-featured website that is easy to set up and manage.

wpSEO is a great Plugin for better SEO on your WordPress installation. Check it out and you will love it as Google will love your blog from now on. ๐Ÿ˜‰ Of course we are using it on WP Engineer too. WP 3.0 ready and with over 70 setting to optimize your blog. Join their affiliate program to participate on the success of wpSEO.

ThemeShift provides one of the most beautiful, powerful and state of the art WordPress Themes available these days. Take a look at them!

WishList Member is a powerful membership script that can turn any WordPress blog into a full blown membership site. Very interesting, you have to check it out. WishList Member belongs to our loyal sponsors, we are very glad to have them and to provide our readers a great membership plugin.

MakeBetterWebsites is a great gallery with a fine selection of high quality websites. All websites are handpicked and most of them I have first seen on this website instead of the usual suspects, seen on many other websites over and over again. Only high quality websites are seen on this website.

Download this book to become a Pro in WordPress! 400 Pages of Practical Information. A Lifetime Subscription, when you buy this book, you will instantly get the most current version. But also, you are getting a lifetime subscription to all updated (PDF) copies of the book. And lots of Code Samples!

Viva Themes creates quality and professionally designed WordPress themes. They offer themes for your business, blog or personal sites. All of that comes with an excellent free support

Tokokoo claims that they are offering the simplest way to build your online store with WordPress. With their WordPress e-commerce themes, open your business instantly. Sell your products easily. All for FREE. So go ahead and try it out!

A very popular provider of e-commerce functionality for WordPress is WP e-commerce, which is a free bolt-on shopping cart that lets customers buy your products, services and digital downloads online. Theyโ€™ve had over 750,000 downloads! They also offer some premium upgrades to have more features.

If you also interested to support our website, please go to and promote your service or product on WP Engineer. Maybe not this month, but maybe next month we have a spot just for you available. ๐Ÿ™‚