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
| add_filter( 'upstart_homepage_blog_posts', 'upstart_remove_homepage_blog_posts' ); | |
| function upstart_remove_homepage_blog_posts() { | |
| return 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
| function woo_twitter_script($unique_id,$username,$limit) { | |
| global $woo_options; | |
| ?> | |
| <aside id="connect" class="fix"><div class="social"><ul> | |
| <li><a href="<?php echo esc_url( $woo_options['woo_contact_twitter'] ); ?>" class="twitter" title="Twitter"><?php _e('Follow us on Twitter', 'woothemes'); ?></a></li> | |
| </ul></div></aside> | |
| <?php } // End woo_twitter_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
| <?php | |
| if ( ! defined( 'ABSPATH' ) ) exit; | |
| /** | |
| * Template Name: Contact Form | |
| * | |
| * The contact form page template displays the a | |
| * simple contact form in your website's content area. | |
| * | |
| * @package WooFramework | |
| * @subpackage Template |
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
| add_action( 'wp', 'remove_single_product_sidebar' ); | |
| function remove_single_product_sidebar() { | |
| if( is_product() ) { | |
| remove_action( 'woo_main_after', 'woocommerce_get_sidebar', 10); | |
| } | |
| } | |
| add_filter('loop_shop_columns', 'loop_columns'); | |
| function loop_columns() { |
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
| add_filter('loop_shop_columns', 'loop_columns'); | |
| function loop_columns() { | |
| return 2; // 3 products per row | |
| } |
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
| function title_format($content) { | |
| return '%s'; | |
| } | |
| add_filter('private_title_format', 'title_format'); | |
| add_filter('protected_title_format', 'title_format'); |
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
| /* Body text */ | |
| .entry, .entry p { | |
| font-family: Georgia, Times, serif; | |
| font-size: 13px; | |
| } | |
| /* Post title */ | |
| .post .title { | |
| font: normal normal 22px/24px Georgia, Times, serif; | |
| position: relative; | |
| margin: 0 0 15px; |
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
| body .wooslider .wooslider-direction-nav a { | |
| display: block; | |
| width: 40px; | |
| height: 40px; | |
| padding: 10px 0 0; | |
| top: auto; | |
| bottom: 2em; | |
| opacity: 1; | |
| } | |
| body .wooslider .wooslider-direction-nav a:before { |
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
| add_filter( 'upstart_homepage_contact_twitter', 'upstart_remove_footer_contact_twitter' ); | |
| function upstart_remove_footer_contact_twitter() { | |
| return 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
| add_filter('gettext', 'translate_text'); | |
| add_filter('ngettext', 'translate_text'); | |
| function translate_text($translated) { | |
| $translated = str_ireplace('Search for products', 'Search', $translated); | |
| return $translated; | |
| } |