wordpress development
Add PHP code to WordPress manually and with plugin
Code Snippet is a small piece of code that you can use on your WordPress site and increase the features, capabilities, and performance of the site. It is true that plugins are at the forefront of increasing the performance of WordPress websites, especially for non-experts, but sometimes it is very difficult to find a plugin …
Add PHP code to WordPress manually and with plugin Read More »
How to Remove Product Tabs in WooCommerce
Sometimes you don’t need product tabs in WooCommerce. Sometimes to design and increase the user experience you have to know how to remove product tabs in WooCommerce on the WordPress website. To remove product tabs, follow the below steps. WooCommerce default product tabs are “Description”, “Aditional Information” and “Reviews” tabs. Remove Product Description Tab The …
How to Enable Debugging in WordPress
The first thing you should do when developing a WordPress plugin or theme is to enable debugging mode in WordPress. Debugging PHP code is part of any project, and WordPress is not exceptional. If your code or other codes have something wrong, WordPress raises warnings and error messages. If you can’t see any message, maybe …
How to Add Custom Meta Boxes in WordPress Posts
Do you want to create custom meta boxes for your WordPress posts, pages, and other post types? When a user edits a post, the edit screen is composed of several default boxes: Editor, Publish, Categories, Tags, etc. These boxes are meta boxes. Most of the time, meta boxes in WordPress are created to increase better …
How to use jquery in WordPress?
WordPress is old enough, yet the method of adding scripts properly to themes and plugins still remains a mystery for many developers. Using JQuery in WordPress is not exceptional. jQuery is a fast, small, and feature-rich JavaScript library for creating unique, dynamic, and engaging websites. This library is one of the most used libraries of …
How to Redirect to Admin Page After Theme Activation In WordPress
Most of the times, you redirected to welcome page after activation of theme. If you want to use this trick in your theme, add below code in functions.php file of your theme. The “hs_welcome” is custom admin page (The “Welcome” page).
How To Display Related Posts In WordPress With Example?
To add related posts to your theme, open functions.php file and add the following code. Go to your posts display loop and add the function in it.
How to Detect Internet Explorer Browser In WordPress
In the backend (PHP) we can’t detect user browser, but we can do it with JavaScript. To do the job, add the following code in your functions.php file in theme.
Customizer Select List Control in WordPress : Dropdown
If you are developing WordPress theme, you will be deal with WordPress customizer. Customize WordPress theme is one of the options you can customize your theme based on your needs. To add customizer select list control, you can use below code. In this post, we will give you a custom control makes it possible to …
Customizer Select List Control in WordPress : Dropdown Read More »