Entries by admin

Entry with Audio

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, […]

Display product list on home page in magento

Display product list on home page in magento To display a product list on the home page in Magento, you can use widgets, layout XML updates, or modify CMS blocks. One of the simplest methods is to use the Catalog Products List widget. Navigate to Content > Pages, edit the Home Page, and add the […]

Entry without preview image

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, […]

jQuery Sticky Navigation Effect

To create a sticky effect on the main navigation bar above when a user scrolls passed beyond it. Use below jquery code jQuery(function(){ var menuOffset = jQuery(‘#site-navigation’)[0].offsetTop; jQuery(document).bind(‘ready scroll’,function() { var docScroll = jQuery(document).scrollTop(); if(docScroll >= menuOffset) { jQuery(‘#site-navigation’).addClass(‘fixed’).css(‘width’,jQuery(‘#masthead’).width()); } else { jQuery(‘#site-navigation’).removeClass(‘fixed’).removeAttr(“width”); } }); }); Fairly basic jQuery code. It will add a class […]

Entry with Post Format “Video”

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, […]

htaccess for magento in subdirectory

htaccess for magento in subdirectory Steps 1. Install Magento to /public_html/magento/ normally. Do not change Base URL during installation. 2. Copy /public_html/magento/.htaccess to /public_html/.htaccess 3. Copy /public_html/magento/index.php to /public_html/index.php 4. Edit /public_html/index.php line 32 to read: $mageFilename = ‘magento/app/Mage.php’; 5. Log into Magento Admin. Go to System > Configuration > Web 6. Under Unsecure change […]

Reset wordpress default jquery for front site

Reset wordpress default jquery for front site. Use below code in template functions.php file and you’r done! if( !is_admin()){ wp_deregister_script(‘jquery’); wp_register_script(‘jquery’, (“http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js”), false, ‘1.10.2’); wp_enqueue_script(‘jquery’); }

How To Show Page for Particular User Group In Magento

Show Page for Particular User Group In Magento To show a page for a specific user group in Magento, you need to implement customer group restrictions using layout updates or custom modules. One effective way is by leveraging Magento’s customer session and layout XML updates. First, identify the customer group using Magento\Customer\Model\Session and apply conditions […]