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
| <div class="row"> | |
| <div class="col-md-12">My Text</div> | |
| </div> | |
| <div class="row"> | |
| <div class="col-md-4"><img src="url to image"></div> | |
| <div class="col-md-4"><span style="font-family:Arial">text</span></div> | |
| </div> | |
| <div class="row"> | |
| <div class="col-md-4"><img src="url to image"></div> | |
| <div class="col-md-4"><span style="font-family:Times">text</span></div> |
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
| <!-- Replace default Contact Us url in HelpScout Docs with custom url and add a My Account link to the top menu --> | |
| <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> | |
| <script> | |
| $(function() { | |
| $("#contact a,#sbContact,#sbContactMobile, #contactMobile a").attr("href", "https://app.sellwp.co/seedprod/ticket").text('Open a Ticket'); | |
| $( "#mainNav .nav" ).append( "<li><a href='http://www.seedprod.com/members'>My Account</a></li>" ); | |
| }); | |
| </script> | |
| <!-- SeedProd.com custom styles --> |
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
| <!-- 2 Col --> | |
| <div class="row"> | |
| <div class="col-md-6"> | |
| Column 1 | |
| </div> | |
| <div class="col-md-6"> | |
| Column 2 | |
| </div> | |
| </div> |
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
| // Assign payment to users second payments | |
| add_action( 'edd_insert_payment', array( $this, 'insert_payment' ), 10, 2 ); | |
| public function insert_payment($payment, $payment_data ){ | |
| // assign user to payment | |
| $user = get_user_by( 'email', $payment_data['user_email'] ); | |
| update_post_meta( $payment, '_edd_payment_user_id', $user->ID ); | |
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
| <div class="row-fluid"> | |
| <div class="span6">...</div> | |
| <div class="span6">...</div> | |
| </div> | |
| <div class="row-fluid"> | |
| <div class="span4">...</div> | |
| <div class="span4">...</div> | |
| <div class="span4">...</div> |
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
| $product_details = seedprod_get_product_info($slug); | |
| $api_key_details = seedprod_get_api_key_info($api_key); | |
| $version = trim($product_details['version']); | |
| require_once 'amazons3-php/sdk.class.php'; | |
| $s3 = new AmazonS3(); | |
| $download_link = $s3->get_object_url('static.seedprod.com', 'files/'.$slug.'-'.$version.'.zip', '48 hours'); |
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 | |
| /* | |
| * Resize images dynamically using wp built in functions | |
| * Victor Teixeira | |
| * | |
| * php 5.2+ | |
| * | |
| * Exemplo de uso: | |
| * | |
| * <?php |
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
| <input type="text" name="my-theme-options[color]" id="color" /> | |
| <input type='button' class='pickcolor button-secondary' value='Select Color'> | |
| <div id='colorpicker' style='z-index: 100; background:#eee; border:1px solid #ccc; position:absolute; display:none;'></div> | |
| // Color Picker for js file | |
| $('.pickcolor').click( function(e) { | |
| colorPicker = jQuery(this).next('div'); | |
| input = jQuery(this).prev('input'); | |
| $(colorPicker).farbtastic(input); | |
| colorPicker.show(); |
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 | |
| //include("web_services_util.php"); | |
| $client = new SoapClient ( "https://server:8443/ws/services/AssetOperationService?wsdl", array ('trace' => 1 ) ); | |
| $auth = array ('username' => 'username', 'password' => 'password' ); | |
| $id = array ('type' => 'page', 'id' => '261f20de8a4e31910086b7bbfb175968' ); | |
| $params = array ('authentication' => $auth, 'identifier' => $id ); | |
| // publish asset | |
| $reply = $client->publish ( $params ); |
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
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
| <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"> | |
| <!--#START-ROOT-CODE | |
| <?php | |
| $docRoot = '/var/www/html'; | |
| require_once($docRoot .'/scripts/global-pre.php'); | |
| ?> | |
| #END-ROOT-CODE--> | |
| <head> |