How to install a WordPress plugin (Step-by-Step)

Plugins in WordPress are a great way to extend your site functionality and even though WordPress has built-in most of the features you’ll need. It is just the matter of time until you’ll find yourself searching and wanting one more plugin.

There are many places where you can find plugins, but the best way to get one is in the WordPress Plugins repository. In the repository you will find thousands of free and premium plugins.

In the same way you would install a new Theme, plugins in WordPress can be installed in different ways: you can search and download the plugin that you find interesting — typically in a ZIP file format that you’ll need to uncompress and upload the files to your site in the wp-content/plugins folder –. Or the easy way, which involves using the automatic plugin installer.

Instructions

To do an automatic plugin installation follow these easy steps:

1. While logged in on your website, navigate the Dashboard (typically www.your-site.com/wp-admin), and from the left-hand side menu, click Plugins, then Add new. This is the place where you’ll be able to search plugins by keyword, author or tag, and install the one you want with just two-clicks.

Add new Plugin 423_wide

From this page you can also upload and install plugins that you may have downloaded from a different source, and you can explorer featured, popular, newest and recently updated plugins to get the most out of your hunt for next functionality.

Find plugins with WordPress 640_wide

2. To install the plugin, click the Details link under the plugin’s name, to find a more detailed description of the plugin you are about to install, and more important you’ll find the FYI box on the right that have valuable information such as, version, last update, requirements, compatibility and how many times the plugin has been downloaded.

Things to consider deciding for a plugin: The FYI information is important in many ways, knowing that the plugin was updated in less than a month will indicate that the developer is keeping up with the releases of WordPress, that is checking for compatibility, and it also shows that this is a proactive developer that won’t leave you in the dark if something starts not functioning in the plugin.

Requirement is important because if your site is not running the latest version the plugin may not work and it may break your site and compatibility for the same reason. And finally knowing the times that the plugin has been downloaded will give you a glimpse how popular it is and it can help to make a faster decision to whether download it or not — I always think that if there are many plugins that do the same thing, the one with the more downloads has a better reputation.

When you know the plugin you want, just click the Install Now button.

Install WordPress Plugin 684_wide

3. Once a plugin has been installed, wait…, and then click the Activate Plugin link to turn it on. And that’s pretty much all you have to do to install a WordPress plugin. Note that some plugins will require some extra configuration to work properly, remember to review the plugin’s installation notes in the FYI box mentioned earlier before doing anything else.

How to activate a plugin in WordPress

How to add beautiful free Google Web Fonts to a WordPress theme

Even though content is always kind, it isn’t just about writing anymore. We’re in time of responsive design, HTML5 and CSS3 are a big part of the user experience and making those reader comeback. Besides chances are that your content can also be found elsewhere on the web.

So with this new the new overload information age, how can someone standout from the crow? Like I said at the beginning content is king and that won’t change. But certainly there are a few things you can do to improve your site to keep you readers coming. Adding new free and beautiful web fonts definitely one thing you can do.

There are many services that offers web fonts, but the majority are paid services, a few others are free and Google Web Fonts is one them.

Google Web fonts offer hundreds of font families you can choose from and they are really easy to implement.

To integrate Google Web Fonts to your WordPres site do the following:

1. Visit the Google’s font service here and choose any font you like by clicking the Add to collection button.

2. Click the USE button to access.

3. In the next page, make sure to consider the page load meter, because fonts can really slow down your site, which will translate into a bad experience for the user. Green is good, red I would recommend, you to skip it.

4. Next, scroll down and from the section Add this code to your website, copy the code.

google-web-fonts-wordpress

5. Now the fun part begins:  FTP your site and look for the header.php file from the currently active WordPress theme, download the file and open it with your favorite code editor.

6. Look for <head> tag and right after, paste the font code you grabbed from Google Web Fonts.

google web fonts

7. Upload the header.php file back to your site.

Finally, you need to apply the new font to your content. If you recalled Google also gave you a CSS code (e.g., font-family: ‘Tauri’, sans-serif;). Well, now you have to apply this code to the content you want, for example: on headlines, text, subtitle, quotations, etc.

Because there are many places where you can apply the new fonts, I’ll only be covering how change the font of headlines in a WordPress theme.

1. Once again, FTP your site and look for the Style.css file from the currently active WordPress theme, download the file and open it with your favorite code editor.

2. Do a search for class .post-title and replace the line that starts with font-family and replace it with the line of code from Google Web Fonts (e.g., font-family: ‘Tauri’, sans-serif;). If your theme doesn’t have the class .post-title, look for the class .entry-header or .entry-title.

It should look something like this:

.post-title {
 font-size: 26px;
 margin: 0 0 5px;
 padding: 0;
 font-weight: 100;
 font-family: 'Tauri', sans-serif;
 }

3. Now simply save the file and upload it back to your site and refresh the site.

Voila! Now you have font family to display headlines in an unique.

Download WordPress 3.5 Beta 1 released and full with new goodies

Following the promise WordPress is delivering. Today the team made available the first preview of what will be the next milestone, WordPress 3.5. This latest release is not optimal for production, but it is ready if you are developer and for anyone who would like to test it.

Some of the new improvements for the upcoming release and you can try now are:

  • Appearance: A simplified welcome screen. A new color picker. And the all-HiDPI (retina) dashboard.
  • Mobile: It’ll be easier to link up your WordPress install with our mobile apps, as XML-RPC is now enabled by default.
  • Plugins: You can browse and install plugins you’ve marked as favorites on WordPress.org, directly from your dashboard.
  • Accessibility: Keyboard navigation and screen reader support have both been improved.
  • Links: We’ve hidden the Link Manager for new installs.

The final release of WordPress 3.5 is scheduled for December 5th, 2012, until then the team recommends to anyone who develop themes and plugins to download and test every build to avoid bugs at the final release. For more information you should check the new WP article published by the company.

WordPress Twenty Twelve default theme is ready for enjoyment [Download]

Twenty Twelve is ready for download now, the WordPress team has just made available the next fully responsive default them for the most popular CMS platform in the world.

The 2012 them for WP now looks great on any device. Yeah! You heard right, now the WordPress theme seamlessly adapt to any device including: iPhone, iPad, Android devices, you name it. Features in the yearly them includes a front page template with its own widgets, styling for post formats for single and index views, an optional display font, and an optical full-page without sidebar page template. Also you can always create custom menus, change background and add custom header images.

Download Link

How to recover posts from wp_posts table being “in use” in the database

How about this, you wake up one morning, you get your cup of coffee like you usually do, you open the web browser and to check how your site is doing only to find out that all your posts, pages, comments, all your hard work have vanished, but with the website still working. The first thing it will come to mind is “did anybody got into my site and deleted everything?”, “did a malware did this?”. I could be, but not today.

If this is something that happened to you, be calm, it is just a problem in your WordPress database. The first thing you should do is to sign in to your host provider (e.g., Godaddy, Bluehost, Host Gator, etc.) and get access to the phpMyAdmin panel.

Open your site database, and you will discover that the wp_posts table (here is where WordPress all posts and pages content) now displays a messages that says: “in use”. There could be a bunch of reasons to why this occurred. I could be a bad plugin, perhaps and more likely a problem with your WordPress hosting server.

I know that you are here for a solution, so here we go: While logged in to the phpMyAmdin and in your site database, select wp_posts table by clicking the box selector and at the bottom of the database, you’ll find a drop-down menu, there simply select Repair table. Wait and you should see a green message that says “Your SQL query has been executed successfully”. If you see this message, you are all set.

That’s all there is to it. Now go back to your website and refresh, it should be working now.

How to insert Google Adsense ads by word count in a post

In this WordPress tutorial you’ll learn how to insert Google Adsense ads by word count in a post without the need of using a plugin.

There are times when posts that you write on a specific topic has a good amount content and some other posts that have important information that you want to transmit, but they don’t have a great amount of content. Sometimes when posts are short, they lack of keywords, when this happens Google will struggle trying to figure out what is your content about making it difficult to target the right ads on these posts — when you are sharing wallpapers and photos, these are good example where there is going to be a lack of keywords and content.

Not only Google Adsense is going to have trouble with ads, but also your posts will look cluttered and people don’t like that — You have to try to give your visitors the best experience possible.

One other thing to keep in mind is that the more ads you have in a particular page/post, you are making it more difficult for visitors to pick what they want and you may end up not earning enough because of it.

Well, is there a solution for this? The answer is Yes, and the solution is pretty simple and it doesn’t require to install a plugin, just cutting and pasting some code into your WordPress template.

[stl]Inserting Google Adsense ad code by word count in a post or page[/stl]

To do this, you just need to add a simple function to the function.php and a simple hook in your WordPress template, and then ads will appear only when your new post contains a specify word count.

Follow these steps:

1. Open your function.php file with your favorite editor and inside the PHP code () add the following code:


/** Count Post Word count **/
function wcount(){
ob_start();
the_content();
$content = ob_get_clean();
return sizeof(explode(" ", $content));
}

2. Save the function.php file and up load the file back to your web server if necessary.

3. Next, open the single.php file, locate where is that you want to insert the Google Adsense ad code by word count, and cut and paste the following code:


<?php if (wcount()> 300) {?>

/**Google Adsense goes here**/

<?php };?>

4. Don’t forget to add your Adsense ad code where it says “/**Google Adsense goes here**/”, then just save the file and upload it to your web server if necessary.

The above code in step #3 essential it says: if the word count of the post is grater than 300 words, then whatever is contained within the wcount block will be displayed, in this case a Google ad. But you are not just limited to ads, you could, for example, insert an image or any other block of code that you want. And if the post has less than 300 words, whatever is contained inside of the wcount block will not be display.

By doing this you are going to help Google to target ads to your audience more efficiently, potentially increase your earnings, and your posts are not going to look cluttered.

Download WordPress 3.3.1: This release brings security and maintenance

Short before the release of WordPress 3.3, the developer team is announcing and making available WordPress 3.3.1.

This is a maintenance release of the largest open source web software, which includes 15 fixes for different issues, like multi-site upload limit stuck at 50MB, toolbar shows a warning on a second call, script loader dies in 3.3 on no-JSON PHP and others.

Also WordPress 3.3.1 fixes some security issues for cross-site scripting vulnerability that affected version 3.3.

[stl]Useful Links[/stl]