You are currently browsing the Tips & Tricks category

Changing Backgrounds with body class()

Posted on October 11, 2011 at 4:56 pm in
crayons

The body_class() WordPress function attaches a list of classes to the <body> element according to what type of page is being displayed. These classes can be used — in conjunction with your theme’s stylesheet — to display different backgrounds on different pages. Let’s assume your header.php template file contains: <body <?php body_class(); ?>> And your…

Headers Already Sent

Posted on October 7, 2011 at 9:50 am in
message

The most common reasons for seeing this error message in your WordPress site are spaces, new lines, or invisible characters before an opening <?php tag or after a closing ?> tag in one of the site’s scripts. But, in order to fix the problem, you have to know which file is causing the problem.

WordPress SEO: Better Titles

Posted on October 3, 2011 at 9:02 am in
html

The content of the HTML <title></title> tag is used to: Create a title in the browser toolbar Provide a title for the page when it is bookmarked Display a title for the page in search-engine results It make sense, therefore, to take some time to craft a good title in your WordPress site. In the…

Comments are off for WordPress SEO: Better Titles »

Change eShop’s Merchant Gateway Images

Posted on September 30, 2011 at 10:13 pm in
Ecommerce

The eShop ecommerce plugin ships with a default set of images for the various merchant gateways that can be located in wp-content\uploads\eshop_files. However, if one of these images does not suit your purposes, it’s relatively easy to change it via your theme’s functions.php file. The following example illustrates how to change the Cash icon:

WordPress Memory Issues

Posted on September 27, 2011 at 2:45 pm in
Troubleshoot

Symptom: Your site crashes and displays a message along the lines of Fatal error: Allowed memory size of xxxxxxxx bytes exhausted Cause: You do not have sufficient memory allocated to PHP within your hosting account. There are a number of ways you can get your site up & running again. The method that works for…

Comments are off for WordPress Memory Issues »

WordPress Support Services

Top