How to convert / change post type in wordpress

WordPress uses various post types to store and display content on your website. The most common post types are Posts, Pages, Attachments and Menus.

Do you know that it is also possible to convert one post type to another?

Recently I came across a situation where I wanted to change a post to a page.

In this tutorial, I will share step by step instructions to switch on post type to other.

We will make use of the Post Type Switcher Plugin.

Read moreHow to convert / change post type in wordpress

How to add Widget to Pages and Posts in WordPress

Widgets are very powerful and are extremely easy to use. However their usage is  limited to the widget ready areas.  

What if you want to embed widget in a Page or Post?

In this post I will cover a plugin which allows you to embed any widget in a Page or Post.

The plugin is  AMR Shortcode Widget. Its a very popular plugin with 4.9 rating and has over 100,000 downloads.  Here are the instructions to use it:

Read moreHow to add Widget to Pages and Posts in WordPress

How to Modify / Rename the Default Category in WordPress

We recently shared this tutorial on how to create categories and subcategories in WordPress, what we did not tell you is that a new WordPress installation comes with a default category called Uncategorized that is used to categorize posts that you forget to assign a category to. Many WordPress beginners struggle with the idea of deleting this category and are often stuck on how to do that especially when they realize that it does not have a delete option. However, in this tutorial, we are going to show you how you can change the default category and/or rename it. We are going to cover the following;

  1. Changing the default category in WordPress.
  2. Renaming the default category in WordPress.

Read moreHow to Modify / Rename the Default Category in WordPress

How to Disable Gutenberg and replace it with Classic Editor in WordPress

Gutenberg is a new editor for WordPress named after Johannes Gutenberg who invented the printing press over 500 years ago. The current WordPress editor requires the use of HTML and shortcodes to make things work the way we would like them to. The goal of the new Gutenberg editor is to simplify this especially for people new to WordPress. However, it is still at its beta phase, but will soon be replacing the classic editor as the default editor in WordPress.

Read moreHow to Disable Gutenberg and replace it with Classic Editor in WordPress

How to add Search Icon with Toggle Effect in WordPress Menus

You might have seen some of the popular websites having a search icon with a nice looking toggle effect. Some of them showing full-screen toggle and some search box toggle. In this tutorial I am sharing you Steps for achieving search box toggle effect with the help of code snippets, the theme am using is Twenty Sixteen. If you would like to browse more popular themes then have  a look at SpiceThemes

Read moreHow to add Search Icon with Toggle Effect in WordPress Menus

How to remove the url field from the comment form

If you have ever run a blog, you must have faced the problem of comment spam. Spammers engage in comment spam for link building purpose.

One simple way to discourage spammers is to remove the url field from the comment form. This will ensure that spammers cannot use your comment form for link building purpose.

In this post I will share a small snippet which will remove the url field from your comment form.

I recommend you to use the code snippet plugin in order to run this piece of code. Using the code snippet plugin ensures that your changes remain intact even after you change your theme.

Read moreHow to remove the url field from the comment form

How to Insert Line Break in Widget Title

WordPress, by default, does not allow HTML tags in widget title.  If you try to add HTML tags in the widget title, they will be stripped before the widget content is output. So if you want to add Line Break in the widget title, you will need to perform some code jugglery.

In this post I will share a simple technique which you can use to insert line break in the widget title. The concept is simple.

We will create a filter which hooks into Widget_title filter and dynamically add the break tag.

Read moreHow to Insert Line Break in Widget Title

How to add custom CSS in wordpress – without using any plugin

There are quite a few custom css plugins , however majority of them apply the custom css site wide. If you want to apply the css to a specific page, then one approach is to make edits to the theme functions.php file. However this approach is not recommended , as the changes will be lost if you change the theme.

In this tutorial I will share a simple technique to add custom css to a specific Page or Post in WordPress. The best part is that we don’t need to make any edits to the templates files or the functions.php file. We will achieve this without using any custom css plugin.

Read moreHow to add custom CSS in wordpress – without using any plugin