opensource

2 minutes read
If you are a Web developer and still code websites compatible with a few older versions of Internet Explorer, then you must be well aware of X-UA-Compatible meta tag. Preface The X-UA-Compatible is a document mode meta tag that allows web developers to choose for what version of IE the page should render as. Below is how the tag looks like: <meta http-equiv="X-UA-Compatible" content="IE=edge"> You may provide information to the content attribute accordingly as per your requ...
2 minutes read
You might have noticed that some WordPress blogs show a last modified or last updated date in place of the published date on the posts or pages. If you’re looking to add the same functionality to your blog too, this tutorial will going to help you to achieve that – we’ll see the both the DIY way and using plugins to accomplish that. WordPress plugin to show last modified date I’ve written a WordPress plugin called WP Last Modified that allows you to add last modifed date to your WordPre...
2 minutes read
Keyboard shortcuts or hotkeys speed up the work on any platform. WordPress too, has some handy keyboard shortcuts that can be helpful to the user when composing a post. These shortcuts basically fulfill the formatting tasks and help you to quickly format and finish your posts. Remember that in order to use these shortcut keys, you must be using the WordPress Visual editor to compose posts. Shortcut / Hotkey Function Ctrl + c Copy Ctrl + v Paste Ctrl + x Cut Ctrl + a Select all Ctr...
2 minutes read
Holidays are here, and most of you must be planning to wish your WordPress site readers Merry Christmas the best way. You may already be using a stylish Christmas theme to decorate the site and wish readers. But mostly, people want to add a bit of holiday flair to create a festive temperament without changing the current theme. You may go for some theme customizations; but if you ask me, I would advice you to use a plugin for that. So, what are some best WordPress Christmas plugins? Here’s the...
3 minutes read
The load time of a website is one of the most important factors that should be considered for better SEO and User experience optimization. It’s the total time a website takes to load into the browser. Lesser the loading time, better will your site be scoring on searches and UX. Speed matters! With WordPress, it’s quite easy to mess up with the load time of your site. Within the activation of 2 new plugins and 1 new theme, there are 70% chances that the load time of your WordPress site may in...
2 minutes read
Recent posts are fine and easy to achieve, and you have many plugins to do that for you. What’s your take about recent pages? In a recent project, the client felt the need to show recent pages below every page’s content. It was something new, as nobody really asks to display recent pages on their WordPress site. So, what’s the big deal in displaying recent pages? Nothing. WordPress API is pretty flexible to display almost any kind of content you wish to on the front-end. And what does it t...
a few seconds read
There may arise a need when developers want to hide the Visual editor aka WYSIWYG Editor from their Post types. If such is the case, you should just implement the following code in the functions.php file of your theme OR in the plugin files if you have a plugin installed to set up CPTs: add_filter('user_can_richedit', 'disable_wysiwyg_for_CPT'); function disable_wyswyg_for_CPT($default) {   global $post;   if ('movie' == get_post_type($post))     return false;  ...
2 minutes read
WordPress automatically adds paragraph tags (<p>) in the posts wherever it notices double line-breaks. For example, if you write one line and press the return key twice, it considers you want to add a paragraph there, and then suitable tags will be added when you publish or preview the post. You don’t see the tags added in the post editor, but they will show up in the markup when you view the source of your post. The same thing happens with the WordPress image captions when your inser...
3 minutes read
Imagine someone somehow manages to break into your WordPress dashboard, and changes it’s password and email. If you request a “Forget Password”, the reset password link will be mailed to the new email, not to your email. The result will be – you losing control over your WordPress-powered site. I think that’s enough to picturize that traumatic situation. How would you cope up with such a problem? The first recommended step for a beginner-level user to restore WordPress is to contact the...
3 minutes read
Ever thought of allowing readers of your WordPress-powered site to submit comments effortlessly and instantly without reloading the page? If so, this guide tells how to do so. Using AJAX AJAX or Asynchronous JavaScript is the technology that allows websites to send or request data without having to actually reload the page. The general meaning of “Asynchronous” on web is loading resources in parallel without having to deal with the general loading or re-loading in the browser. AJAX is used o...