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
| <script id="replace_usd_for_stg"> | |
| jQuery(document).ready(function($) { | |
| $(function() { | |
| var selector = '.moonray-form-element-cart'; // use an id #if_you_can | |
| var mystring = $(selector).html(); | |
| var output = mystring.replace(/\$/g, "£").replace(/\(USD\)/g, "\(STG\)"); | |
| $(selector).html(output); | |
| }); | |
| }); | |
| </script> |
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 (ww > 768) { | |
| equalheight = function(container){ | |
| var currentTallest = 0, | |
| currentRowStart = 0, | |
| rowDivs = new Array(), | |
| $el, | |
| topPosition = 0; | |
| $(container).each(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
| Order deny,allow | |
| Deny from all | |
| Allow from ##.###.###.### | |
| Allow from ##.###.###.### |
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
| <a href="mailto:[email protected]" class="email-link">email us</a> | |
| <a href="skype:rich.barratt?call" class="skype-link">skype us</a> | |
| <a href="callto:+441212861965" class="skype-call-link">call us with skype</a> | |
| <a href="tel:+441212861965" class="call-us-link">call us</a> | |
| <a href="http://twitter.com/?status=@richer_image">tweet us</a> | |
| <a href="facetime:14085551234">faceTime-us</a> (or href="facetime:[email protected]) | |
| metatags for diabling automatic telephone numbet links on apple and blackberry |
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
| class dna_custom_class extends thesisdna { | |
| public function __construct() { | |
| add_filter('thesis_fonts', array($this, 'add_my_font')); | |
| } | |
| public function add_my_font($fonts) { |
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
| <script> | |
| jQuery(function($){ | |
| $.fn.firstWord = function() { | |
| var text = this.text().trim().split(' '); | |
| var first = text.shift(); | |
| this.html((text.length > 0 ? '<span class="title-highlight">'+ first + '</span> ' : first) + text.join(' ')); | |
| }; | |
| $('h1').firstWord(); | |
| }); | |
| </script> |
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
| $(window).bind("load", function() { | |
| //YOUR CODE | |
| }); |
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
| // Register Custom Taxonomy | |
| function testimonials_taxonomy() { | |
| $labels = array( | |
| 'name' => _x( 'Sectors', 'Taxonomy General Name', 'thesis_dna' ), | |
| 'singular_name' => _x( 'Sector', 'Taxonomy Singular Name', 'thesis_dna' ), | |
| 'menu_name' => __( 'Sector', 'thesis_dna' ), | |
| 'all_items' => __( 'All Sectors', 'thesis_dna' ), | |
| 'parent_item' => __( 'Parent Sector', 'thesis_dna' ), | |
| 'parent_item_colon' => __( 'Parent Sector:', 'thesis_dna' ), |
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
| Append the following to the url: ?modestbranding=1;autohide=1&showinfo=0&controls=1&autoplay=0&rel=0 |
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
| class dna_custom_class extends thesisdna { | |
| public function __construct() { | |
| add_image_size('Letterbox', 460, 258, true ); | |
| add_filter('image_size_names_choose', array($this, 'my_custom_sizes')); | |
| } | |