WordPress Themes Blog Oh! Blog

Share on Facebook0Tweet about this on TwitterShare on Google+0Pin on Pinterest0Share on LinkedIn0

wordpress-must-dos

WordPress is growing to be the most popular blogging platform today and since lot of people are using it, it’s quite possible that your blog looks like just another blog in that pool of 1000’s of blogs. So, to make it stand out amongst the crowd, here are some Must Do’s for your WordPress blogs.

Highlighting Author’s comment

If you have a blog that gets large number of comments, it might be difficult for readers to separate the author’s comment from that of the visitors. I am sure you yourself must have faced this problem a lot. So a good way would be to differentiate the author’s comments by highlighting it and make it stand out from the others. Here’s a simple and easy trick to do so. (However there are many ways to do it and you can find it by yourself. Just ask your friend – Google!)

Logically, what you will have to do is just make the wordpress identify that the comment is from the author and then highlight it. For identification we will be using the userID.

A] Editing the theme to add an “authcomment” style:

Edit the style.css files located in your Appearance > Themes > Your theme and add the following code to the bottom:


.authcomment {
background-color: #B3FFCC !important;
}

Note: If you want to change the color to suit your theme/background, just edit the color code in the above code and that will do it!

B] Edit comments.php file to add the a little more code:

The file is located in Appearance > Themes > Your theme and in that file look for a line called:

  • echo $oddcomment;
    ?>" id="comment…

    That’s all. Now your author comment has background color different from others and hence can be easily identified!

    Speed up your WordPress Blog

    No matter how fast your internet connection is, there are still times when it takes long to load a website and you get irritated by it. Also there are probably more than 30% people in the world today still using 256kbps or lesser speed internet connection! (Sounds like Dial-up days isn’t it). So it’s really important that you optimize your blog to load faster. Here are some tricks to take care of.

    • Always update your wordpress to newest version whenever they are released.
    • Disable (or even better) delete unused Plugins, themes and media files from your wordpress blog
    • Decrease ‘whitespace’ or ‘freespace’ in your code. This surely helps a lot!
    • Try avoiding placing tons of scripts in your header and index files and instead use as much as external scripts as you can.
    • Minimize PHP and database queries. (If you don’t know about this, wait for another post of mine or just Google it! 😉

    Notify users by IM

    Retaining your user base is perhaps, the most important and difficult task that any blog/site has. Hence it becomes even more important to make sure that your readers are up to date with the content on your blog. There are many ways to send them notifications such as RSS Feeds, e-mail notifications and SMS notifications (though not many people would go with the SMS notification for privacy concerns.) There is also an IM notification which I think is the fastest of these and the best way to notify your users. They are bound to check them! It’s very difficult however to make it work but I will explain you in the simplest manner to make it easier!

    • Go to: http://wordpress.org/extend/plugins/notifixious-plugin/ and download the Plugin. It’s called ‘Notifixous’.
    • Configure it as per your needs and voila! It is up and running. Yes, it’s that simple! (You really thought that it was difficult, huh! 😀 )
    Share on Facebook0Tweet about this on TwitterShare on Google+0Pin on Pinterest0Share on LinkedIn0
    1. Tina Wang left a comment on March 23, 2016 at 8:32 pm |

      Gluer for inner door board of car adopts four-station disk delivery, which may use manual or robot automatic feeding and blanking. The equipment adopts Saint-Gobain single-component foaming glue. Foaming principle is nitrogen foaming. Raw material is 200L per package. The equipment mainly contains: 200L platen glue supplier, super foaming machine, high-precision measuring gun, triaxial or six-axial robot, plasma surface treating machine, four-station disk conveyor with tools, Beckhoff control system, etc.
      http://www.hgcx.cn/en/index.php?p=product_show&id=333&c_id=61&o_id=&lanmu=12

    2. civil structural engineering left a comment on August 9, 2012 at 8:21 am |

      Prior to any structural modification you must have the load calculated by either a capable builder or preferably a structural engineer. Each job is different and may warrant a different set of rules to accommodate different loads of a structure. Typically on a domestic single leaf knock through with perhaps a 2 metre opening in a load bearing wall, a steel RSJ would be put in place to take the load above. The dimensions of this RSJ will vary and in all cases must adhere to current building control, who in all cases will want to inspect any such structural alteration. If you are in doubt at any stage of the job, you should contact your building officer for help and guidance. Remember, they are there to help you.

    3. lab mills left a comment on February 28, 2012 at 8:18 pm |

      Like the tips very much and want to know more about the tips.

    4. Borse Balenciaga left a comment on June 28, 2011 at 1:53 am |

      Thanks, Just looking for this!

    5. manolo shoes left a comment on May 23, 2011 at 8:41 am |

      Thanks for you post

    6. gianmarco lorenzi shoes left a comment on May 21, 2011 at 3:18 am |

      Please let me know if you’re looking for a writer for your site. You have some really good articles and I think I would be a good asset. If you ever want to take some of the load off, I’d love to write some articles for your blog in exchange for a link back to mine. Please blast me an e-mail if interested. Regards!

    7. Ary Irawan left a comment on June 8, 2010 at 10:24 am |

      Sometimes we must give our visitor “something different” like this. Because without commentators in our blog, blog is nothing..

    8. ?? left a comment on October 13, 2009 at 5:03 pm |

      @Luis Lopez:- useful~thank you for sharing~

    9. Luis Lopez left a comment on September 7, 2009 at 10:27 am |

      Very useful guys, you are the best, I didnt know all the tips to speed un a blog.

    10. shinery left a comment on June 8, 2009 at 1:05 pm |

      Sorry, but I can’t find the line :
      <li class=”” id=”comment…

      in the comment.php of my theme.

    11. Jai left a comment on May 29, 2009 at 12:43 pm |

      @Mike:- That is just styling the code part in your stylesheet.

    12. Mike left a comment on May 29, 2009 at 12:20 pm |

      How to you make those “blue note boxes” on this article. I’m referring to the three blue boxes up top.

      Maybe you can write a mini -tutorial? or is it too simple for it?

      Any help is appreciated.

      Thanks

    13. Sajid Latif left a comment on May 9, 2009 at 12:25 am |

      That theme is useful for me and hope for others also. Nice Work…
      Thanks for the tips.

    14. J.F. left a comment on April 28, 2009 at 11:31 am |

      This is a great idea to get visitors to leave comments. Thanks for the tips. I will pass this on to my members.

    15. mnw3at left a comment on April 26, 2009 at 11:52 am |

      Thank you very much for this very interesting and useful articles

    16. Danniel left a comment on April 11, 2009 at 8:52 am |

      Nice, I`ll highlighting my comments 😉 Thanks

    17. PzheL left a comment on April 11, 2009 at 2:37 am |

      great post.. thanks for the tips! =D

    18. PS3 left a comment on April 8, 2009 at 6:38 am |

      Thank you very much for this very interesting and useful articles. You are addressing lots of important issues and I am sure going to use some of your tips.

      Thank you.

    19. Len left a comment on April 7, 2009 at 8:13 pm |

      Haha, I’m an idiot Jai. Using the link you gave me I’ve been pounding my head against the wall for the last hour wondering why I couldn’t get it to work. Then I noticed this… if (1 == $comment->user_id) and realized I deleted the original admin and created a 2nd a long time ago. (for security reasons) sheesh. Works like a charm now. Thanks. 🙂

    20. Len left a comment on April 7, 2009 at 6:58 pm |

      Excellent. Thanks for that link Jai. The Codex documentation on wp_list_comments is somewhat lacking but that article is exactly what I need. 🙂

    21. bluehash left a comment on April 7, 2009 at 5:28 pm |

      @Len, me too.

    22. Len left a comment on April 7, 2009 at 4:29 pm |

      Nice tip Jai but does this work with the new 2.7 comments system. The new comments.php doesn’t seem to contain php echo $oddcomment but rather uses the new template tag wp_list_comments.

    23. Artful Dodger left a comment on April 7, 2009 at 3:21 pm |

      Hmm… I tried out the highlighting admin comments thing and it razzle dazzled my blog. 😮

    24. lukman left a comment on April 7, 2009 at 8:44 am |

      hello there, i’ve been waiting for this tips and i got it now. Thanks for the hard work 🙂

    Leave a Comment

    Your email address will not be published. Required fields are marked *

    What Others Say

    BannerJai was awesome to work with. A port of an ASPX/HTML site to Wordpress went seamlessly, and his recreation of our look and feel were fantastic - Kevin Webster

    BannerJai is a talented, creative and an enthusiastic web developer who has worked consistently to deliver high quality websites for my businesses - James Eccles

    •   Let’s Talk

      "Thank you for visiting my website! In order to start a project with me, please send me information on your project so I can figure out how best to help you."

      "After your initial contact, I’ll schedule a quick one-on-one session via Skype to review the project and get to know you."
       Request a Quote
      Have Questions?   Hire Me

    Send Me Your Questions

    Tell Me About Your Project