How to Create and Display Custom Post Type in WordPress

How to Create and Display Custom Post Type in WordPress

Custom post type is the best functionality WordPress has. Now question is, what is custom post type? WordPress has many default post types as we see on our admin side like Posts, Pages, Revisions, Media and Navigation Menus. We can build our own custom post types and query them on the front-end. In this article, …

Read moreHow to Create and Display Custom Post Type in WordPress

How to Redirect 404.php Page To the HomePage in WordPress

How to Redirect 404.php Page To the HomePage in WordPress

Every website owner is facing the problem of 404s, that’s why every web platform like WordPress allows you to create a page for handling 404 errors. Having a 404.php file in your theme file is the best programming practice in web development. If you want to redirect every 404 URL to homepage, this tutorial will …

Read moreHow to Redirect 404.php Page To the HomePage in WordPress

How to Create WordPress Plugins Easily with WordPress Plugin Boilerplate

Planning to develop a WordPress plugin first time and searching for a consistent and clear guide for developing a plugin? WordPress Plugin Boilerplate is a best solution to create a plugin. The boilerplate serves as a clear-cut foundation to build up your mind that how you should go with your new plugin. You can download …

Read moreHow to Create WordPress Plugins Easily with WordPress Plugin Boilerplate

How to Save Contact Form 7 Submitted Messages With Flamingo

You already know about Contact Form 7, the best free Contact Form plugin for WordPress. Also, you know how to use Contact Form 7 in WordPress as the settings for the plugin are self explanatory. The best thing about Contact Form 7 is that many developers have created several extensions for Contact Form 7 to …

Read moreHow to Save Contact Form 7 Submitted Messages With Flamingo

How to Display YouTube/Vimeo Videos in Lightbox in WordPress

Today, we are going to share an easy way to display YouTube or Vimeo videos in lightbox in WordPress via shortcode. We’ll use WP Video Lightbox plugin for this. So, download the plugin the from here and install.   After activation, go to Settings -> Video Lightbox. In general option, check “Enable jQuery” if you …

Read moreHow to Display YouTube/Vimeo Videos in Lightbox in WordPress

How to Customize WordPress BuddyPress Avatars With CSS

Here, we’ll show you how to customize BuddyPress avatars with CSS. Use CSS carefully when customizing BuddyPress Avatars. For example, if you’ll implement CSS to size avatars up to a larger size, it will result in distorted and fuzzy avatars. But, if you’ll implement CSS to size down the avatars, you’ll get the good results. …

Read moreHow to Customize WordPress BuddyPress Avatars With CSS

How to Change WordPress BuddyPress Avatar Sizes

A very powerful community plugin for WordPress “BuddyPress” allows several ways to customize the appearance and size of user avatars. In this article, we’ll show you how to change BuddyPress Avatar Sizes.   Default Avatar Sizes in BuddyPress Before doing anything, you must know default values for customizing the avatar size. BuddyPress comes with two …

Read moreHow to Change WordPress BuddyPress Avatar Sizes

How to Dynamically Resize WordPress Images on the Fly with TimThumb

If you are developing WordPress themes, you already know about add_image_size() to crop your images. This is a best way to crop images in WordPress. But what you will do, if you have thousands of images or posts and want to change a different theme now. Obviously, new theme will come with different image sizes …

Read moreHow to Dynamically Resize WordPress Images on the Fly with TimThumb

A Little Dig into WordPress define() (Not a Complete Guide)

We all know that, WordPress is created in PHP programming language. It means, we can use custom PHP in WordPress. Here, we’ll share PHP’s define() function in terms of WordPress. Here, you’ll also see some constants, you never saw or used in WordPress. Let’s start from the constants, we already know. Then, we’ll go further. …

Read moreA Little Dig into WordPress define() (Not a Complete Guide)

How to Detect Visitor Browser Type in WordPress With PHP Browser Detection Plugin

There are so many methods to serve specific data to certain web browsers. For example, we can use conditional comments for like below:   [code type=”html”] anything [/code] We can also use JavaScript browser detect function. See here. Modernizr is also here for us for patching the stuff that are not supported to certain browsers. …

Read moreHow to Detect Visitor Browser Type in WordPress With PHP Browser Detection Plugin