Error After Installing Magento 2 Go to – “D:\xampp\htdocs\mage2\vendor\magento\framework\View\Element\Template\File\”. Open The file name Validator.php Search for “$this->fileDriver->getRealPath“, you will find the similar code. Replace them with… Read More →
I ran into this warning myself while setting up a local WordPress development environment on XAMPP. The message looks alarming the first time you see… Read More →
Refused to apply style because its MIME type (‘text/html’) is not a supported stylesheet MIME type
April 24, 2019
After installtion magento 2 you can see a error like MIME type not supported. To fix this: Use 2 comment: php bin/magento setup:static-content:deploy -f -s… Read More →
Mastering the use of widgets is a fundamental skill for any WordPress user, and the footer area represents prime digital real estate. Unlike static content,… Read More →
Create admin user in WordPress via functions.php
January 19, 2019
WordPress is a popular content management system used to build websites of all kinds. It provides a user-friendly interface and a wide range of features… Read More →
Main Stylesheet for WordPress theme (style.css)
May 4, 2018
Put the following code at the top on style.css /* Theme Name: your theme name Theme URI: https://wordpress.org/themes/twentyseventeen/ Author: the WordPress team Author URI: https://wordpress.org/… Read More →
How to Install Varnish HTTP Accelerator on Ubuntu: A High-Performance Caching Guide
December 10, 2017
In the world of high-traffic web management, speed is the ultimate currency. Varnish Cache (also known as an HTTP accelerator) is a powerful tool designed… Read More →
How to Filter Products Based on Attribute Value & Attribute set | magento | Magento 1.9
November 2, 2017
You can follow the code : <?php ob_start(); ini_set(‘max_execution_time’, 0); set_time_limit(0); ignore_user_abort(true); require_once ‘/chroot/home/powerme1/powermedicalsupplies.com/html/app/Mage.php’; Mage::app()->setCurrentStore(Mage_Core_Model_App::ADMIN_STORE_ID); $_write = Mage::getSingleton(‘core/resource’)->getConnection(‘core_write’); $_read = Mage::getSingleton(‘core/resource’)->getConnection(‘core_read’); $collection = Mage::getModel(‘catalog/product’)->getCollection()->addAttributeToFilter(‘attribute_set_id’,9)->addAttributeToFilter(‘brand’, array(‘eq’… Read More →