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…

Tutorial: Get WP Minify to Process Your JS and CSS Files

This tutorial only applies to WP Minify pre-2.0.

You should use this tutorial if you still notice some Javascript and CSS files not being processed by WP Minify after activating the plugin.

Problem

WP Minify only sees scripts and styles enqueued via the wp_enqueue_script() and wp_enqueue_style() function. So if your theme or plugin does not use these functions for printing Javascript or CSS references, then WP Minify will not include them into the Minifying process.
Read on…

WP Minify WordPress Plugin

I have previously reviewed the Minify PHP application and found that the only drawback it had for a WordPress user was that it was semi-tedious to integrate with WordPress. Because of that I would like to release the ‘WP Minify’ WordPress plugin that will integrate Minify into WordPress for you and help you improve your site load time.

Description

This plugin helps you easily integrate the Minify engine into your WordPress blog. Once enabled, this plugin will combine and compress JS and CSS files to improve page load time. Read on…

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…

Released WP Greet Box 4.6

WP Greet Box Import ExportWP Greet Box version 4.6 is here!

What’s new this release?

This version of WP Greet Box has a few minor enhancements.

  1. Added ability to import and export all WP Greet Box options (including greeting messages).
  2. Added option to disable CSS for manual CSS management.
  3. Enhance upgrade procedure. Now all you have to do is visit any admin page after every upgrade.

Read on…

Released Buy Sell Ads WP Plugin 0.3

Buy Sell Ads 0.3Buy Sell Ads WP Plugin version 0.3 is here!

What’s new this release?

This version of Buy Sell Ads WordPress plugin has a few minor enhancements.

  1. The CSS properties for advertisements are now customizable. This should let you customize the advertisement to work with any website.
  2. The default “Advertise Here” placeholder box can now be disabled.
  3. Added check for cache directory permissions. (0.3.1)
  4. Added ability to nofollow advertisement links. (0.3.1)
  5. Added ability to disable anti-AdBlock (for performance). (0.3.1)
  6. Fixed known compatibility with WP Super Cache. (0.3.1)

A few people have been requesting these features, and I’ve brought it to you! Enjoy!

Read on…

WPGB Troubleshooting: Greet Box Doesn’t Show Up

Is it me?
photo credit: id-iom

This post is one of my WP Greet Box Troubleshooting Guides series (more to come).

Symptom

You have installed WP Greet Box and found that your greeting messages do not show up.

Note that this troubleshooting guide should only be used for WP Greet Box with cache compatibility mode enabled.

Step 1: Check code embed

  1. Visit one of your post pages.
  2. Make sure there are no javascript error messages when you visit a post page.
  3. On your post page, do a browser View > Source on the page, then check if the following text are there:
    • wp-greet-box/css/wp-greet-box.css
    • id=”greet_block”
    • wp-greet-box/js/functions.js
    • wp-greet-box/js/onload.js

If all is there, then proceed to next step.

If wp-greet-box/css/wp-greet-box.css does not exists, it could mean that your theme does not make a call to the standard wp_head() function. You can fix this issue by manually inserting the follow between your <head> and </head> tags:

<link rel="stylesheet" href="/wp-content/plugins/wp-greet-box/css/wp-greet-box.css" type="text/css" />

If wp-greet-box/js/functions.js & wp-greet-box/js/onload.js does not exists, it could be that your theme does not make a call to the standard wp_footer() function. You can fix this issue by adding <?php wp_footer(); ?> into your theme’s footer.php or manually inserting the following towards the bottom of your HTML (near the </body> tag):

<script type="text/javascript" src="/wp-content/plugins/wp-greet-box/js/functions.js"></script>
<script type="text/javascript" src="/wp-content/plugins/wp-greet-box/js/onload.js"></script>

If any of these are not there, you might have not installed the plugin properly. Please read the readme.txt file and then retry the installation.
Read on…

Weekend Links – Jan 29, 2009

Minify (CSS and Javascript Optimizer) Review

A few days ago I read a post on Webmaster Source about Minify, ‘a PHP5 app that can combine multiple CSS or Javascript files, compress their contents (i.e. removal of unnecessary whitespace/comments), and serve the results with HTTP encoding (gzip/deflate) and headers that allow optimal client-side caching.’

Being the enthusiast that I am, I decided to implement it on my blog. This post will report my experiences integrating Minify with my WordPress blog.
Read on…

Weekend Links – Dec 12, 2008