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
| It should be something like this: | |
| <h2><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2> | |
| Once you find the line you will need to remove the parts that make the title an active link, which include the <a href="<?php the_permalink() ?>"> and </a> tags. The final line should look like this: | |
| <h2><?php the_title(); ?></h2> |
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
| UPDATE `wp_users` SET `user_pass`= MD5('yourpassword') WHERE `user_login`='yourusername'; | |
| eg. Update Admin | |
| UPDATE `wp_users` SET `user_pass`= MD5('yourpassword') WHERE `user_login`='admin'; |
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 echo do_shortcode("[shortcode]"); ?> | |
| // Remember if the shortcode itself contains quote marks, you will need to replace the quotes wrapping the shortcode with single quotes. |
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
| text-xs-center text-sm-center text-md-left text-lg-left text-xl-left |
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
| /* =WordPress Core | |
| -------------------------------------------------------------- */ | |
| .alignnone { | |
| margin: 5px 20px 20px 0; | |
| } | |
| .aligncenter, | |
| div.aligncenter { | |
| display: block; | |
| margin: 5px auto 5px auto; |
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 $posts = Mage::getResourceModel('wordpress/post_collection') | |
| ->addPostTypeFilter('post') | |
| ->setOrderByPostDate() | |
| ->addIsViewableFilter() | |
| ->setPageSize(5) | |
| ->load(); ?> | |
| <?php if (count($posts) > 0): ?> | |
| <ul> | |
| <?php foreach($posts as $post): ?> | |
| <li> |
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
| STEP: 1. To make featured product attribute. | |
| Login to Magento admin area. | |
| Now add attribute from tab | |
| Catalog–>Attribute –> Manage Attribute–>Add New Attribute. | |
| Attribute Properties to be set | |
| Attribute Identifier: featured | |
| Scope: Store View |
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
| 01. Copy the key from the Magento Connect website. | |
| 02. Visit: http://freegento.com/ddl-magento-extension.php | |
| 03. Enter the key from Magento Connect. | |
| 04. Download the compressed file. | |
| 05. Put the compressed file into the root on the ‘.modman’ folder. | |
| 06. Unzip the compressed file in this directory. | |
| 07. Delete the compressed file. | |
| 08. Scour though the files to make sure there is nothing shady in there (find an adult). |
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
| Delete the 'maintainance.flag from the root. |