This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
01. Create a new .php file and put your template parts into it, such as the menu, the image slider etc | |
02. Call the template partial into them theme file using the below: | |
<?php get_template_part( 'main-menu' ); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// smart jquery inclusion | |
if (!is_admin()) { | |
wp_deregister_script('jquery'); | |
wp_register_script('jquery', ("https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"), false); | |
wp_enqueue_script('jquery'); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// remove junk from head | |
remove_action('wp_head', 'rsd_link'); | |
remove_action('wp_head', 'wp_generator'); | |
remove_action('wp_head', 'feed_links', 2); | |
remove_action('wp_head', 'index_rel_link'); | |
remove_action('wp_head', 'wlwmanifest_link'); | |
remove_action('wp_head', 'feed_links_extra', 3); | |
remove_action('wp_head', 'start_post_rel_link', 10, 0); | |
remove_action('wp_head', 'parent_post_rel_link', 10, 0); | |
remove_action('wp_head', 'adjacent_posts_rel_link', 10, 0); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
My Cart (%s item) | My Basket (%s item) | |
---|---|---|
My Cart (%s items) | My Basket (%s items) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Navigate to System > Configuration > Advanced. | |
2. Disable ‘Mage_Review’. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This can only be achieved by installing an extension: | |
I have already downloaded the extension and saved it in the Magento folder, you can just install it locally within the Magento Connect area. | |
Link: http://www.magentocommerce.com/magento-connect/remove-compare.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
01. Navigate to ‘System > Configuration > Customers > Wishlist’. | |
02. Dropdown ‘General Options’. | |
03. Change ‘Enabled’ to ‘No’. | |
04. Click ‘Save Config’. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
System > Configuration > Catalog > Frontend > ‘Allow All products per Page’ | |
Change setting to ‘Yes’. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WebFontConfig = { | |
google: { families: ['Source+Sans+Pro:400,700:latin', 'Lobster::latin', 'Unica+One::latin'] }, | |
timeout: 2000 // Set the timeout to two seconds | |
}; | |
(function () { | |
// NEEDED to push the wf-loading class to your head (fontloader does it too late!) | |
// its done this way to reliably work on IE and other browsers… | |
document.getElementsByTagName("html")[0].className = "wf-loading"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media (min-width: 768px) { | |
/* Your awesome code */ | |
} | |
@media (min-width: 768px) and (max-width: 1240px) { | |
/* Your awesome code */ | |
} |