CleverWP.com -> WordPress Customization, WordPress Development and WordPress SEO http://cleverwp.com Clever WordPress SEO, Tutorials, Plugins and more Sun, 13 May 2012 17:14:59 +0000 en hourly 1 Dessi – securitydecisions.org http://cleverwp.com/dessi-securitydecisions-org-2/#utm_source=rss&utm_medium=rss&utm_campaign=dessi-securitydecisions-org-2 http://cleverwp.com/dessi-securitydecisions-org-2/#comments Sun, 13 May 2012 17:14:49 +0000 Lars Koudal http://cleverwp.com/?p=1524 dessi featured 150x150 Dessi   securitydecisions.org dessi screenshot01 150x150 Dessi   securitydecisions.org dessi screenshot02 150x150 Dessi   securitydecisions.org ]]> http://cleverwp.com/dessi-securitydecisions-org-2/feed/ 0 bkoudal.dk http://cleverwp.com/bkoudal-dk/#utm_source=rss&utm_medium=rss&utm_campaign=bkoudal-dk http://cleverwp.com/bkoudal-dk/#comments Sun, 13 May 2012 16:02:52 +0000 Lars Koudal http://cleverwp.com/?p=1516 Homepage for Betty Koudal (yep, it’s my mom). bkoudal.dk is the homepage of her clinique, where she treats people for a range of various illnesses.
bkoudal feat 150x150 bkoudal.dk bkoudal pic01 150x150 bkoudal.dk bkoudal ydelser 150x150 bkoudal.dk

]]>
http://cleverwp.com/bkoudal-dk/feed/ 0
concept-i.dk http://cleverwp.com/concepti/#utm_source=rss&utm_medium=rss&utm_campaign=concepti http://cleverwp.com/concepti/#comments Sun, 13 May 2012 15:51:18 +0000 Lars Koudal http://cleverwp.com/?p=1509 Redesign and move to WordPress platform on concept-i.dk. The website is the home of SEO guru Thomas Rosenstand.

concepti featured 150x150 concept i.dk concepti frontpage 150x150 concept i.dk concepti subpage 150x150 concept i.dk ]]>
http://cleverwp.com/concepti/feed/ 0
No sabes con quien duermes http://cleverwp.com/no-sabes-con-quien-duermes/#utm_source=rss&utm_medium=rss&utm_campaign=no-sabes-con-quien-duermes http://cleverwp.com/no-sabes-con-quien-duermes/#comments Sun, 13 May 2012 01:03:48 +0000 Lars Koudal http://cleverwp.com/?p=1486 No sabes con quien duermes is a website allowing spanish speaking visitors to leave confessions. All confessions are anonymous.

nosabes feat 150x150 No sabes con quien duermes nosabes pic1 150x150 No sabes con quien duermes nosabes pic2 150x150 No sabes con quien duermes ]]>
http://cleverwp.com/no-sabes-con-quien-duermes/feed/ 0
Mediter Real Estate http://cleverwp.com/mediter-real-estate/#utm_source=rss&utm_medium=rss&utm_campaign=mediter-real-estate http://cleverwp.com/mediter-real-estate/#comments Sun, 13 May 2012 00:34:37 +0000 Lars Koudal http://cleverwp.com/?p=1473 A completely customized solution for Mediter Real Estate based on WordPress.

  • Properties
  • Multi-lingual
  • SEO structured
mediter featured 150x150 Mediter Real Estate mediter frontpage 150x150 Mediter Real Estate mediter properties 150x150 Mediter Real Estate ]]>
http://cleverwp.com/mediter-real-estate/feed/ 0
ingles para pervertidos http://cleverwp.com/inglesparapervertidos/#utm_source=rss&utm_medium=rss&utm_campaign=inglesparapervertidos http://cleverwp.com/inglesparapervertidos/#comments Sun, 13 May 2012 00:20:00 +0000 Lars Koudal http://cleverwp.com/?p=1468 A quick project I did with my friend Venus O’Hara for her new book, English para pervertidos.

Screencast

Part of the process was recorded with a screenshot every 3 seconds.

]]>
http://cleverwp.com/inglesparapervertidos/feed/ 0
WordPress Content Deployment with RAMP http://cleverwp.com/wordpress-content-deployment-with-ramp/#utm_source=rss&utm_medium=rss&utm_campaign=wordpress-content-deployment-with-ramp http://cleverwp.com/wordpress-content-deployment-with-ramp/#comments Mon, 22 Aug 2011 06:09:06 +0000 Lars Koudal http://cleverwp.com/?p=1389 RAMP is a WordPress plugin that allows you to easily deploy changes you create on staging or development servers directly to the production server WITHOUT the hassle of either replicating all steps manually, exporting and importing or even the more hardcore way of dumping and importing the database.

Not only can you work on your local server and deploy changes directly with one click, you can also utilize the preflight checklist to make sure the changes you are deploying are not in conflict with the development server.

So, if you have created a new post and during that creation also created a category and/or a few tags, RAMP will automatically create these categories and tags as well.

RAMP also checks if there has been any more recent changes on the production server, saving you the emberassment of overwriting newer changes with older ones.

This WordPress plugin looks quite amazing, and I have not even played with it yet. I would love to play around with it for an upcoming future project!

Now, the most important thing is the Rollback feature. Or it will be for me at least.

If you do any mistakes you can easily roll back to an earlier version, letting you sleep well at night.

The tone and dash of humour on the site is a big plus in my book as well icon smile WordPress Content Deployment with RAMP

Go take a look, and let me know in the comments what you think of it

The company behind is Crowd Favorite.

]]>
http://cleverwp.com/wordpress-content-deployment-with-ramp/feed/ 0
WordPress Functions.php Code Collection on Stackexchange http://cleverwp.com/wordpress-functions-php-code-collection/#utm_source=rss&utm_medium=rss&utm_campaign=wordpress-functions-php-code-collection http://cleverwp.com/wordpress-functions-php-code-collection/#comments Mon, 15 Aug 2011 11:33:57 +0000 Lars Koudal http://cleverwp.com/?p=1387 WordPress functions.php

The functions.php file in your WordPress theme is an underutilized resource for many WordPress powered sites.

Relying on WordPress plugins only to customize your site can result in an overabundance of WordPress plugins which slows down your site.

Whenever possible I add pieces of code to the active WordPress theme’s functions.php file instead, and a great resource for useful snippets of code that works in functions.php is on the continously updated “Best Collection of Code for your functions.php file“.

Best functions.php Code Collection

The WordPress Answers site hosted on Stackexchange is a brilliant resource to interact with other WordPress developers and exchange knowledge.

Here are just a few of the code snippets you can find there:

  • Remove Update Notification for all users except ADMIN User
  • Modify the Login Logo & Image URL Link
  • Loading jQuery from the Google CDN
  • Remove the WordPress Version Info for Security
  • Add Spam & Delete Links to Comments on Front End
  • Remove Default WordPress Meta Boxes
  • Set a maximum number of post revisions to avoid DB bloat
  • Function to change the length of Excerpt
  • Customize the Dashboard

The list goes on…

Direct link: Best Collection of Code for your functions.php file

My WordPress Answers Profile page.

]]>
http://cleverwp.com/wordpress-functions-php-code-collection/feed/ 0
Portable Development with “Instant WordPress” http://cleverwp.com/portable-development-instant-wordpress/#utm_source=rss&utm_medium=rss&utm_campaign=portable-development-instant-wordpress http://cleverwp.com/portable-development-instant-wordpress/#comments Thu, 11 Aug 2011 22:32:37 +0000 Lars Koudal http://cleverwp.com/?p=1383 Instant WordPress is a standalone development environment, specifically designed for WordPress.

It even runs from a USB drive. (Win only)

]]>
Instant WordPress is a standalone development environment, specifically designed for WordPress.

The developer, Seamus Brady, used to work as a contract IT Trainer and he needed a way to quickly set up test environments.

The best thing is that it works from a USB drive, and is completely self contained. A great idea for setting up test environments in seconds.

Direct link: Instant WordPress (Windows only)

Source: wpmu.org

]]>
http://cleverwp.com/portable-development-instant-wordpress/feed/ 0
WordPress header.php Optimization Tips http://cleverwp.com/speed-up-wordpress-header-php/#utm_source=rss&utm_medium=rss&utm_campaign=speed-up-wordpress-header-php http://cleverwp.com/speed-up-wordpress-header-php/#comments Thu, 11 Aug 2011 17:20:51 +0000 Lars Koudal http://cleverwp.com/?p=1377 WordPress is very fast when you first install it, but there are many things you can do to optimize your WordPress site for more speed.

In this article I will outline a few tips you can do use improve your header.php file.

Beware of Theme Updates

If you implement some or all of these suggestions, you will loose them if you do an automated theme upgrade in the future.

WordPress header.php file

The header.php in your WordPress theme gets called every time a page loads on your website. Any optimization that can be made here will affect all pageloads on your site.

WordPress theme developers have to develop the theme to be used on a wide range of WordPress websites, but once installed and configured, you can make some changes to the header.php file to make your site run a lot faster!

1. Hardcode HTML constants

Here is how the top of my header.php file looked. I’m sure yours will look somewhat similar.

<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

Notice the 3 pieces of PHP code? These pieces of information is collected via WordPress PHP functions that in return uses internal function and database calls.

Does that description sound slow? It’s not that bad, but in terms of optimization, every millisecond gained matters.

The fix is simple.

Load your website in your browser. Find and copy-paste the corresponding code in the source code.

This is the correct HTML code which you can simply copy-paste and overwrite the corresponding area in your header.php

Here is mine after copy pasting:

<html
xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US" xmlns:og="http://opengraphprotocol.org/schema/"><head
profile="http://gmpg.org/xfn/11"><meta
http-equiv="Content-Type" content="text/html; charset=UTF-8" />

2. Hardcoded Feed Urls

Unless you intend to change your url feed at some point in the future, you could also save some speed on hardcoding your feed urls.

<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="http://www.concept-i.dk/feed/rss" />
<link rel="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />

That is 4 unnecessary pieces of PHP.

Here is what mine would be once optimized using the same procedure of visiting the website and copy-pasting the processed HTML code.

<link rel="alternate" type="application/rss+xml" title="CleverWP.com RSS Feed" href="/feed/rss2" />
<link rel="alternate" type="application/atom+xml" title="CleverWP.com Atom Feed" href="/feed/atom" />

3. EXTRA RSS tip – Feedburner

I take RSS optimization one step further by using Feedburner.

I recommend using Feedburner or similar service to speed up your website even more.

I have recommended using Feedburner in the past, so I will be brief.

  • Less pageloads on your site.
  • Your feed is constantly updated by Google
  • Google visits your site more often
  • Increasing your feed subscriber count can affect your authority and hence rankings
  • Works in all formats
  • Feed reader statistics

Here is what the code is reduced to, and there is no PHP code.

<link rel="alternate" type="application/rss+xml" title="CleverWP.com Feed" href="http://feeds.feedburner.com/cleverwp">

Read more on the Feedburner service page. Best of all? It’s free!

4. Multiple calls to bloginfo()

Throughout your header.php file you will see several calls to bloginfo() and some parameter. The function returns important information about your WordPress site, such as name and url location of your theme.

The WordPress function, bloginfo(), fetches and returns the data from the database.

If your theme depends on the exact same call more than once, you can improve the speed.

<?php bloginfo('template_directory'); ?>

You will most likely find this piece of PHP code called several times throughout your header.php file.

We can save processing time by storing the value in a PHP variable, and then simply output that variable instead where needed.

Somewhere before the first time the call is made, insert the following PHP code:

<?php
$template_directory = get_bloginfo('template_directory');
?>

The get_bloginfo() is very similar, except than instead of simply outputting the value, it returns it to the variable instead.

From now on we can simply replace each occurrence of

<?php bloginfo('template_directory'); ?>

with

<?php echo $template_directory; ?>

Repeat the process with any more calls you find repeated several times, each time saving a bit of time.

There are many more things to do when optimizing header.php, and with these steps you are well on the way to a faster and smoother running WordPress site.

Want more tricks?

Sign up for my newsletter if you want more tips and other WordPress news in your email.

I promise I do not spam or share your e-mail with anyone else.

Free Newsletter

  • This field is for validation purposes and should be left unchanged.
]]>
http://cleverwp.com/speed-up-wordpress-header-php/feed/ 0