This file contains hidden or 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
| There is a requirement of my client to import bulk category, So to solve this we created this export import extension. | |
| To install this download extension from link below unzip files paste both app and skin folder to your magento folder its will ask for over writing click ok, clear your var/cache folder login to your admin panel on top you will see MageWorks category import/export options | |
| =========EXTENSION============= | |
| SOURCE: http://www.magentoworks.net/importexport-magento-category-extension |
This file contains hidden or 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
| /* ### Responsive Max_319px ### */ | |
| @media only screen and (max-width: 319px) { | |
This file contains hidden or 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
| <?php | |
| //Simple Ajax Login Form | |
| //Source: http://natko.com/wordpress-ajax-login-without-a-plugin-the-right-way/ | |
| ?> | |
| //html | |
| <form id="login" action="login" method="post"> | |
| <h1>Site Login</h1> | |
| <p class="status"></p> | |
| <label for="username">Username</label> |
This file contains hidden or 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
| <?php | |
| // add this within functions.php | |
| function comments_time_ago( $type = 'comment' ) { | |
| $d = 'comment' == $type ? 'get_comment_time' : 'get_post_time'; | |
| return human_time_diff($d('U'), current_time('timestamp')) . " " . __('ago'); | |
| } | |
| //to show comment time |
This file contains hidden or 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
| SOURCE: http://wordpress.stackexchange.com/questions/9775/how-to-edit-a-user-profile-on-the-front-end |
This file contains hidden or 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
| <?php | |
| //Get number of items in cart | |
| $totalItemsInCart = Mage::helper('checkout/cart')->getItemsCount(); | |
| ?> |
This file contains hidden or 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
| <?php | |
| $this->helper('customer')->isLoggedIn() | |
| ?> |
This file contains hidden or 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
| //Magento: GoDaddy "No input file specified" (MAY 2014) | |
| add to your .htaccess | |
| Options +ExecCGI | |
| AddHandler x-httpd-php5-cgi .php | |
| AddHandler x-httpd-php5-cgi .php5 | |
| Options -MultiViews | |
| RewriteRule ^index.php/(.*) /$1 [L] |