large shade tree

Navigation

Information

Recent Posts

Shade Tree Sites |Building Better Websites

Posts Tagged "Hacks"

Add Custom Message to WordPress Post Editor

Change the highlighted text below to whatever you want and add to your functions.php

Read More ›

WordPress SEO without a Plugin

WordPress hack: Efficient SEO without a plugin

Read More ›

Clean Up wp_head

add to your functions.php file to remove links from wp_head (edit as you like):

Read More ›

How to Include Custom Post Types in RSS Feed

Include below in your functions.php file to add custom post types to you RSS feed:

Read More ›

Shortcode Adds Columns to WordPress Posts

Paste in functions.php:

Read More ›

Track Post Views without a Plugin

Track and show post views without a plugin and add a column for post views to WP Admin.

Read More ›

3 Ways to Increase WordPress Memory

WP_MEMORY_LIMIT allows you to specify the maximum amount of memory that can be consumed by PHP. By default, WordPress will attempt to increase memory allocated to PHP to 32MB (code is at beginning of wp-settings.php), so the setting in wp-config.php should reflect something higher than 32MB.

Read More ›

How to Activate Cropping for Images in WordPress

Add below to your functions.php file:

Read More ›

How to Activate WordPress Link Manager

As of WordPress 3.5 link manager is no longer displayed.
If you would like link manager back paste this in your functions.php file

Read More ›

WordPress wp-config Snippets

Here are a few snippets that can be added to your wp-config to improve your wordpress website:

Read More ›

Disable Comments on WordPress Media Attachments

Paste this into your functions.php file to disable comments on wordpress media attachments:

Read More ›

Custom Field Loop / Query

This piece of code allows you to create a custom loop based on your custom fields in published posts using a direct database call:

Read More ›

Custom Database Error Page

Custom Database Error Page

Read More ›

Simple WordPress Admin Customizations

Whether you are just looking to customize your own WordPress site or are designing one for a client – these three snippets will make an impression.

Read More ›

WordPress Post Pagination without a Plugin

Came across this great piece of code to create post pagination without a plugin from Christian “Kriesi” Budschedl.

Read More ›

List of Themes Using TimThumb

Sucuri:  List of Themes Using TimThumb

Read More ›

TimThumb Security Issue Link

WP Candy: Tim Thumb Security Issue

Read More ›

Easy Maintenance Mode for WordPress

Paste the following code into your functions.php file and remove once done:

Read More ›

How to Fix a Hacked WordPress Blog

How to Fix a Hacked Wordpress Blog

Read More ›

Specific Rotating Image for a Page or Post

Recently had an occasion where I needed to display a specific header on each page of a website project – came up with this after looking around and it worked for me.

Read More ›