Log in to your WordPress website. Click on ‘Yoast SEO’ in the left-hand menu. Navigate to the ‘Settings’ section. In the settings menu, click on ‘Advanced’. Select ‘Breadcrumbs’ from the expanded menu. Scroll down to the bottom of the screen and toggle the switch behind ‘Enable breadcrumbs for your theme’. If you’ve enabled breadcrumbs, configure the settings according to your preference. Add theme support for Yoast… Continue reading Breadcrumb using Yoast SEO Plugin in WP
Category: Word Press
Use of wp_print_footer_scripts hook in WP
The wp_print_footer_scripts hook in WordPress allows developers to add custom scripts or code to the footer of their website. This is particularly useful for including JavaScript or other functionality that needs to be loaded after the main content of the page. Here’s how you can use the wp_print_footer_scripts hook: Understanding the Hook:The wp_print_footer_scripts action is triggered inside the wp_footer action. It provides no… Continue reading Use of wp_print_footer_scripts hook in WP
About Tabs Responsive plugin in WP
Tabs Responsive is based on bootstrap framework, So This plugin design is responsive and user friendly to any mobile devices. You can display both vertical and horizontal tabs style using this plugin . Add multiple Tabs on multiple pages and post. There unlimited colour scheme and font style available for content. You can add images,… Continue reading About Tabs Responsive plugin in WP
To clear the Auto complete of an input field or tag
use the option auto-complete=”off” <input name=”email” id=”email” type=”email” autocomplete=”off” />
A new woocommerce website proposal
Refer:- Woocommerce propsal
how to connect Advanced Custom Fields (ACF) to a new template and a custom API in a WordPress environment
Steps 1. Create ACF Fields Installation: Install and activate the Advanced Custom Fields plugin in the WordPress admin dashboard. Field Group Setup: Navigate to Custom Fields > Field Groups and create a new field group. Define the necessary fields within the group, noting the field names for future reference. 2. Create a Custom Template Template… Continue reading how to connect Advanced Custom Fields (ACF) to a new template and a custom API in a WordPress environment
Where can we find the database configuration settings in a WordPress installation?
The database configuration settings can be found in the wp-config.php file. In WordPress, the database configuration, including the database name and password, is typically stored in the wp-config.php file. This file is located in the root directory of our WordPress installation. To find the database configuration settings in wp-config.php, we can look for the following… Continue reading Where can we find the database configuration settings in a WordPress installation?
how to optimize the code for Minimizing the main thread work of website(WordPress)
Caching: Implement a caching mechanism to store static or less frequently changing content. Popular caching plugins like W3 Total Cache or WP Super Cache can help with this. Lazy Loading: Implement lazy loading for images and other non-critical resources. This ensures that resources are loaded only when they are needed, reducing the initial page load… Continue reading how to optimize the code for Minimizing the main thread work of website(WordPress)
Stop runinng unwanted actions on WooCommerce
Add the following code to the functions.php to stop the action scheduler on the website. function yourprefix_disable_action_scheduler() { if ( class_exists( ‘ActionScheduler’ ) ) { remove_action( ‘action_scheduler_run_queue’, array( ActionScheduler::runner(), ‘run’ ) ); } } add_action( ‘init’, ‘yourprefix_disable_action_scheduler’, 10 ); Now this will disable the running status of all events on the woocoommerce. This may be… Continue reading Stop runinng unwanted actions on WooCommerce
How to create a Custom class to a WP page (Creating from Dashboard)
You can use the body_class function in your theme’s functions.php file to add custom classes to the body tag of your pages. function custom_body_classes($classes) { // Add your custom class $classes[] = ‘my-custom-class’; return $classes; } add_filter(‘body_class’, ‘custom_body_classes’); After adding this code, every page will have the class ‘my-custom-class’… Continue reading How to create a Custom class to a WP page (Creating from Dashboard)