Blog

Custom widget register in WordPress

Have you ever wanted to create a custom widget for your WordPress website? While WordPress does include a built-in text widget, which you can use to display HTML along with embedded CSS and JavaScript, if you want to do anything more than that the text widget just won’t cut it. WordPress widgets are created with […]

Custom taxonomy in WordPress

Let’s take an in-depth look at how to create your own custom taxonomies in WordPress, including simple and advanced creation of taxonomies in WP. WordPress’ custom taxonomies make it possible to structure large amounts of content in a logical, well-organized way. In WordPress, categories are set up as a hierarchical taxonomy, and tags are set up as a multifaceted […]

Create Custom Post Types in WordPress

Custom post types are content types like posts and pages. Since WordPress evolved from a simple blogging platform into a robust CMS, the term post stuck to it. However, a post type can be any kind of content. By default, WordPress comes with these post types: Post Page Attachment Revision Nav Menu You can create […]

Remove Query Strings from Static Resources

When it comes to WordPress performance, this question comes up quite a bit, and that is how to remove query strings from static resources. Your CSS and JavaScript files usually have the file version on the end of their URLs, such as domain.com/style.css?ver=4.6. Some servers and proxy servers are unable to cache query strings, even […]

Insert Ads after nth paragraph of WordPress posts

He guys! Today I will show you how to modify a post in WordPress so that you can have your ads or some customized contents just after the second paragraph of your WordPress single posts. Just look at the following code snippets and you will find the explanation inside code snippets. It’s well documented for […]

WordPress Register Sidebar

Sidebar is a cool feature of Modern Websites but everybody doesn’t like it. You like it or not, WordPress has a built in feature to add dynamic sidebars to your website. To add the sidebar in our website, first we have to register the sidebar. Open your theme’s functions.php file and add the bunch of […]

Leverage Browser Caching and Enable Compression

Caching a WordPress website is easier with any caching plugin available in the WordPress repository. But sometimes you may feel that a lot of plugin may slow down your lovely website. That’s why you may choose to add code to your website instead of adding multiple plugins. Here is my solution to leverage browser caching […]

Contact Form 7 Redirect

Contact Form 7 is one of the most used WP form plugin in the repository. Though this form is not too much user friendly, but most of the themes and developers uses this plugin for simplicity. Today we will see how to redirect users to another page after successful submission of the form. We have […]