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
| if($('html').hasClass('touch') && $('#menu-main-menu').not().hasClass('open')){ | |
| $('ul#menu-main-menu li.dropdown > a').bind('touchstart ', function(e) { | |
| if($(this).hasClass('touch_active')){ | |
| //go to link | |
| $(this).toggleClass('active touch_active').parent('li').find('ul.sub-menu').toggleClass('drop'); | |
| }else{ | |
| e.preventDefault(); | |
| $(this).toggleClass('active touch_active').parent('li').find('ul.sub-menu').toggleClass('drop'); | |
| } |
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 | |
| /* | |
| Plugin Name: Mindutopia Advanced Text Widget | |
| Plugin URI: http://mindutopia.com | |
| Description: Custom Widget(s) | |
| Author: Mindutopia | |
| Version: 1.0 | |
| Author URI: http://mindutopia.com | |
| */ |
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
| #!/bin/bash | |
| wp plugin install 'Contact form 7'; | |
| wp plugin install 'Regenerate Thumbnails'; | |
| wp plugin install 'Bulk Creator'; | |
| wp plugin activate 'contact-form-7' 'regenerate-thumbnails' 'bulk-creator'; | |
| wp post create /vagrant/html_ipsum.txt --post_type=page --menu_order=1 --post_status=publish --post_title='Home'; | |
| wp post create /vagrant/html_ipsum.txt --post_type=page --menu_order=2 --post_status=publish --post_title='About us'; |
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_posts_table SET post_content = REPLACE( post_content, 'oldurlhere', 'newurlhere' ); | |
| UPDATE wp_posts_table SET guid = REPLACE( guid, 'oldurlhere', 'newurlhere' ); | |
| UPDATE wp_posts_table SET post_excerpt = REPLACE( post_excerpt, 'oldurlhere', 'newurlhere' ); |
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
| <IfModule mod_expires.c> | |
| # Enable expirations | |
| ExpiresActive On | |
| # Default directive | |
| ExpiresDefault "access plus 1 month" | |
| # My favicon | |
| ExpiresByType image/x-icon "access plus 1 year" | |
| # Images | |
| ExpiresByType image/gif "access plus 1 month" | |
| ExpiresByType image/png "access plus 1 month" |
NewerOlder