Tag: php

Remove password protected posts from archive pages

In this tutorial we’ll show how to remove password-protected posts from all of the archive pages in WordPress. There is no need to modify the theme, create custom loops or custom queries. We’ll modify the main query created by WordPress using two hooks; then, we’ll show other ways to use the same functions to search posts with a […]

Sharpen resized images and interlace option in WordPress

Have you ever notice that some resized images in WordPress look blurry, and you would like to dynamically sharpen those images without a bloated plugin. Well, here is how, you can sharpen the resized images in WordPress; and while you are at it you can also activate the interlace option on all image. Interlaced images […]

WordPress out of memory error

As you know, we developed the Image Store plugin and many photographers using the plugin with large image files will come across “Out of memory” errors when processing these large images. If you ever received this error in WordPress there are two settings (constants) that you can use in the wp-config.php file to control the memory limits, WP_MEMORY_LIMIT and WP_MAX_MEMORY_LIMIT. […]