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 | |
| function hms_testimonials_form( $atts ) { | |
| global $wpdb, $blog_id, $current_user; | |
| get_currentuserinfo(); | |
| $settings = get_option('hms_testimonials'); | |
| $fields = $wpdb->get_results("SELECT * FROM `".$wpdb->prefix."hms_testimonials_cf` WHERE `blog_id` = ".$blog_id." ORDER BY `name` ASC"); |
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
| // Settings in here override those in "Default/Preferences.sublime-settings", and | |
| // are overridden in turn by file type specific settings. | |
| { | |
| "ignored_packages": | |
| [ | |
| "Vintage" | |
| ], | |
| "font_size": 12, | |
| "word_wrap": false, |
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
| from fabric.api import * | |
| import os | |
| import os.path | |
| import datetime | |
| now = datetime.datetime.now() | |
| # Where to save the tar file on the local machine | |
| TAR_FILE = '/Users/kreitje/Desktop/site.tar' |
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 everything below here to the themes functions.php file */ | |
| add_filter( 'the_password_form', 'custom_password_form' ); | |
| function custom_password_form() { | |
| global $post; | |
| $label = 'pwbox-'.( empty( $post->ID ) ? rand() : $post->ID ); | |
| $o = '<form class="protected-post-form" action="' . get_option('siteurl') . '/wp-pass.php" method="post"> | |
| ' . __( "This post is password protected. To view it please enter your password below:" ) . ' | |
| <label for="' . $label . '">' . __( "Password:" ) . ' </label><input name="post_password" id="' . $label . '" type="password" size="20" /><input type="submit" name="Submit" value="' . esc_attr__( "Submit" ) . '" /> |
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
| <html> | |
| <head> | |
| <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> | |
| </head> | |
| <body> | |
| <input class="hms_testimonials_cf_provider" /> | |
| <script type="text/javascript"> | |
| jQuery(document).ready(function() { |
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 | |
| use Illuminate\Console\Command; | |
| use Symfony\Component\Console\Input\InputOption; | |
| use Symfony\Component\Console\Input\InputArgument; | |
| class RefreshCommand extends RemoteSupportCommand { | |
| protected $name = 'mysite:refresh'; | |
| protected $description = 'My description'; |
OlderNewer