Archive for August, 2014

How to Add Author Box in WordPress Post Without Plugin

Saturday, August 30th, 2014

Adding a small author box in WordPress post is becoming one of the biggest trends in WordPress powered blogs. Today almost every websites including many popular websites, use author bio box on each article.

So today I am going to show you, how you can add an author box in WordPress post at the end of the post content, without using any plugins. Using a plugin for each and every simple task is not a good idea if you care about your website performance. I do not recommend using plugins for small tasks on WordPress.

Previously I have explained some other tweaks to do some useful things on WordPress without adding any plugins. You can check some of them below.

  • Export WordPress Comments to Excel Sheet Without Plugin
  • How to Display Related Posts Without Plugin in WordPress
  • Insert Ads Inside Post Content Without WordPress Plugin
  • 301 Redirect All 404 Pages in WordPress Without Plugin

To add a author box in WordPress post, all you have to is to add some lines of code to your theme’s single.php and style.css files.  Below is the sample of author box that is used in my blog. You can see that under this post also.

Just open your theme’s single.php file using any of text editor. This file can be found inside your current theme folder (wp-content/themes/theme-name/single.php). If you check that file you can see a loop that shows the content of a single post. It may be using something like <?php the_content(); ?>. Just copy and paste following code where you want to show the author box. Typically it can be after the post content. Normally every blogger used to add author box in WordPress post after the content.

<div id="authorarea">
<?php echo get_avatar( get_the_author_meta( 'user_email' ), 70 ); ?>
<h3>About <?php echo get_the_author(); ?></h3>
<div class="authorinfo">
<?php the_author_meta( 'description' ); ?>
<a class="author-link" href="<?php echo esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ); ?>" rel="author">View posts by <?php echo get_the_author(); ?> <span class="meta-nav">&rarr;</span></a>

Now we have successfully added the author box in WordPress post. But we need to add some styles to the author box. Copy and paste following style to your theme style.css file.

Note : You should may make changes in this code according to your theme look.

background: #f0f0f0;
border: 1px solid #d2d2d2;
padding: 10px;
color: #333;
#authorarea h3{
font-size: 18px;
padding:10px 10px 5px 10px;
#authorarea h3 a{
color: #333;
font-weight: bold;
#authorarea img{
border: 1px solid #ddd;
width: 100px;
height: 100px;
#authorarea p{
padding:0px 10px 10px 10px;
#authorarea p a{

Now save both files. Just open one posts and go to the position where you added the author box. You will see a cool basic author box with author image.

As you can see in code, we have used Gravatar image to show the author profile image. Check Gravatar website to know more about adding images to use inside your WordPress website.

Feel free to ask your doubts using comments or contact form. I am happy to help you.

How to Detect Theme Used in a WordPress Website

Friday, August 29th, 2014

Recently I visited a website and it looked very beautiful and attractive. I was curious to know whether it is WordPress site or not. After a small research I found that it was a WordPress powered website. Then I wanted to know the theme which runs on that website. Finally using some simple tricks I found the theme name and details of theme developer and download link :).

You may have experienced same when you get into a well designed WordPress site. Were you able to find out the theme used? Most of you will have answer NO. So I thought of sharing the way we can find or detect theme used in a WordPress website WordPress website. This can be same for detecting plugins as well.

So today I will share some simple methods to detect theme used in a WordPress website,and you can try the same methods to detect plugins too.

I will share 5 simple methods here. And you can suggest If you know any other methods.

1. Manually Detect Theme Used in a WordPress Website

You can use this simple method to know or detect theme used in a WordPress website. You don’t have to be a Geek or programmer to do this. Just follow below simple steps.

  1. Right click on the website and click on view source (Can be different in different browsers).
  2. Press Ctrl + F (find) and search for wp-content/themes/.
  3. You will see that some words get highlighted, the phrase next to the “wp-content/themes/” is the name of the theme being used in the website. For example if you see “wp-content/themes/ABC” , then “ABC” is the name of the theme used. Check screenshot below.

This one is the simple and easy method to detect theme used in a WordPress website. Also you can do same trick to find out the plugins being used on the WordPress websites. Just use /plugins/ instead of /themes/ while searching. You will get the name of the plugins being used.

Note : You may not be able to detect all plugins using any of these methods.

2. Using Third Party Services to Detect Theme Used in a Website

You can detect theme used in a WordPress website with some third party services as well. All you have to do is, just submit the home page url of the website and click on submit. They will automatically run the searching and detect theme used in a WordPress website. They are also using the same technique that I have mentioned in previous method.

There are two popular third party services to detect theme used in a WordPress website.

  • What WordPress Theme Is That
  • WordPress Theme Detector

Procedures to detect theme used in a WordPress website are simple ans same in both third party service.

  1. Go to any one of the website mentioned above.
  2. Insert home page link of the website and submit.
  3. You may see full details of theme and theme developer. Also you may be able to see the list of plugins being used on that website.

3. Using Chrome Extension to Detect Theme Used in a Website

This method can be used only in Google chrome. If you are using Google chrome to browse internet, then it is really easy detect theme used in a WordPress website. You don’t have to manually do anything. All you have to do is, just add WordPress Sniffer extension to your chrome browser.

When ever you visit a WordPress website, just click on the WordPress Sniffer icon that you can see on your browser tab, to detect theme used in a WordPress website. This is the best and time saving method. I recommend this method.

Information : Please note that you may not be able to detect theme used in a all WordPress websites. This depends on the developer/owner of the website. Everyone can hide their theme details by just editing stylesheet and removing screenshot image from theme folder. None of this methods will work if they do so. But below method may work. So try your luck using 🙂

4. Using Search Engines to Detect Theme Used in a Website

If you are looking for a theme used on a popular website then this method may work. Just do a search on Google or any other search engines to see what theme is being used by that website. You may try following words to search.

  • “What theme is used in ABC”
  • ABC website theme
  • Download ABC website WordPress theme.

There might be some chances that many others have searched for the same theme. So try. You may get good result 🙂

5. Using Contact Form to Detect Theme Used in a Website

This is a genuine method that you can try. You could try this method if you are not able to detect theme used in a WordPress website using any of above explained methods.

Just find out the contact details of website owner/admin and send him a request to ask for the details of the theme used. Almost every website has a contact form. If the website owner is a nice guy and he is willing to say, then you will get reply with the details of the theme 🙂

So these are the best and possible methods that I wanted to share with you ;). So don’t just dream about having the awesome theme for your WordPress website, if you got impressed by any other website themes 🙂 Just try any of these methods.

How To Use Social Media To Boost Your Mobile Marketing

Thursday, August 28th, 2014

Mobile marketing is a great way to make you more profitable. Since many people nowadays download apps on their cell phones and are also on social networking sites, there is a good market for this type of advertising. Both of these serve as excellent mediums for marketing your business. Marketing is about bringing what you have to offer to a place where customers can see it.

Wait for results of one campaign before beginning a new one. You should measure your campaign success by its effectiveness over a long period of time, rather by the sales it generates. Follow the formula for a long-term successful campaign to build a new one.

Remeber that viral ads will have the most impact. If your potential customers agree that it’s worthy of sharing, they’re more likely to send it to friends and family members, resulting in a significant increase in the number of people exposed to your advertisement.

You might already be aware of the option of offering free apps to clients, but you might not realize that it’s also quite easy to make the applications yourself By creating its own unique, relevant app, a company can double or triple the success of its mobile marketing strategy. There are a number of different features you can offer with your app.

Investigate your target market. Base your strategies on facts and observations. Do not invest in a campaign that does not correspond to your audience. It’s important to know whether your audience is more likely to use their computer or cell phone on a daily basis. What operating systems do their phones use? Find out as much as you can so you can make a better connection with your audience.

Use a variety of online media to supplement your mobile marketing. Make your marketing match up nicely with your site. You want to draw people to your homepage. Mobile marketing strategies that actively engage people, as opposed to simply providing literature, are generally more successful and lead to more sales.

Limit the amount of promotions and deals you send to only the best kind of offers if you’re serious about utilizing mobile marketing to the best of your ability. By doing this, you can ensure that your marketing communications are actually welcomed by the recipients.

Consider creating your own mobile app, as a well-designed app with useful information about your niche is a smart mobile marketing strategy. Those apps that offer the user a genuinely needed service are the most successful in popularity and profitability. You can use the app to direct potential customers to your business site, or you can make the app itself part of your product line.

Are you more informed when it comes to mobile marketing? Do you have a new plan or a better plan now? Can you now use things that work with your business? Do you know how to properly apply your plan? With any luck, the tips above should have created better answers.