Posts

Showing posts with the label PHP CODES

How do i register 4th sidebar column of footer in the hestia theme on its core?

How do i register 4th sidebar column of footer in the hestia theme on its core? Step1: Find Array of sidebars registered in the footer area Class Step2: You can on themes->hestia->inc->core->class-hestia-public.php You see there is a public function, you can change here 3 to 4 0r 5 whatever you want, you can add in filters at first public function initialize_widgets() { $footer_sidebars_array = apply_filters(             'hestia_footer_widget_areas_array', array(                 'footer-one-widgets'   => esc_html__( 'Footer One', 'hestia' ),                 'footer-two-widgets'   => esc_html__( 'Footer Two', 'hestia' ),                 'footer-three-widgets' => esc_html__( 'Footer Three', 'hestia' ),  ...

One or more indexers are invalid. Make sure your Magento cron job is running on LocalHost wampserver

Image
One or more indexers are invalid. Make sure your Magento cron job is running on LocalHost wampserver     This is the error occurred while your WAMP doesn't run the magentos cronjob. If you running the admin of your magento store , you can see this ERROR. One or more indexers are invalid. Make sure your Magento cron job is running. What is CronJobs ? Cron Jobs is a scheduled activities, it will automatically run every particular time interval. You can also able to run by command line. If you run the admin of your magento store , you can see this ERROR. One or more indexers are invalid. Make sure your Magento cron job is running. In Magento we can fix this error by indexing cronjob through command line interface. [Google Ads Section] If cron is setup in your server magento will automatically indexing all data but in your local environment cron will not work, so you need to manually run the indexing command from CMD. Use following command to ru...

Finding Your system name on Windows while doing cronjob settings on local wamp server.

Finding Your system name on Windows while doing cronjob settings on local wamp server.   Step 1 : go to start Step 2 : Click to open control panel Step 3: And then click User accounts Step 4: You can see your system name This will helpful while doing cronjob settings on local wamp server. Bcoz windows need to update cronjob settings manually. [Google Ads Section] To find your system name on Windows for cron job settings on local WAMP server: Method 1: Using System Properties 1. Right-click on "Computer" icon or "This PC" and select "Properties". 2. Look for "Computer name, domain, and workgroup settings". 3. Your system name is displayed under "Computer name". Method 2: Using Command Prompt 1. Press Windows key + R, type cmd, and press Enter. 2. In the Command Prompt, type hostname and press Enter. 3. Your system name will be displayed. Method 3: Using System Information 1. Press Windows key + R, type...

How do i register 4th footer sidebar in the hestia theme on its core?

How do i register 4th footer sidebar in the hestia theme on its core?   Step1: Find Array of sidebars registered in the footer area Class Step2: You can on themes->hestia->inc->core->class-hestia-public.php You see there is a public function, you can change here 3 to 4 0r 5 whatever you want, you can add in filters at first public function initialize_widgets() { $footer_sidebars_array = apply_filters(             'hestia_footer_widget_areas_array', array(                 'footer-one-widgets'   => esc_html__( 'Footer One', 'hestia' ),                 'footer-two-widgets'   => esc_html__( 'Footer Two', 'hestia' ),                 'footer-three-widgets' => esc_html__( 'Footer Three', 'hestia' ),   ...

How to redirect the robot engine from your page?

Robots Text File: There are two important reasons for using robots.txt notepad file: * Robots can ignore your robots text file. Especially malware robots that scan the web for security vulnerabilities, and email address harvesters used by spammers will pay no attention. [Google Ads Section] * Adding a robots.txt file to your website can tell search engines what pages you don't need indexed. * This file is a publicly available file. Anyone can able to see what parts of your datas you don't want robots to use. The robots text file is a module of instructions for visiting spiders that willindex of your whole web site pages. This spiders read the file and provides a map for that. The file is must residing in the root directory of your web server. The URL of your robots file should look like this... /robots.txt User-agent: * The asterisk (*) or wildcard represents any robot. Disallow: The Disallow: line without a / (forward slash) tel...