This file contains 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
#searchform input.field { | |
background:black; | |
color:white; | |
} | |
#searchform input.submit { | |
background:black; | |
} |
This file contains 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
add_filter('woo_loop_before', 'top_information_box',10,3); | |
function top_information_box() { ?> | |
<?php if ( is_home() ) { ?> | |
<div id="top-info-box"> | |
<div class="author-image"> | |
<img src="http://a0.twimg.com/profile_images/2353997708/fwabgtl1515lrlnucwul.jpeg" /> | |
</div> | |
<h2>Extra Info Box</h2> | |
<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p> |
This file contains 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
wp-content/themes/canvas/functions/js/shortcode-generator/dialog.php |
This file contains 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
add_action('woo_loop_before', 'top_info_box'); | |
function top_info_box() { | |
if ( is_category( 'uncategorized' ) ) { | |
echo do_shortcode('[box type="note"]This is a note box[/box]'); | |
} | |
} |
This file contains 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
.your-css-class { | |
width: 250px; | |
white-space: nowrap; | |
overflow: hidden; | |
text-overflow: ellipsis; | |
-o-text-overflow: ellipsis; /* required for Opera */ | |
-ms-text-overflow: ellipsis; /* required for IE8, allegedly */ | |
-moz-binding: url('ellipsis.xml#ellipsis'); /* for Firefox; details here */ | |
} |
This file contains 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
add_action('woocommerce_single_product_summary','woo_custom_out_of_stock', 35); | |
function woo_custom_out_of_stock() { | |
global $woocommerce, $product; | |
$availability = $product->get_availability(); | |
if ($availability['availability']) : | |
echo '<a style="color:#000" href="http://yourpageurl.com" title="your link title">Reserve Your Place</a>'; | |
endif; | |
} |
This file contains 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
$url = get_permalink( $post->ID ); | |
$html .= '<li id="slide-' . $count . '" class="slide" style="' . $styles . '">' . "\n"; | |
$html .= '' . woo_image( 'width=' . $args['width'] . '&link=img&return=true&noheight=true' ) . '' . "\n"; | |
$html .= '<div class="content">' . "\n"; | |
if ( $woo_options['woo_slider_magazine_title'] == 'true' ) { | |
$html .= '<h2 class="title">' . get_the_title( $post->ID ) . '</h2>'; } | |
if ( $woo_options['woo_slider_magazine_excerpt'] == 'true' ) { | |
$html .= '<div class="excerpt"><p>' . woo_text_trim( get_the_excerpt(), $excerpt_length ) . '</p></div>' . "\n"; |
This file contains 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
@media only screen and (max-width: 768px) { | |
#main-nav li ul.children li {padding-left:20px;} | |
} |