Category: Code Snippets
-

Reset Forgotten WordPress Admin Password
[ad_1] To strengthen security of your WordPress website, creating and using a strong complex password for your admin account is very critical. But there is one thing I hate about strong and complex passwords, they are easily forgettable. That’s the only risk involved in using complex passwords on your website. So in this article I…
-

Add Image to Default Avatar List in WordPress
[ad_1] When readers comment on your blog, WordPress uses the Gravatar platform to display a picture of the commenter next to his or her comment. If a commenter doesn’t have a Gravatar, or their email address isn’t associated with one, then WordPress displays the Mystery Man Gravatar as the default avatar in comments. WordPress also…
-

Change Refresh Interval of WordPress RSS Widget
[ad_1] By default, WordPress cache feed or rather the cached feed has a lifetime of 43200 seconds, equivalent to 12 hours. There isn’t an option in WordPress admin panel to purge the cached feed and force WordPress to refresh feed manually. On a specific project you might need WordPress RSS widget to update faster than…
-

Display Random Post From Specific Categories
[ad_1] Previously we have talked about displaying related posts and popular posts in WordPress but today, I have very interesting WordPress snippet for you. Recently, one of my client requested me to develop a section for his WordPress blog to feature an article on blog homepage but the catch was, the displayed article should be…
-

Add Google Web Fonts in WordPress The Right Way
[ad_1] Google has been supplying the community with a large collection of web-based fonts for quite a few years. There are several ways Google allow you to use these fonts for free on your website. Google also provides instructions for embedding and using these fonts in your website which works great for static HTML websites,…
-

Add Custom Status or Notes to a WordPress Post without a Plugin
[ad_1] Think of yourself as a Blogger on the move. You are traveling around the world, sometimes you are at Berlin, and then you move to Paris, yet again to New York. How cool it would be to add a note to each post that says where you wrote that from? Or maybe you might…
-

Create A Back to Top Button in WordPress
[ad_1] In this article we will show you how to create a back to top button or link on your WordPress website. Back to top button can be useful to visitors reading long articles or browsing large pages. After reading a long article, scrolling browser window back to top can be a little frustrating and…
-

Display Posts from a Custom Taxonomy (Tag / Category) of a Custom Post Type
[ad_1] By OutsourcedContent — on April 8, 2012 Since ver. 2.3 you could create custom Taxonomies and custom Post Types came in since ver. 3.0. In simple terms, Taxonomies are classifications and Post Types are well, they are Post Types. For e.g. Pages and Posts are two default post types (there are 5 default post…
-

How to Create a Welcome Page (Splash Page) for WordPress
[ad_1] We are not talking about a pop-up or setting a page as the homepage of your WordPress site here. A real solid page that is shown to visitors when they enter your site from another site, or search engine (which again is another site) or by directly typing in your address. Have you ever…
-

Add Meta Description Tag Without Plugin in WordPress
[ad_1] First of all, I’d highly recommend using a dedicated SEO plugin like WordPress SEO or All in One SEO Pack to optimize your website for search engines because they are experts in this field and they really know what they are doing. Also it will be highly effective to use latest SEO techniques from…