55+ Most Wanted WordPress Tips, Tricks, and Hacks

1. How to add Facebook comments in WordPress

The admin bar is a new feature added since WordPress 3.1. This bar by default appears at the top of the browser and displays links to quickly enter to edit an article, create a new one, enter the admin panel, etc..

If you want to show this bar at the bottom of the browser, so you just paste the following code in the functions.php file of your theme.

Screen Shot 2013-04-25 at 5.38.41 PM

2.Remove Admin Bar

If what you want is for any reason not to show the admin bar, you just have to place the following code in the functions.php file:

Screen Shot 2013-04-25 at 5.40.59 PM

3.Allow more HTML tags in your HTML editor for WordPress

WordPress HTML editor does not allow HTML tags that are not XHTML 1.0. This code causes the editor to accept more labels, so you just stick it in the functions.php file:

Screen Shot 2013-04-25 at 5.42.57 PM

4.Make your article look better when shared to Facebook

This code is used when a user share your article in Facebook, look your best, with related image or default image, link to website author, title, description, etc..

You just have to place the following code in your theme header.php file before the <? Php wp_head ();?>:

Screen Shot 2013-04-25 at 5.47.06 PM

5. Disable changing theme

When you create a WordPress site for a client, maybe you should make sure that it can not change the theme of the blog. For this you just have to paste the following code in the functions.php file:

Screen Shot 2013-04-25 at 5.49.00 PM

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s