Subscribe via

How to Troubleshoot WP Minify

WP Minify is supposed to work out of the box for many cases. That being said, there will always be plugins that conflict with WP Minify because of the nature of this plugin. In this post, I will show you how to troubleshoot these issues for yourself before you have to hit the plugin support forum.

How does WP Minify Work?

When activated, the plugin does the following:

  1. WP Minify intercepts theme rendering at the get_header WordPress hook and puts everything that is echoed/outputted from the PHP code into an output buffer.
  2. WP Minify then intercepts theme rendering again at the get_footer WordPress hook to stop the output buffer.
  3. The plugin then evaluates the page content to extract all JavaScripts and stylesheets out.
  4. The minified version of these JavaScripts and stylesheets are then re-injected into the content.
  5. The page content is echoed/outputted as normal.

Read on…

WLTC: How to Highlight Search Terms with jQuery

Highlighted Search ResultsIn this post, I would like to highlight a good tutorial I recently wrote on Weblog Tools Collection in case you guys have missed it.

The tutorial shows how you can easily hack your WordPress blog to highlight search terms using some jQuery magic.  I particularly like this method because it is an easy modification and jQuery will let you highlight any text within any HTML element no matter if the text is in the post title or in the post content area.

Read the full article here.

Weekend Links – Apr 11, 2009

Weekend Links – Mar 28, 2009

  • WordPress: Working With Options – Options in WordPress are in an extra options table (with Prefix before) stored. Options include the blog name, which theme is used, etc.. Pl…
  • Sick of images being to large for the content area? – Have you ever uploaded an image that might have been a tad bigger than the width of your content area? I know I have! So here is a little CS…
  • WordPress Plugin Developer Tips – WordPress has become one of the most widely spread blogging and publishing platforms on the Internet today. With the huge number of existing WordPress powered sites, from personal blogs to corporate solutions, the demand for WordPress plugin developers has increased largely…
  • How to build the new next generation theme – How complex, or complicated, does a theme need to be to offer all the possible solutions that you want? I think it is possible to do it very…
  • How to: Show related posts without a plugin – This code will display related posts based on the current post tag(s). It must be pasted within the loop…
  • Read on…

Weekend Links – Mar 21, 2009

Use Custom Fields to Dynamically Display Content

You might have noticed that I have a post footer section on every one of my posts. What you might not have noticed is that this post footer changes depending on what type of post it is. For example on each of my plugin pages (e.g. SEO No Duplicate plugin), you will see that the footer looks like this:
Plugins Footer
But on each of my popular articles pages (e.g. Make Any Plugin Work with WP Super Cache), you will see that my footer looks like the following:
Articles Footer
Better yet, on any other posts, the footer shows:
Other Footer

In this post I will show you how to easily implement this feature on your WordPress blog.
Read on…

Weekend Links – Jan 29, 2009

Weekend Links – Jan 1, 2009

Weekend Links – Dec 19, 2008

  • Mastering Your WordPress 2.7 Theme & Admin Area – Mastering Your WordPress 2.7 Theme & Admin Area: Tips and Tricks.: Noupe has a nice writeup on mastering WordPress 2.7 Admin and underst…
  • How to: Embed Adsense anywhere on your posts – First, you have to add the following code to your function.php file. Don’t forget to change the adsense code, unless you’d like to display m…
  • 8 Useful WordPress SQL Hacks – By Jean-Baptiste Jung – Over the past 10 years, the MySQL database has become incredibly popular on the Web. Every WordPress blog is driven by…
  • Smashing Christmas Icon Sets – In December we asked few designers to come up with some creative, beautiful, memorable yet usable icon sets. Some designers had a tight sche…
  • Hack: insert ads in your RSS feed – If you have problem while using the recipe here, try that one: Simply paste the following code on the functions.php file from your theme. Cr…
  • Read on…

Are Premium WordPress Plugins/Themes Unethical?

GNU Public License MascottBecause of the recent commotion in the WordPress community about the ethics of selling premium WordPress themes, I would like to stir things up by voicing my opinion about this topic.

I know you are thinking, “Who are you? Why should I care what you have to say about it?” To tell you the truth I’m just a regular WordPress junkie who has written some successful plugins and articles on WordPress (and of course some unsuccessful ones). I believe that I’ve dealt with GNU Public License (GPL) enough to both love and hate it.

Background

You probably know that WordPress is an open source blogging platform licensed under GPL. This means that all derivative works and extensions (themes and plugins) are also forcefully licensed under GPL themselves.

GPL purists argue that it is definitely unethical to charge for premium offerings and license it under a different license. Others (like me) believe that this is a gray area and we cannot apply the GPL by the book to every plugin/theme here.

My take as a non-premium plugin/theme developer

Currently I do not develop any premium WordPress plugins or themes, but I still believe that not all premium WordPress plugins and themes are unethical. Here are my reasons why some of them are perfectly ethical (and legal): Read on…